Link to home
Start Free TrialLog in
Avatar of Member_2_978575
Member_2_978575

asked on

macos sierra "Destination Net Unreachable"

Hey guys,

I have a weird problem. I have a Early 2015 Macbook Pro running macOS Sierra 10.12.2. I uninstalled a VPN today and after that uninstall, everything went to pot. Now my Macbook Pro gets an ip address from my router that is valid and everything looks normal. However, it cannot reach the internet. In fact, it cannot even ping the gateway router. In fact, it can't ping anything other than localhost and the ip address it was assigned. Everything else gets a "Destination Net Unreachable".

I have booted into recovery mode and reinstalled macOS Sierra and it still exhibits the same behaviour.

My next step, a drastic one, is to wipe the drive and reinstall clean 10.12.2.

Before I do that, are there any steps I can take?

I've checked the routing tables and they look correct.

I've done several route -n flush[es] and then downed the en0 and then up[ped] it with ifconfig.
I've plugged in a thunderbolt Ethernet adapter and it exhibits the same behaviour.
Strangely, a traceroute to 8.8.8.8 yields this:

traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1   google-public-dns-a.google.com (8.8.8.8)   0.729 ms !N  0.0.69 ms  !N   0.042 ms !N

It appears not to go through my gateway router at all?

On this mac (an older Mid 2012 Macbook Air connected to the same network, I get this

traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
 1  * * *
 2  dtr01rochmn-tge-0-2-0-0.roch.mn.charter.com (96.34.27.185)  22.049 ms  21.299 ms  18.737 ms
 3  crr01rochmn-bue-3.roch.mn.charter.com (96.34.25.12)  24.729 ms  18.567 ms  24.158 ms
 4  crr01stcdmn-bue-6.stcd.mn.charter.com (96.34.25.0)  23.815 ms  21.587 ms  29.030 ms
 5  bbr02slidla-tge-0-1-0-6.slid.la.charter.com (96.34.1.188)  29.302 ms  24.442 ms  23.630 ms
 6  bbr02chcgil-bue-1.chcg.il.charter.com (96.34.1.149)  36.432 ms  39.931 ms  121.984 ms
 7  prr01chcgil-bue-4.chcg.il.charter.com (96.34.3.11)  39.475 ms  38.386 ms  40.978 ms
 8  96-34-152-30.static.unas.mo.charter.com (96.34.152.30)  38.788 ms  44.108 ms  51.188 ms
 9  66.249.95.231 (66.249.95.231)  41.877 ms  43.157 ms
    74.125.37.199 (74.125.37.199)  41.416 ms
10  209.85.143.109 (209.85.143.109)  37.204 ms
    209.85.254.240 (209.85.254.240)  46.844 ms
    72.14.237.130 (72.14.237.130)  45.953 ms
11  209.85.247.5 (209.85.247.5)  59.147 ms
    209.85.143.103 (209.85.143.103)  55.791 ms
    209.85.247.5 (209.85.247.5)  60.100 ms
12  216.239.50.3 (216.239.50.3)  49.372 ms
    216.239.46.191 (216.239.46.191)  50.368 ms
    72.14.233.79 (72.14.233.79)  65.098 ms
13  * * *
14  google-public-dns-a.google.com (8.8.8.8)  53.653 ms  51.332 ms  47.505 ms

the netstat -nr shows the same routing table as my Macbook Air.

I've also tried removing the SystemConfiguration folder from /Library and removing most of the airport and network related plist files from /Users/<me>/Library/Preferences and finally also doing a reset by booting into safe mode terminal and removing the .AppleSetupDone from /var/db all of which is, as you might have guessed, in vain.

I'm at a loss. I can only guess that something has messed up some file somewhere during the uninstall.

Please and thanks in advance.
SOLUTION
Avatar of Ken Boone
Ken Boone
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Member_2_978575
Member_2_978575

ASKER

Hey Ken, thanks for the response.

I have indeed tried this. The ip address and netmask and gateway are all correct for the wifi interface. I had also removed and readded all the interfaces as part of my troubleshooting.

The arp -a does indeed show my router with the correct mac address. It even shows the other computers on my LAN (same subnet anyway).

Pinging anything other than the assigned ip for that MacBook Pro or localhost (127.0.0.1) yields a Destination Net Unreachable.

Interestingly, even sending a file to another mac book via bluetooth also does not work. Something in core networking is apparently messed up.

Logs:

sh-3.2# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
36 bytes from 192.168.0.1: Destination Net Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 2ad3   0 0000  40  01 3533 192.168.0.179  192.168.0.1

Request timeout for icmp_seq 0
36 bytes from 192.168.0.1: Destination Net Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 9a7c   0 0000  40  01 0048 192.168.0.179  192.168.0.1

Request timeout for icmp_seq 0

^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss

sh-3.2# arp -a
dlinkrouter (192.168.0.1) at 6c:72:20:3f:a5:92 on en0 ifscope [ethernet]
? (192.168.0.50) at 0:19:d1:26:5b:3d on en0 ifscope [ethernet]
? (192.168.0.113) at 64:20:c:11:fc:65 on en0 ifscope [ethernet]
? (192.168.0.119) at 70:56:81:bd:c:93 on en0 ifscope [ethernet]
? (192.168.0.136) at 28:18:78:db:87:4c on en0 ifscope [ethernet]
? (192.168.0.171) at b4:74:9f:ec:6e:d3 on en0 ifscope [ethernet]
? (192.168.0.255) at (incomplete) on en0 ifscope [ethernet]
sh-3.2# ping 192.168.0.113
PING 192.168.0.113 (192.168.0.113): 56 data bytes
36 bytes from 192.168.0.113: Destination Net Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 9b53   0 0000  40  01 0000 192.168.0.179  192.168.0.113

Request timeout for icmp_seq 0
36 bytes from 192.168.0.113: Destination Net Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b980   0 0000  40  01 0000 192.168.0.179  192.168.0.113

sh-3.2# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
      options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
      inet 127.0.0.1 netmask 0xff000000
      inet6 ::1 prefixlen 128
      inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
      nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
      ether f4:5c:89:94:4b:4f
      inet 192.168.0.179 netmask 0xffffff00 broadcast 192.168.0.255
      nd6 options=201<PERFORMNUD,DAD>
      media: autoselect
      status: active
en1: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
      options=60<TSO4,TSO6>
      ether 4a:00:04:9f:4f:b0
      media: autoselect <full-duplex>
      status: inactive
en2: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
      options=60<TSO4,TSO6>
      ether 4a:00:04:9f:4f:b1
      media: autoselect <full-duplex>
      status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
      options=63<RXCSUM,TXCSUM,TSO4,TSO6>
      ether 4a:00:04:9f:4f:b0
      Configuration:
            id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
            maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
            root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
            ipfilter disabled flags 0x2
      member: en1 flags=3<LEARNING,DISCOVER>
              ifmaxaddr 0 port 5 priority 0 path cost 0
      member: en2 flags=3<LEARNING,DISCOVER>
              ifmaxaddr 0 port 6 priority 0 path cost 0
      nd6 options=201<PERFORMNUD,DAD>
      media: <unknown type>
      status: inactive
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
      ether 06:5c:89:94:4b:4f
      media: autoselect
      status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
      ether 36:87:8b:a3:7e:9b
      inet6 fe80::3487:8bff:fea3:7e9b%awdl0 prefixlen 64 scopeid 0xa
      nd6 options=201<PERFORMNUD,DAD>
      media: autoselect
      status: active
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
      inet6 fe80::789a:938d:1839:6823%utun0 prefixlen 64 scopeid 0xb
      nd6 options=201<PERFORMNUD,DAD>
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
      inet6 fe80::91a2:481b:8f38:1588%utun1 prefixlen 64 scopeid 0xc
      nd6 options=201<PERFORMNUD,DAD>
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Of course not. If I had time machine, this problem would never even have happened :)

I'm backing up the SDD to an external USB3 as we speak.
Im sorry man.. I don't have anything else to offer.  Good luck to you.
Thanks for your responses anyway. I ended up doing a clean reinstall and everything works again. I'll make sure to do a Time Capsule so that it never happens again :)
While there was no answer here, Ken's help in troubleshooting was much appreciated.