Skip to main content

7.5.5 Setting the Routing


7.5.5 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. You can specify it as follows depending on the system configuration:
    - In the case of SPARC M12-2S (without crossbar box): bb#00-lan#0, bb#00-lan#1, bb#01-lan#0, bb#01-lan#1

    - In the case of SPARC M12-2S (with crossbar box): xbbox#80-lan#0, xbbox#80-lan#1, xbbox#81-lan#0, xbbox#81-lan#1
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