Fix Mac No-access

Understanding the Function of Internet Addresses When connecting to the Internet, you are assigned either a Public IPv4 address, such as 117.40.234.205, or an IPv6 address, like 32:96f:49a:8722:be62:e83e:7ad5:5563. It is possible to verify these addresses using https://test-ipv6.com/. However, for individuals who are not technologically inclined, attempting to communicate these addresses, or even mentioning MAC addresses, like de:fc:c6:19:79:0b, can be prone to errors and quickly become complex. Understanding the Function of Internet Addresses When connecting to the Internet, you are assigned either a Public IPv4 address, such as 117.40.234.205, or an IPv6 address, like 32:96f:49a:8722:be62:e83e:7ad5:5563. It is possible to verify these addresses using https://test-ipv6.com/. However, for individuals who are not technologically inclined, attempting to communicate these addresses, or even mentioning MAC addresses, like de:fc:c6:19:79:0b, can be prone to errors and quickly become complex.

Understanding the Function of Internet Addresses

When connecting to the Internet, you are assigned either a Public IPv4 address, such as 117.40.234.205, or an IPv6 address, like 32:96f:49a:8722:be62:e83e:7ad5:5563. It is possible to verify these addresses using https://test-ipv6.com/. However, for individuals who are not technologically inclined, attempting to communicate these addresses, or even mentioning MAC addresses, like de:fc:c6:19:79:0b, can be prone to errors and quickly become complex. Moreover, this information does not offer any historical data, especially from past issues.

When attempting to access a web page, such as https://mayert.info, you must first connect to a DNS server to convert the host portion (mayert) combined with the Top Level Domain (info) of the URL into an IP address, like 130.179.111.21. Your computer and browser transmit their type with all web requests, for instance:
Mozilla/5.0 (Windows; U; Win 9x 4.90; SG; rv:1.9.2.4) Gecko/20101104 Netscape/9.1.0285.

Understanding the Significance of Default Gateways

Typically, your default gateway is an address that is automatically configured through DHCP. It is similar to obtaining a default gateway, such as 172.17.6.79 (although they usually end in .1 or .254 based on the scope size), which serves as the destination for all of your computer’s traffic before it is routed forward. For IPv6, a comprehensive guide is available at how-to-fix-ipv6-connectivity/, and you can validate this on a Mac or Linux using:

IPv4 Routes and the Host IPv4 Route Table (inc. VPN)

netstat -rn -f inet | egrep -i "default|0/1|128.0/1"

0/1      172.18.12.193  UGScg  utun3
default  172.17.6.79    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.

IPv6 Routes and the Host IPv6 Route Table (inc. VPN)

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:2931:bcfd:fd2f:e191%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.

Debugging DHCP for both IPv4 and IPv6

To get a look at the low level DHCP configuration (Mac/Linux):

ipconfig getpacket en0

...
domain_name_server (ip_mult): {80.72.8.193, 26.110.79.22}
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 de:fc:c6:19:79:0b
  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 e0:ae:39:83:f1:fb
}

Resolving Connectivity Issues for Wired and Wireless Networks

When it comes to transmitting data, you might be using either a wired or a wireless (Wi-Fi) medium, operating at the physical and data layer to send information to your router.

Troubleshooting Tips for Apple’s macOS / OSX

Regardless of the version of OSX/macOS you are using, whether it’s 10.13.9, 11.2.8, or 12.3.9, there are various tools available for troubleshooting. However, manual actions and scripts fail to provide a series of interconnected values over time. This is where automated remote troubleshooting becomes invaluable, especially for teams that embrace remote work and Work From Anywhere (WFA).

Utilizing Pre-Installed Scripts for Assistance

A highly beneficial tool on OSX/macOS is the sudo wdutil info command, which provides a detailed dump of current wireless settings to the CLI. This tool can also be configured to generate specific logs for troubleshooting purposes. Additionally, the sysdiagnose tool offers more comprehensive logging capabilities, although much of it is related to wireless settings at a specific point in time, similar to wdutil.

Running sudo nohup /usr/bin/sysdiagnose -u & in the background will generate logs in /var/tmp/<blah>.tar.gz for you. If you prefer to run it interactively (although there isn’t much interaction), you can use the command sudo /usr/bin/sysdiagnose, which will trigger a privacy warning. When not run in the background, it should open Finder in the correct location, or you can navigate to /var/tmp using the Finder with Cmd+Shift+G. However, be mindful of the file sizes, which can be approximately 300MB or more.

Possibly Helpful Videos

Video Title Channel
macOS Big Sur - What's New in Apple macOS 11 Hands-On Mac
Securing macOS Big Sur Hands-On Mac
Spotlight on Spotlight - Hands-On Mac 7 Hands-On Mac
Mac Activity Monitor - How to Troubleshoot Your Mac Hands-On Mac
Secret Mac Boot Commands - Mac Boot Key Combinations Hands-On Mac
Table 1.0 - Video Help



P.S. Tips For Remote Network and Client Support

Digital work requires reliable connectivity. Whether for low latency or regular data streams, Wi-Fi, DNS, and network issues cause teams to lose time and productivity. Even worse is when support teams waste time trying to recreate and isolate issues! See how PanSift saves time, money, and frustration on all sides with instant remote troubleshooting 🏠🏝🛰.

Design Benefits + 2 Free Agents


Install on any mobile or stationary Mac for immediate visibility.

Click for a frictionless and instant live demo

2x free agents for problem machines and upgrade for more!

Click for a frictionless and instant live demo

Install as remote sensors at any site or location!

Rapid Digital Experience Monitoring for teams, clients, and sites!

Instant Agent

2 x free macOS agents

Live Demo

No registration, immediate live demo!