6.5.3 Setting the Routing
6.5.3 Setting the Routing
- Execute the showroute command to display the routing environment.
XSCF> showroute -a Destination Gateway Netmask Flags Interface Destination Gateway Netmask Interface |
- Execute the setroute command to set the default gateway.
For -n address, specify the IP address that is the routing information destination. If 0.0.0.0 is specified in address, the command sets the default routing information.
For -g address, specify the gateway address used in routing.
For interface, specify the network interface to be set. For the SPARC M12-1, you can specify either bb#00-lan#0 or bb#00-lan#1.
XSCF> setroute -c add -n address -g address interface |
- The following example adds the default gateway IP address 192.168.1.1 for XSCF-LAN#0 of BB#00.
XSCF> setroute -c add -n 0.0.0.0 -g 192.168.1.1 bb#00-lan#0 |
< Previous Page | Next Page >