IP Routing Table on Linux

Q

How to display IP Routing Table on Linux Systems?

✍: FYIcenter.com

A

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

Here is an example:

fyicenter$ netstat -rn

Kernel IP routing table
Destination    Gateway      Genmask        Flags  MSS Window  irtt Iface
0.0.0.0        192.168.1.1  0.0.0.0        UG       0 0          0 eno1
192.168.1.0    0.0.0.0      255.255.255.0  U        0 0          0 eno1
192.168.122.0  0.0.0.0      255.255.255.0  U        0 0          0 virbr0

 

IP Routing Table on macOS

IP Routing Table on Windows

IP Network

⇑⇑ Internet Connection - Frequently Asked Questions

2021-04-30, 687🔥, 0💬