No IP address when Net cable disconnected?

  • Thread starter Thread starter Peter X
  • Start date Start date
P

Peter X

Hi all,

When my computer is unplugged from the network, it doesn't seem to have
an IP address. Normally I'm using 192.168.1.20 and I run a local web
server for development purposes running a number of virtual webs, e.g.

d1.example.com
d2.example.com
d3.example.com

In my hosts file I've set d1.example.com, d2 and d3 to my own IP address
of 192.168.1.20 and everything works fine *except* when I disconnect
from the network!

I know I can get around this by changing the IP address in the hosts
file to 127.0.0.1 but I'd really like to be able to use a common hosts
file for a number of machines rather than have to maintain each
individually.

Does anyone have any ideas!!

Thanks in advance,

Peter.
 
One thing you can do is disable media sensing. This will cause the stack to
stay working without the network card plugged in.

239924 How to Disable Media Sense for TCP/IP in Windows
http://support.microsoft.com/?id=239924

--

Best regards,
Brian Oakes, MCSE
Microsoft Product Support
Windows 2000 Server Networking Team

This posting is provided "AS IS" with no warranties and confers no rights.
Please reply to the newsgroup so that others may benefit.
 
Back
Top