need APIPA to work

G

Guest

My gateway tablet notebook won't assign an IP address when no network
connection is present. APIPA (Automatic Private IP Adressing) didn't work.
I had a network drive mapped to a shared folder on c: drive, and it won't
connect if no ip address is available.

Steps tried:
1. assigning Static ip address to wired NIC. Didn't work. IPCONFIG show
Media Disconnected.
2. assigning Alternative IP address. Didn't work. Media Disconnected.
3. regedit, add DisableDHCPMediaSense value 1 per Microsoft article. It
works by remembering the last IP address when it was connected. This works
for my network share problem, but it prevents me from connecting to wireless
connections in hotels. I deleted this value.
4. regedit, add AutoIPConfigurationEnabled to apply to the whole
computer(HKLM\system\currentcontrolset\service\tcpip\parameters\, value 1(the
default value if this key was not present). Didn't work. Still show Media
Disconnected.

Is there anything else I can do?
 
G

Guest

I get Media Disconnected when I intentionally pulled the cable and disabled
wireless NIC. Usually you will get assigned a 169.254.x.x IP address when
this happens, but it didn't in my case.

The NIC connections works flawlessly when I plug in the cables or enable the
wireless connection. That's not the cause of my concern.

I wanted to be assigned a 169.254.x.x IP address by APIPA when there are no
network connection available at all.
 
G

Guest

That is the way the APIPA address is supposed to work. If your NIC senses a
network, but a DHCP server has not responded after 3 Discover packets are
sent by your computer, then it receives the 169.254.x.x address. If it
senses no network, it does not send these packets and the APIPA does not come
into play.

So, that is the reason you are not getting it when you disconnect your
cable. There are several articles written about it, but here is one for you
to read:

http://www.petri.co.il/what's_apipa.htm

I hope that clears some things up! :)

FE
Wm P
MVP Microsoft Networking
MCP | CCNA | A+
 
K

Kerry Brown

yecheng said:
My gateway tablet notebook won't assign an IP address when no network
connection is present. APIPA (Automatic Private IP Adressing) didn't
work. I had a network drive mapped to a shared folder on c: drive,
and it won't connect if no ip address is available.

Steps tried:
1. assigning Static ip address to wired NIC. Didn't work. IPCONFIG
show Media Disconnected.
2. assigning Alternative IP address. Didn't work. Media
Disconnected.
3. regedit, add DisableDHCPMediaSense value 1 per Microsoft article.
It works by remembering the last IP address when it was connected.
This works for my network share problem, but it prevents me from
connecting to wireless connections in hotels. I deleted this value.
4. regedit, add AutoIPConfigurationEnabled to apply to the whole
computer(HKLM\system\currentcontrolset\service\tcpip\parameters\,
value 1(the default value if this key was not present). Didn't work.
Still show Media Disconnected.

Is there anything else I can do?

Use the subst command instead of mapping a drive. You can run it from a
logon script.

subst z: c:\share_name

will do the same thing as mapping z: to c:\share_name

Kerry
 
G

Guest

Thanks, this does the trick.

Kerry Brown said:
Use the subst command instead of mapping a drive. You can run it from a
logon script.

subst z: c:\share_name

will do the same thing as mapping z: to c:\share_name

Kerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top