Network Routes on macOS
Today I was troubleshooting a problem where my computer could not talk to a host on my network. It turned out that when the VPN connected, it modified my Mac’s routing table and replaced the default route. I’m recording my debugging commands here for Future Me™: # print ipv4 route table netstat -r -n -f inet # show the route for a destination route get <destination>