Skip to main content

6.5.3 Setting the routing


6.5.3 Setting the routing
  1. Execute the showroute command to display the routing environment.
XSCF> showroute -a
Destination Gateway Netmask Flags Interface

Destination Gateway Netmask Interface
  1. 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 SPARC M10-1, either bb#00-lan#0 or bb#00-lan#1 can be specified.
XSCF> setroute -c add -n address -g address interface
  1. 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