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!

multiple default gateway

Status
Not open for further replies.

frankli

Technical User
Apr 6, 2005
44
CA
Hello all,

There are two default gateways on my host, the one 10.1.1.1 is the one I want to keep, the other one 10.1.100.23, I need to get rid of it, somehow, after manaualy deleted it
route delete default 10.1.100.23
it will be brought up automatically after like 1 to 2 mins, anybody can suggest where should I check the configuration? Thanks.

Regards,

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.1.0.0 10.1.12.164 U 1 31 hme0
10.1.0.0 10.1.12.165 U 1 0 hme0:1
224.0.0.0 10.1.12.164 U 1 0 hme0
default 10.1.1.1 UG 1 1
default 10.1.100.23 UG 1 0 hme0
127.0.0.1 127.0.0.1 UH 6 6346 lo0
 
Hi,

/etc/defaultrouter only has one entry
10.1.1.1

where is the configuration that can enable add default gateway automatically, I checked start up scripts but nothing is there, also nothing special in /etc/inittab. Thanks.

Regards,

 
You can add a script to /etc/rc2.d... Check out this post: thread60-1070776
 
Hi I need to disable it somewhere, all the startup scripts look good to me. Thanks.

Regards,
 
networks file seems to be normal

#ident "@(#)networks 1.4 92/07/14 SMI" /* SVr4.0 1.1 */
#
# The networks file associates Internet Protocol (IP) network numbers
# with network names. The format of this file is:
#
# network-name network-number nicnames . . .
#

#
# The loopback network is used only for intra-machine communication
#
loopback 127

#
# Internet networks
#
arpanet 10 arpa # Historical
 
Nope! I still have no clue on how to troubleshoot this issue.

Regards,

-frank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top