|
|

楼主 |
发表于 2004-12-24 14:42:21
|
显示全部楼层
已经解决了^_^
烦了俺挺久的
ip rule add from (YourFirstIP) to 192.168.0.0/24 table 1
ip rule add from (YourSecondIP) to 192.168.0.0/24 table 2
然后我们再添加路由表,命令如下
ip route add to 192.168.0.0/24 dev eth0 scope link protocol kernel src (YourFirstIP) table 1
ip route add to 192.168.0.0/24 dev eth1 scope link protocol kernel src (YourSecondIP) table 2 |
|