w*r 发帖数: 2421 | 2 还是自己解决的号,这里靠不住啊,各位玩linux都玩什么方向的???
solution:
1. static router, use the ifroute-ethx file. man route(5), any text after
the 5th parameter will be passed as command text to ip route command
SLES 10 sp3 /etc/sysconfig/network/ifroute-eth6
10.30.239.0/24 0.0.0.0 - eth6 - via 10.30.239.122 table eth6table
2. ip rule, use the ifcfg-ethx file, adding POST_UP_SCRPT/PRE_DOWN_SCRIPT
argument to insert ip rule command. |
|