Question Locked

Default Gateway disappearing in Dual NIC XP setup! HELP...

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

To all SysAdmin/Network Gurus...

On several DUAL NIC systems running WINXP SP2 (static IP configuration - not DHCP), the Default Gateway on the public NIC #1 gets disappeared intermittently causing network drops.

Fix: A right-click and repair of the NIC #1 would bring back the Default Gateway to its initial value and restore the public network connection. But then it would disappear again after some time (hours or days).

IPCONFIG /all shows:

NIC #1: public
IP Address: 127.235.232.161
Subnet Mask: 255.255.255.0
Default Gateway: (missing)
DNS Servers: 127.235.109.125
WINS Server: 127.235.109.112

NIC #2: internal
IP Address: 192.168.100.100
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.100.100

What I have tried:
==================
After doing some researches here on this forum and others, I found that someone said that having two different Default Gateway values on a DUAL NIC system is a no-no, I then reconfigured the Default Gateway on the internal NIC #2 to BLANK.

Then to my surprise, the Default Gateway on the public NIC #1 automatically regains its initial value without any repair necessary. Since then, no Default Gateway disappearance observed for the past few days (systems look quite stable).

IPCONFIG /all shows:

NIC #1: public
IP Address: 127.235.232.161
Subnet Mask: 255.255.255.0
Default Gateway: 127.235.232.254
DNS Servers: 127.235.109.125
WINS Server: 127.235.109.112

NIC #2: internal
IP Address: 192.168.100.100
Subnet Mask: 255.255.255.0
Default Gateway: (left BLANK)

Questions to the floor:
======================
I don't have much knowledge about networking so I still have some un-answered questions:

1 - Would two different Default Gateway cause conflicts in the TCP/IP stack in XP that would result in the disappearance of the one on NIC #1 (public)?

2 - When the Default Gateway disappears, it is only observed on NIC #1 (public) but not on NIC #2 (internal) - Why?

All feedbacks are greatly appreciated...
John

5 replies

by churdoo

The default gateway is expected to be a router, or the "next hop." The Default Gateway setting essentially says "if you're sending to an IP outside of your local network, send to me and I'll figure out where it goes."

By having multiple default gateways, there's confusion in that your networking has no way of knowing which of the default gateways to use for traffic that doesn't belong to either of your local networks.

Relative to your disappearing gateway problem, although I've seen windows squawk about having multiple gateways, I've never seen it delete the gw on its own. However, if after eliminating the gateway on NIC2, the disappearing gateway problem, ummmm, disappears, well I guess that answers the question, doesn't it?

The only reason I can think for the disappearing gw to be consistently from NIC1, is the ordering of the NICs in the Network Connections / Advanced / Advanced Settings / Adapters and Bindings tab. My sense is that if you look at said dialogue on this machine, you'll find that the PUBLIC NIC is a lower order than the other NIC. Possibly by changing the NIC ordering in this dialogue, the disappearing gw problem would have moved to NIC2.

by cg it

Usually in a non server platform such as Vista/XP/W2K, the Internet Connection Sharing Wizard sets up the computer to be a quasi router so that one of the NICs connects other computers on the LAN to it, and the other NIC is the WAN port.

Normally, bear in mind I said normally, you don't have 2 default gateways [default WAN interfaces] for the reasons Churdoo said. However you can have multiple gateways for traffic in a multi-homed[NIC] environment. usually multiple gateways are specified by static address mapping.

Note: default gateway is the gateway of last resort so that if there is no other way in which the "router" can send traffic not destined for the LAN, that traffic is sent to that interface. If you specify 2 default gateways, Windows becomes confused and will "run on the mambo"...

by john.rogers

I have four XP boxes with 3 Ethernet connections each. One Internet, two Intranet. One Intranet goes through a router, the other Intranet only uses switches. The Internet uses a rounter. Of the four PCs, only one has the disappearing Gateway. What's interesting is using ipconfig the gateway is blank, but using the properties TCP/IP the gatway is shown. If I change it, the new one shows up in the ipconfig. Also, all three have gateways listed for each network.
Also, the Internet one disappearing is NIC1. All IPs are static. I will further investigate this comparing the working systems with the faulty one.

This discussion is closed to new replies.