Blog Entry
I have no idea how to explain my environment... It's multi-homed it works in NetWare, breaks in Linux.
Similar to this: http://lartc.org/howto/lartc.rpdb.multiple-links.html
What I did.
1. vi /etc/iproute2/rt_tables
added: 250 eth0
added: 251 eth1
2. vi /etc/sysconfig/network/my-routes
3. added the following lines in the my-routes file
#| /bin/bash
ip route add 192.168.0.0/16 dev eth0 src 192.168.1.5 table eth0
ip route add 10.0.0.0/8 dev eth1 src 10.0.1.80 table eth1
ip route add default via 192.168.0.3 table eth0
ip route add default via 10.0.1.1 table eth1
ip route add 192.168.0.0/16 dev eth0 src 192.168.1.5
ip route add 10.0.0.0/8 dev eth1 src 10.0.1.80
ip route add default via 192.168.0.3
ip rule add from 192.168.1.5 table eth0
ip rule add from 10.0.1.80 table eth1
4. chmod 740 /etc/sysconfig/network/my-routes
5. the last thing I did was add this line to my /etc/crontab file, I'm sure there is a better way but I'm tired:
@boot root /etc/sysconfig/network/my-routes
6. rebooted the box and tested...
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- dbenjamin's blog
- Be the first to comment! To leave a comment you need to Login or Register
- 5752 reads


0