Win XP Pro DHCP client dropping default gateways

  • Thread starter Thread starter Allen Maloy
  • Start date Start date
A

Allen Maloy

I have a fresh install of Win XP Pro as a member of a Win2k
Domain that is running DHCP. The gateway options are:
192.168.1.3, 192.168.1.2, 192.168.1.1

Anyway, things will be running fine when all of a sudden, I
get DNS errors in Internet explorer. Goto a command prompt
and ipconfig /all and there is only one gateway
listed...192.168.1.1, the other 2 have just been dropped.
Do a ipconfig /renew and all is well till the next time it
happens.

The client lease is 4 hours but this has no effect on when
this gateway change happens.

Any ideas please?
 
Me too :-(

I've been having exactly the same problem over the last couple of weeks. I have 2 gateways to the internet and a web proxy. I notice occasionally that ssl connections fail and skype etc show as disconnected.

I am not using DHCP for this machine, although I do have a DHCP server on my network.

I have recently noticed that my gateways have been dropping off. I am actually in that state now and this is what my ipconfig tells me:

Code:
 Ethernet adapter Local Area Connection:
    
            Connection-specific DNS Suffix  . : clovernet
            IP Address. . . . . . . . . . . . : 192.168.205.190
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . :
    
    Ethernet adapter Local Area Connection 5:
    
            Connection-specific DNS Suffix  . :
            IP Address. . . . . . . . . . . . : 10.0.0.12
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 192.168.205.254
    
    Ethernet adapter Local Area Connection 6:
    
            Connection-specific DNS Suffix  . :
            IP Address. . . . . . . . . . . . : 10.0.0.11
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 192.168.205.254
Those 2 10.xx addresses are there for tunnels I set up using ssh and are not particularly relevant other than I have not seen them lose their gateways.

To correct this I go into my configuration settings and change *something* in the tcp/ip settings (I change the interface metric from 1 to 2, or back to 1) and then the relevant part of the IPCONFIG output changes to this:

Code:
 Ethernet adapter Local Area Connection:
    
            Connection-specific DNS Suffix  . : clovernet
            IP Address. . . . . . . . . . . . : 192.168.205.190
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 192.168.205.254
                                                192.168.205.253
The gateways don't drop off all at once, I have noticed that sometimes I have only a single gateway set. Obviously things still work in this case until it too drops off.

Code:
Ethernet adapter Local Area Connection:
 
 		Connection-specific DNS Suffix  . : clovernet
 		IP Address. . . . . . . . . . . . : 192.168.205.190
 		Subnet Mask . . . . . . . . . . . : 255.255.255.0
 		Default Gateway . . . . . . . . . : 192.168.205.253
I lose gateways several times per day, so it's not something I would have failed to notice happening if it was not new.

Yeah, I don't know why it's happeneing either and I can't figure a way to automate the magic to reset the gateways (I note that they still appear to be set if I do a ROUTE PRINT, so manually resetting the gateways using ROUTE does not appear to be a solution, however I will give that a go next time I lose both gateways)

Here are the relevant parts of my routing table

Code:
 Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0  192.168.205.253  192.168.205.190      2
              0.0.0.0          0.0.0.0  192.168.205.254       10.0.0.12       9998
              0.0.0.0          0.0.0.0  192.168.205.254       10.0.0.11       9999
              0.0.0.0          0.0.0.0  192.168.205.254  192.168.205.190      1
    ...
    Default Gateway:   192.168.205.254
    ===========================================================================
    Persistent Routes:
      Network Address          Netmask  Gateway Address  Metric
          192.168.2.0    255.255.255.0  192.168.205.252       1

Maybe I should add the gateways as persistent routes???
 
Two other things I should add:

1) I'm not part of a domain
2) IPCONFIG /RENEW doesn't help me (for the obvious reason)
 
Just dropped one...

I've just noticed that I've lost one of the gateways.

Code:
Ethernet adapter Local Area Connection:
 
 		Connection-specific DNS Suffix  . : clovernet
 		IP Address. . . . . . . . . . . . : 192.168.205.190
 		Subnet Mask . . . . . . . . . . . : 255.255.255.0
 		Default Gateway . . . . . . . . . : 192.168.205.253

And the ROUTE PRINT shows...

Code:
Active Routes:
 Network Destination		Netmask		  Gateway	   Interface  Metric
 		  0.0.0.0		  0.0.0.0  192.168.205.253  192.168.205.190	  2
 		  0.0.0.0		  0.0.0.0  192.168.205.254	   10.0.0.12	   9998
 		  0.0.0.0		  0.0.0.0  192.168.205.254	   10.0.0.11	   9999
 		  0.0.0.0		  0.0.0.0  192.168.205.254  192.168.205.190	  1
 ...
 Default Gateway:   192.168.205.253
 ===========================================================================
 Persistent Routes:
   Network Address		  Netmask  Gateway Address  Metric
 	  192.168.2.0	255.255.255.0  192.168.205.252	   1

So no significant change in the routing table even though IPCONFIG shows a change.

I won't try to fix this until it fails completely.
 
And now I've lost the other one :-(

ROUTE PRINT is essentially unchanged (although I do note that the default gateway is now back to 192.168.205.254.

I was able to fix the problem by issuing these commands:

Code:
route delete 0.0.0.0
 route add 0.0.0.0 mask 0.0.0.0 192.168.205.254 metric 1
 route add 0.0.0.0 mask 0.0.0.0 192.168.205.253 metric 2

when this happens again I'm going to see it making them persistent routes helps at all.

I realise it's a workaround, but I want a workaround as this is driving me up the wall very rapidly.
 
Back
Top