Bash on Ubuntu on Windows - No network access - Microsoft Community


hi,

i've installed bash on ubuntu on windows can not access network.  of posts i've read similar issues suggest issues with /etc/resolv.conf , mine correct.  automatically generated @ boot time , has correct values.  however, can not ping ip addresses (so not using dns).  not have network access, ping example.

the version of ubuntu installed 16.04.1

~$ lsb_release -a

no lsb modules available.
distributor id: ubuntu
description:    ubuntu 16.04.1 lts
release:        16.04
codename:       xenial

looking @ network interface (with ifconfig -a) appears correct.

eth0      link encap:ethernet  hwaddr 94:57:a5:##:##:##
          inet addr:172.16.8.163  bcast:172.16.15.255  mask:255.255.248.0
          inet6 addr: fe80::1d8a:####:####:####/64 scope:global
          broadcast running multicast  mtu:1500  metric:1
          rx packets:0 errors:0 dropped:0 overruns:0 frame:0
          tx packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          rx bytes:0 (0.0 b)  tx bytes:0 (0.0 b)

and default gateway etc. seems fine also.

$ ip route | grep default
none default via 172.16.10.102 dev eth0  proto none  metric 0

i can ping eth0 interface nothing else.

 

$ ping 172.16.8.163
ping 172.16.8.163 (172.16.8.163) 56(84) bytes of data.
64 bytes 172.16.8.163: icmp_seq=1 ttl=128 time=0.248 ms
64 bytes 172.16.8.163: icmp_seq=2 ttl=128 time=0.463 ms
^c
--- 172.16.8.163 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.248/0.355/0.463/0.109 ms

but when ping computer on network nothing returns, hangs, doesn't time out.

$ ping 172.16.8.164
ping 172.16.8.164 (172.16.8.164) 56(84) bytes of data.

on host computer in powershell, ipconfig /all display following network configurations:

ethernet adapter ethernet:

   connection-specific dns suffix  . : example.local
   description . . . . . . . . . . . : realtek pcie gbe family controller
   physical address. . . . . . . . . : 94-57-a5-##-##-##
   dhcp enabled. . . . . . . . . . . : yes
   autoconfiguration enabled . . . . : yes
   link-local ipv6 address . . . . . : fe80::1d8a:####:####:####%16(preferred)
   ipv4 address. . . . . . . . . . . : 172.16.8.163(preferred)
   subnet mask . . . . . . . . . . . : 255.255.248.0
   lease obtained. . . . . . . . . . : 12 april 2017 11:56:55
   lease expires . . . . . . . . . . : 12 april 2017 19:56:55
   default gateway . . . . . . . . . : 172.16.10.102
   dhcp server . . . . . . . . . . . : 172.16.10.114
   dhcpv6 iaid . . . . . . . . . . . : 60053413
   dhcpv6 client duid. . . . . . . . : 00-01-00-01-1f-3b-d8-ea-##-##-##-##-##-##
   dns servers . . . . . . . . . . . : 172.16.10.107
                                       172.16.10.114
   netbios on tcpip. . . . . . . . : enabled

and within powershell ping works expected.

c:\users> ping 172.16.8.164

pinging 172.16.8.164 32 bytes of data:
reply 172.16.8.164: bytes=32 time=1ms ttl=128
reply 172.16.8.164: bytes=32 time<1ms ttl=128
reply 172.16.8.164: bytes=32 time=1ms ttl=128
reply 172.16.8.164: bytes=32 time=1ms ttl=128

ping statistics 172.16.8.164:
    packets: sent = 4, received = 4, lost = 0 (0% loss),
approximate round trip times in milli-seconds:
    minimum = 0ms, maximum = 1ms, average = 0ms

any hints @ welcome.  have uninstalled lxrun /uninstall /full , reinstalled lxrun /install 3 times , nothing help.  thanks.

hi,

to best support issue, suggest post query in 1 of our support site.

feel free contact if need further assistance.

regards.




Windows Insider Program / Windows Insider Preview / Web and networks / PC



Comments

Popular posts from this blog

Windows 10 does not have any of my previous Windows 7 email address. - Microsoft Community