On the Internet you might have a Public IPv4 address like 219.86.239.199
or an IPv6 address like 2000:d12d:b2aa:1609:a303:563d:3088:b547
. You can check this from https://test-ipv6.com/. Yet, for ‘non-techies’ to try and communicate these addresses, or even call out MAC addresses like d8:27:21:b5:51:c5
, it can be error prone and gets complicated quickly. Additionally, this doesn’t give you any historical data (especially back when previous problems occured).
To get to a web page like https://gerhold.io you initially access a DNS server to translate the host portion (gerhold) combined with the Top Level Domain (io) of the URL, to an IP address like 60.167.69.97
. Your computer and browser actually sends its type with all web requests e.g. Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16
Your default gateway is normally an automatically configured address via DHCP. You get a default gateway like 192.168.66.30
(though they normally end in .1 or .254 depending upon the scope size) and this is where your computer sends all its traffic to be routed onwards. For IPv6
we have a deep dive on how-to-fix-ipv6-connectivity/ but you can check on Mac or Linux with:
netstat -rn -f inet | egrep -i "default|0/1|128.0/1"
0/1 172.18.12.193 UGScg utun3 default 192.168.66.30 UGScg en0 128.0/1 172.18.12.193 UGSc utun3
Note: We are not just looking for the default but also for any VPN that overrides the public v4 address space.
netstat -rn -f inet6 | egrep -i "default|2000::/3"
If you have IPv6 active the above should return at least one route (as per below) via a known interface such as “en0 " on a Mac.
default fe80:8be8:e164:942c:d155%en0 UGcg en0 default fe80::%utun0 UGcIg utun0 default fe80::%utun1 UGcIg utun1 default fe80::%utun2 UGcIg utun2 2000::/3 utun3 USc utun3
Note: We are not just looking for the default but also for any VPN that overrides the public v6 address space.
To get a look at the low level DHCP configuration (Mac/Linux):
ipconfig getpacket en0
... domain_name_server (ip_mult): {197.71.191.126, 234.13.28.232} end (none): ...
So, in the above we are not getting IPv6 DNS servers from the DHCPv4 reply but…
ipconfig getv6packet en0
DHCPv6 REPLY (7) Transaction ID 0x80940b Length 76 Options[4] = { CLIENTID (1) Length 14: DUID LLT HW 1 Time 668691856 Addr d8:27:21:b5:51:c5 DNS_SERVERS (23) Length 32: 2606:4700:4700::1111, 2001:4860:4860::8844 DOMAIN_LIST (24) Length 0: Invalid SERVERID (2) Length 10: DUID LL HW 1 Addr 9d:32:87:42:1e:5e }
At the physical and data layer you may be using a wired or wireless (Wi-Fi) medium to send this data towards your router.
No matter what version of OSX/macOS you are on, 10.15.9
, 11.5.1
, or 12.3.9
, there are a range of tools for troubleshooting. Unfortunately, between these manual actions and scripts, they don’t give you a series of correlated values over time. This is where automated remote troubleshooting comes in to its own, especially for teams that embrace remote work and Work From Anywhere (WFA).
One very helpful tool on OSX/macOS is sudo wdutil info
which gives a dump to the CLI of current wireless related settings, and this can be configured to also generate specific logs for troubleshooting. Additionally, and perhaps more comprehensively the sysdiagnose
tool can be used to generate a whole host of logs (though much is point in time only in relation to wireless just like wdutil).
sudo nohup /usr/bin/sysdiagnose -u &
will run it in the background and it will write logs to /var/tmp/<blah>.tar.gz
for you. If you want to run it interactively (though there is not much interaction) you can runsudo /usr/bin/sysdiagnose
and it will give a privacy warning. When not run in the background it should open Finder in the correct location or you can then navigate to /var/tmp
or use Finder with Cmd+Shift+G to point Finder to the path. Just beware the file sizes of about 300MB more or less.
Work From Anywhere requires reliable connectivity for all voice, video, and data. Inevitable issues cause individuals and teams to lose time and productivity while missing out on opportunities. Whether at home, in a coworking space, or in the office (and irrespective of network owner), forward thinking teams embrace smarter tools to save time and money. See how PanSift provides instant troubleshooting irrespective of location.
How It Works Benefits 2 Free Agents2 x free macOS agents
No registration, immediate live demo!