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:
- Open a terminal window on your Solaris machine.
- Type the following command to display the network routing table information:
netstat -rThis 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
netstatcommand to customize the output:: 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.
netstat -r -f inet6
netstat command.