Displaying 1 result from an estimated 1 matches for "ipaddressofonegateway".
2006 Oct 05
0
Re: LARTC Digest, Vol 20, Issue 4
...ble to do. I have done it.
here I have mentioned eth0 and eth1
eth0 is connected to one link (link1)
eth1 is connected to other link (link2) , via this link, web traffic will be
routed.
echo 210 link1 >> /etc/iproute2/rt_tables
echo 211 link2 >> /etc/iproute2/rt_tables
ip route add ipaddressofonegateway dev eth0 table link1
ip route add default via ipaddressofonegateway dev eth0 table link1
ip route add ipaddressoftheohtergateway dev eth1 table link2
ip route add default via ipaddressoftheohtergateway dev eth1 table link2
iptables -t mangle -A OUTPUT -p tcp --dport 80 -j MARK --set-mark 1
ip ru...