PDA

View Full Version : Static Routes in fedocra core 2


elDivino
16th September 2004, 02:42 PM
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

Dog-One
21st September 2004, 03:57 AM
Here (http://www.samag.com/documents/s=1824/sam0201h/0201h.htm) is some info that I found. Some stuff here. (http://cvs.sourceforge.net/viewcvs.py/leaf/doc/howto/LRP-Load-Balancing-HOWTO.html?rev=1.2)

HTH

Chittagong - Swaziland - Padang Travel Photos -