elDivino
2004-09-16, 07:42 AM CDT
Hi
I have some problems with static routes in fedora core 2
I've read this: http://www.akadia.com/services/redhat_static_routes.html and saw that I have to create a route-eth1 file
I wanna use two ISP with loadbalacing
but I don't know how the syntax in route-eth1 should be.
On the website above-mentioned is something written as example
192.168.0.0/24 via 152.3.182.5 and so on...
How should my file look like correcty, i want to include this commands:
------------------------------
ip route add 80.254.169.96 dev eth1 src 80.254.169.100 table Green
ip route add default via 80.254.169.97 table Green
ip route add 62.2.111.128 dev eth1 src 62.2.111.132 table Cablecom
ip route add default via 62.2.111.129 table Cablecom
ip route add 80.254.169.96 dev eth1 src 80.254.169.100
ip route add 62.2.111.128 dev eth1 src 62.2.111.132
#ip route add default via 80.254.169.97
ip route add default scope global nexthop via 80.254.169.97 dev eth1 weight 1 nexthop via 62.2.111.129 dev eth1 weight 1
ip rule add from 80.254.169.100 table Green
ip rule add from 62.2.111.132 table Cablecom
ip route flush cache
-------
thank you guys for the support
Thomas
switzerland
I have some problems with static routes in fedora core 2
I've read this: http://www.akadia.com/services/redhat_static_routes.html and saw that I have to create a route-eth1 file
I wanna use two ISP with loadbalacing
but I don't know how the syntax in route-eth1 should be.
On the website above-mentioned is something written as example
192.168.0.0/24 via 152.3.182.5 and so on...
How should my file look like correcty, i want to include this commands:
------------------------------
ip route add 80.254.169.96 dev eth1 src 80.254.169.100 table Green
ip route add default via 80.254.169.97 table Green
ip route add 62.2.111.128 dev eth1 src 62.2.111.132 table Cablecom
ip route add default via 62.2.111.129 table Cablecom
ip route add 80.254.169.96 dev eth1 src 80.254.169.100
ip route add 62.2.111.128 dev eth1 src 62.2.111.132
#ip route add default via 80.254.169.97
ip route add default scope global nexthop via 80.254.169.97 dev eth1 weight 1 nexthop via 62.2.111.129 dev eth1 weight 1
ip rule add from 80.254.169.100 table Green
ip rule add from 62.2.111.132 table Cablecom
ip route flush cache
-------
thank you guys for the support
Thomas
switzerland