Skip to main content

3.9.12 Setting XSCF Routing


3.9.12 Setting XSCF Routing
This section shows an example of data for routing by subnet in a system with multiple XSCFs.
  1. Configuring one default gateway
XSCF of BB#00   XSCF of BB#01  
bb#00-lan#0
[192.168.11.10]
+-------------------+ bb#01-lan#0
[192.168.11.20]
 
bb#00-lan#1
[10.12.108.10]
+-------------------+ bb#01-lan#1
[10.12.108.20]
 
Destination Gateway Netmask Interface
[192.168.11.0] - [255.255.255.0] bb#00-lan#0
[192.168.11.0] - [255.255.255.0] bb#01-lan#0
[10.12.108.0] - [255.255.255.0] bb#00-lan#1
[default] [10.12.108.1] [0.0.0.0] bb#00-lan#1
[10.12.108.0] - [255.255.255.0] bb#01-lan#1
[default] [10.12.108.1] [0.0.0.0] bb#01-lan#1
Note - How the routing of each interface of the XSCF is determined changes depending on the network environment at the installation location. The network environment must be appropriately configured for system operation.
Note - No route can be set for a takeover IP address.
  1. Configuring two default gateways
XSCF of BB#00   XSCF of BB#01  
bb#00-lan#0 [192.168.11.10] +-------------------+ bb#01-lan#0 [192.168.11.20]  
bb#00-lan#1 [10.12.108.10] +-------------------+ bb#01-lan#1 [10.12.108.20]  
Destination Gateway Netmask Interface
[192.168.11.0] - [255.255.255.0] bb#00-lan#0
[default] [192.168.11.1] [0.0.0.0] bb#00-lan#0
[192.168.11.0] - [255.255.255.0] bb#01-lan#0
[default] [192.168.11.1] [0.0.0.0] bb#01-lan#0
[10.12.108.0] - [255.255.255.0] bb#00-lan#1
[default] [10.12.108.1] [0.0.0.0] bb#00-lan#1
[10.12.108.0] - [255.255.255.0] bb#01-lan#1
[default] [10.12.108.1] [0.0.0.0] bb#01-lan#1
Note - If two default gateways are configured, one of them is automatically selected. In their settings, the network must be configured such that the gateways operate correctly as the default gateway.
Use the showroute command to check the routing information of an XSCF network. Furthermore, to set routing information, use the setroute command. Execute the setroute command with a user account that has the platadm privilege.
Operation Procedure
  1. Execute the showroute command to display the routing environment.
XSCF> showroute -a
Destination Gateway Netmask Flags Interface
192.168.11.0 * 255.255.255.0 U bb#00-lan#0
10.12.108.0 * 255.255.255.0 U bb#00-lan#1
default 10.12.108.1 0.0.0.0 UG bb#00-lan#1

Destination Gateway Netmask Interface
192.168.11.0 * 255.255.255.0 bb#01-lan#0
10.12.108.0 * 255.255.255.0 bb#01-lan#1
default 10.12.108.1 0.0.0.0 bb#01-lan#1
  1. Execute the setroute command with the network interface routing environment specified.
    The following example adds routing defined as the destination 192.168.11.0 and the net mask 255.255.255.0 for XSCF-LAN#0 of BB#00.
XSCF> setroute -c add -n 192.168.11.0 -m 255.255.255.0 bb#00-lan#0
  1. The following example adds routing defined as the default gateway 10.12.108.1 for XSCF-LAN#1 of BB#00.
XSCF> setroute -c add -n 0.0.0.0 -g 10.12.108.1 bb#00-lan#1
  1. The following example deletes routing to the destination 192.168.11.0 for XSCF-LAN#0 of BB#00.
XSCF> setroute -c del -n 192.168.11.0 bb#00-lan#0
  1. The following example deletes routing defined as the destination 192.168.1.0 and the net mask 255.255.255.0 for XSCF-LAN#0 of BB#00.
XSCF> setroute -c del -n 192.168.1.0 -m 255.255.255.0 bb#00-lan#0
  1. The following example deletes routing defined as the default gateway 10.12.108.1 for XSCF-LAN#1 of BB#00.
XSCF> setroute -c del -n 0.0.0.0 -g 10.12.108.1 bb#00-lan#1
  1. Execute the applynetwork and rebootxscf commands to reflect the settings made with the setroute command.
Note - You can also reflect the DNS for the XSCF and other settings made, by executing the applynetwork and rebootxscf commands.
XSCF> applynetwork
The following network settings will be applied:
bb#00 hostname :hostname-0
bb#01 hostname :hostname-1
DNS domain name :example.com
nameserver :10.23.4.3

interface :bb#00-lan#0
status :up
IP address :10.24.144.214
netmask :255.255.255.0
route : -n 0.0.0.0 -m 0.0.0.0 -g 10.24.144.1
(Omitted)
XSCF> rebootxscf -a
The XSCF will be reset. Continue? [y|n] :y
  1. The XSCF reboot disconnects the XSCF session, so log in again.
  1. Execute the showroute command, and confirm the routing settings.