IP Routing Table on macOS

Q

How to display IP Routing Table on macOS Systems?

✍: FYIcenter.com

A

You can use the "network -rn" command to display the IP routing table a macOS system.

Here is an example:

fyicenter$ netstat -rn
Routing tables

Internet:
Destination    Gateway            Flags   Refs     Use Netif Expire
default        192.168.1.1        UGSc      16      14   en0
127            127.0.0.1          UCS        0       0   lo0
127.0.0.1      127.0.0.1          UH         4  271465   lo0
192.168.1      link#5             UCS        8       0   en0
192.168.1.1/32 link#5             UCS        2       0   en0
192.168.1.1    9c:a6:15:fc:7f:69  UHLWIir   16     697   en0   1168
192.168.1.3/32 link#5             UCS        1       0   en0
192.168.1.3    78:4f:43:86:7b:87  UHLWI      0   17057   lo0

 

"tracert" - Trace Routing on Winndows

IP Routing Table on Linux

IP Network

⇑⇑ Internet Connection - Frequently Asked Questions

2021-04-30, 326👍, 0💬