Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In linux FC9, setting eth0 has default, ping -I eth1 IP address is working fine. In FC14 tehe same does not work. The above check is done to test the connectivity from that interface so that if the default link connectivity goes down, the default gateway will be changed. Please help me.

Regards, Ganesh.

share|improve this question
add comment

1 Answer

You need to set up IP multihoming.

Do this:

create secondary routing table:

echo -e "200\tuplink2" >> /etc/iproute2/rt_tables

add second default route to this table

echo "default table uplink2 via GA.TE.WA.Y2" > /etc/sysconfig/network-scripts/route-eth1

create a rule to put traffic source with eth1 ip to uplink2 routing table:

echo "from IP.AD.DR.ES table uplink2" > /etc/sysconfig/network-scripts/rule-eth1

restart networking:

service network restart

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.