Routing IP routing
AnywhereUSB® Plus User Guide
522
a. Use the ? to determine available interfaces:
(config network route policy 0)> src interface ?
Interface: The network interface.
Format:
/network/interface/defaultip
/network/interface/defaultlinklocal
/network/interface/eth1
/network/interface/eth2
/network/interface/loopback
Current value:
(config network route policy 0)> src interface
b. Set the interface. For example:
(config network route policy 0)> src interface
/network/interface/eth1
(config network route policy 0)>
n
address: Matches the source IPv4 address to the specified IP address or network. Set
the address that will be matched:
(config network route policy 0)> src address value
(config network route policy 0)>
where value uses the format IPv4_address[/netmask], or any to match any IPv4
address.
n
address6: Matches the source IPv6 address to the specified IP address or network. Set
the address that will be matched:
(config network route policy 0)> src address6 value
(config network route policy 0)>
where value uses the format IPv6_address[/prefix_length], or any to match any IPv6
address.
n
mac: Matches the source MAC address to the specified MAC address. Set the MAC
address to be matched:
(config network route policy 0)> src mac MAC_address
(config network route policy 0)>
10. Set the destination address type:
(config network route policy 0)> dst type value
(config network route policy 0)>