primary route issue

From: Anoop Rajkumar (anooprajkumar@yahoo.com)
Date: Tue Aug 06 2002 - 12:31:29 EDT


Hi Gurus,

I have two machines named pg2.sto2.se and pg1.sto2.se.
Both the machines have two IP addresses and these IP
addresses are in different subnet (On a vlan from
different Catalyst 3550 switch).Because of some
problem one catalyst switch (hme0 ip) went down and
now any packet can not go out from hme0.A strange
thing i noticed that route for hme0 still exists in
routing table. But if i shutdown the interface using
ifconfig command that route gets deleted. Can some one
suggest a way that these routing tables get updated as
soon as one interface is not available (either because
of switch failure or cable is removed). I have also
seen that this happens only when hme0 which is primary
route goes down. If hme1 goes down everything works
because in routing table the first entry is of hme0
route. Here are all the configuration files from one
of the machines.

bash-2.03# ifconfig -a

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4>
mtu 8232 index 1
inet 127.0.0.1 netmask ff000000

hme0:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 2
inet 195.54.105.6 netmask fffffff8 broadcast
195.54.105.7
ether 8:0:20:ea:8c:9a

hme1:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 3
inet 195.54.105.38 netmask fffffff8 broadcast
195.54.105.39
ether 8:0:20:ea:8c:9a

bash-2.03# netstat -rn

 

Routing Table: IPv4

  Destination Gateway Flags Ref
Use Interface

-------------------- -------------------- ----- -----
------ ---------

195.54.105.0 195.54.105.6 U 1
19862 hme0

195.54.105.32 195.54.105.38 U 1
 3845 hme1

195.54.105.16 195.54.105.1 UG 1
    2

195.54.105.48 195.54.105.33 UG 1
    2

195.54.105.112 195.54.105.1 UG 1
    0

195.54.105.144 195.54.105.33 UG 1
    0

195.54.105.96 195.54.105.1 UG 1
    0

195.54.105.128 195.54.105.33 UG 1
    0

default 195.54.105.1 UG 1
 1085

default 195.54.105.33 UG 1
 1084

127.0.0.1 127.0.0.1 UH 23
71811 lo0

bash-2.03#

 

bash-2.03# cat /etc/defaultrouter

195.54.105.1

195.54.105.33

Thanks for your help ( I will summarize)

-Anoop
Yahoo! Health - Feel better, live better
http://health.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:43 EDT