How Do I Show a Route Table in Linux?
Contents How Do I Display a Route Table in Linux? to Display the Kernel Routing Table, You Can Use Any of the Following Methods: Route. $ Sudo Route -N. Kernel...
Contents
How do I display a route table in Linux?
To display the kernel routing table, you can use any of the following methods:
- route. $ sudo route -n. Kernel IP routing table. Destination Gateway Genmask Flags Metric Ref Use Iface. …
- netstat. $ netstat -rn. Kernel IP routing table. …
- ip. $ ip route list. 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.103.
What is the command to display the routing table?
The -r option of netstat displays the IP routing table.