Korenix | Network Feature
41
Then run the ser2net program:
ser2net &
For more information, please see section
7-7
.
4-19
fastpath
Service name
fastpath
Description
Hardware accelerated packet flow path
Config files
Start file
Start command
fastpath start
Stop command
fastpath stop
Default
down
Usage:
start start fastpath
stop stop fastpath
-L list fastpath rules
-A add fastpath rule [options]
-D rulenum delete fastpath rule rulenum
Options:
-s source ip address
-d destination ip address
Example:
Start fastpath:
# fastpath start
FastPath auto ipv4 routing start ...
Stop fastpath:
# fastpath stop
FastPath auto ipv4 routing stop ...
Add a static route in fastpath with source ip address 192.168.1.1 and
destination address 192.168.10.101:
# fastpath -A -s 192.168.1.1 -d 192.168.10.101
List current fastpath rules:
# fastpath
–L
[root@JetBox 9530 /etc]# fastpath -L
FastPath Show...
rulenum Lan IP Wan IP
0 192.168.10.101 192.168.1.1
Remove a fastpath rule by rule number:
# fastpath -D 0