92 SPARC Enterprise Mx000 Servers Product Notes for XCP Version 1121 • February 2016
<Example 2> This example shows two default gateways.
Note – When using two default gateways, you must configure the network to
recognize both gateways as default gateways. However, either one of two default
gateways is selected automatically after this configuration is done.
❑ Command operation
1. Use the showroute(8) command to display the routing environment.
XSCF Unit 0 XSCF Unit 1
xscf#0-lan#0 [192.168.11.10] xscf#1-lan#0 [192.168.11.20]
+------------------------------+
XSCF-LAN#0 XSCF-LAN#0
XSCF Unit 0 XSCF Unit 1
xscf#0-lan#1 [10.12.108.10] xscf#1-lan#1 [10.12.108.20]
+------------------------------+
XSCF-LAN#1 XSCF-LAN#1
Destination Gateway Netmask Interface
[192.168.11.0] - [255.255.255.0] xscf#0-lan#0
[default] [192.168.11.1] [0.0.0.0] xscf#0-lan#0
[192.168.11.0] - [255.255.255.0] xscf#1-lan#0
[default] [192.168.11.1] [0.0.0.0] xscf#1-lan#0
[10.12.108.0] - [255.255.255.0] xscf#0-lan#1
[default] [10.12.108.1] [0.0.0.0] xscf#0-lan#1
[10.12.108.0] - [255.255.255.0] xscf#1-lan#1
[default] [10.12.108.1] [0.0.0.0] xscf#1-lan#1
XSCF> showroute -a
Destination Gateway Netmask Flags Interface
192.168.11.0 * 255.255.255.0 U xscf#0-lan#0
10.12.108.0 * 255.255.255.0 U xscf#0-lan#1
default 10.12.108.1 0.0.0.0 UG xscf#0-lan#1
Destination Gateway Netmask Interface
192.168.11.0 * 255.255.255.0 xscf#1-lan#0
10.12.108.0 * 255.255.255.0 xscf#1-lan#1
default 10.12.108.1 0.0.0.0 xscf#1-lan#1