Solaris UNIX Show Network Routing Table Information

To display the network routing table information on Solaris UNIX, you can use the netstat command with the -r option. Here are the steps:

  1. Open a terminal window on your Solaris machine.
  2. Type the following command to display the network routing table information:
    netstat -r

    This will display a list of routes in the routing table, including the destination IP address, the netmask, the gateway IP address, and the interface.

    You can use the following flags with the netstat command to customize the output:

    • -n: Displays the IP addresses in numerical form instead of resolving hostnames.
    • -v: Displays verbose output, including the routing flags and the maximum transmission unit (MTU) for each route.
    • -f inet6: Displays the routing table for IPv6 addresses.

    For example, to display the routing table for IPv6 addresses, you can use the following command:

    netstat -r -f inet6

That’s it! You should now have a good understanding of how to display the network routing table information on Solaris UNIX using the netstat command.

Leave a Comment