[CentOS] routing multiple network cards on a single subnet

Barry Brimer lists at brimer.org
Wed Jan 20 18:09:26 UTC 2010

>> Incidentally, it is my current understanding that anything that I do
>> with an "ip route" command will go away on a reboot, therefore if I
>> somehow screw up the routing on this box completely all I have to do is
>> reboot it and I'll be back to what I had before.  Which is not a bad
>> thing at the moment.  Once I have this nailed down should I put the "ip
>> route" commands into /etc/rc.local?  Or is there a better place?

Use /etc/sysconfig/network/route-<interface> file(s).

More information about the CentOS mailing list