IPv4 Configuration Example
Use a static /32 (host-specific) route to the target system IPv4 address via the dedicated network interface. In the following example, mask=32
means that this is a host-specific route.
host_source:configuration services routing> create
host_source:configuration services route (uncommitted)> get
family = (unset)
destination = (unset)
mask = (unset)
gateway = (unset)
interface = (unset)
host_source:configuration services route (uncommitted)> set family=IPv4
host_source:configuration services route (uncommitted)> set destination=203.34.56.78
host_source:configuration services route (uncommitted)> set mask=32
host_source:configuration services route (uncommitted)> set gateway=203.34.56.254
host_source:configuration services route (uncommitted)> set interface=nge3
host_source:configuration services route (uncommitted)> commit
host_source:configuration services routing> show
route-000 0.0.0.0/0 203.24.30.254 nge0 static
route-001 203.24.30.0/32 203.24.30.28 nge0 dynamic
route-002 203.24.150.0/32 203.24.150.10 ibd0 dynamic
route-003 203.24.101.65/32 203.24.30.254 nge1 inactive
route-005 203.34.56.78/32 203.34.56.254 nge3 static
IPv6 Configuration Example
Use a static /128 (host-specific) route to the target system IPv6 address via the dedicated network interface. In the following example, mask=128
means that this is a host-specific route.
host_source:configuration services routing> create
host_source:configuration services route (uncommitted)> get
family = (unset)
destination = (unset)
mask = (unset)
gateway = (unset)
interface = (unset)
host_source:configuration services route (uncommitted)> set family=IPv6
host_source:configuration services route (uncommitted)> set destination=2606:b400:418:27c2:4000::102
host_source:configuration services route (uncommitted)> set mask=128
host_source:configuration services route (uncommitted)> set gateway=2606:b400:418:27c2:4000::102
host_source:configuration services route (uncommitted)> set interface=ixgbe0
host_source:configuration services route (uncommitted)> commit
host_source:configuration services routing> show
route-000 0.0.0.0/0 203.24.30.254 nge0 static
route-001 203.24.30.0/32 203.24.30.28 nge0 dynamic
route-002 203.24.150.0/32 203.24.150.10 ibd0 dynamic
route-003 203.24.101.65/32 203.24.30.254 nge1 inactive
route-005 203.34.56.78/32 203.34.56.254 nge3 static
route-006 2606:b400:418:27c2:4000::102/128 2606:b400:418:27c2:4000::102 ixgbe0 static active