When things get weird with your internet connection and you can't even ping the router's IP, you should have a look at the routing table:
$ netstat -nr
It gives you:
netstat -nr
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.3 UGSc 131 0 en6
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 9 448 lo0
127.94.0.1 127.94.0.1 UH 0 0 lo0
169.254 link#5 UCS 1 0 en6
169.254.255.255 ec:e1:a9:37:52:42 UHLSW 0 0 en6
192.168.0/22 link#5 UCS 2 0 en6
192.168.1.3 ec:e1:a9:37:52:42 UHLWIir 132 92 en6 1166
192.168.4.111 127.0.0.1 UHS 0 0 lo0
192.168.4.255 ff:ff:ff:ff:ff:ff UHLWbI 0 1 en6
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UHL lo0
fe80::%lo0/64 fe80::1%lo0 UcI lo0
fe80::1%lo0 link#1 UHLI lo0
fe80::%en6/64 link#5 UCI en6
fe80::2acf:e9ff:fe5f:d6c9%en6 sd:sd:sd:sd:sdc9 UHLI lo0
ff01::%lo0/32 ::1 UmCI lo0
ff01::%en6/32 link#5 UmCI en6
ff02::%lo0/32 ::1 UmCI lo0
ff02::%en6/32 link#5 UmCI en6
Posted by Christoph Beck to BitCrowd (2015-09-04 08:59)