HostedNetwork/Internet Connection Sharing not assigning IP addresses

1

2

I currently have internet via a Ethernet cable, and I would like to share that internet connection via a WiFi card. I ran the following commands to setup a WiFi hotspot, and then shared my Ethernet connection to the newly created virtual network adapter.

netsh wlan set hostednetwork mode=allow ssid=wifi key=12345678
netsh wlan start hostednetwork

But when I attempt to connect from another computer, the network is 'unidentified' and I have 'limited access'. When I ran ipconfig, my IP was '169.254.x.x'. It seems that the hotspot wasn't assigning any IP address and that the DHCP wasn't working.

How would I be able to fix this?

Thanks.

Chris Ryder

Posted 2013-12-10T09:37:32.587

Reputation: 11

I have the same issue. And all the solutions over here: http://superuser.com/q/804227/109803 don't help

– Gabriel Fair – 2015-02-17T01:14:10.780

3

Possible duplicate of Internet Connection Sharing with Wireless Hosted Network (WHN) is not providing a DNS server for WHN clients

– David d C e Freitas – 2017-09-30T08:25:43.030

This Q is not a dup. This question is asking why an IP address isn't getting assigned. The proposed dup deals with a DNS server not being propagated. – I say Reinstate Monica – 2017-10-04T00:22:29.173

...and that the DHCP was working. --- I think you meant that the DHCP server was not running/working on the connection sharing computer. – pabouk – 2013-12-10T10:37:09.067

In your place I used fixips on the localnet until I have a better router as a windows. – peterh - Reinstate Monica – 2013-12-10T14:28:26.577

Answers

0

There are some more steps that I find are always needed.

Mainly,

  • Start the hostednetwork as you have
  • go to the Properties of the Internet Connection which you want to share with others (e.g. sharing your wifi connection under another name)
  • -> Advanced -> Sharing
  • Then allow sharing of the connection by choosing the hosted network to share it with, which is called Local Area Connection *4 for example.

More info: Internet Connection Sharing with Wireless Hosted Network (WHN) is not providing a DNS server for WHN clients

David d C e Freitas

Posted 2013-12-10T09:37:32.587

Reputation: 3 498