Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two Default Gateways

Status
Not open for further replies.

kozlow

MIS
Mar 3, 2003
326
US
My server is showing two default gateways:

Routing tables
Destination Gateway Flags Refs Use If PMTU Exp Groups

Route Tree for Protocol Family 2 (Internet):
default 10.132.100.1 UGc 0 7 en2 - - - =>
default 10.132.100.13 UGc 0 7 en2 - - -

What is the best way to get rid of the 100.1?
 

check in ODM in inet0:

lsattr -El inet0|grep ^route|grep -w 10.132.100.1|awk '{print $2}'

and the remove it using chdev:

chdev -l inet0 -a delroute="here_insert_output_of_first_command"


btw. isn't the prbolem?:
IZ69913 MKTCPIP DOES NOT DELETE OLD DEFAULT ROUTE
 
Jumping on kozlow's wagon ;-)

I have a similar problem, but the two default gateways being created are for different adapters.

As part of the HACMP start process, a mkdev -l is run, would this not recreate both gateways even after the incorrect gateway has been deleted ?

thanks

madra


I only ask stupid questions because I'm thick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top