Routing IProuting
IX20 User Guide
431
b. Set the zone. For example:
(config network route policy 0)> dst zone external
(config network route policy 0)>
See Firewall configuration for more information about firewall zones.
n
interface: Matches the destination IPaddressto the selected interface's network
address. Set the interface:
a. Use the ?to determine available interfaces:
(config network route policy 0)> dst 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)> dst interface
b. Set the interface. For example:
(config network route policy 0)> dst interface
/network/interface/eth1
(config network route policy 0)>
n
address: Matchesthe destination IPv4 addressto the specified IPaddress or network.
Set the address that will be matched:
(config network route policy 0)> dst address value
(config network route policy 0)>
where value usesthe format IPv4_address[/netmask], or any to match any IPv4
address.
n
address6: Matchesthe destination IPv6 address to the specified IPaddress or network.
Set the address that will be matched:
(config network route policy 0)> dst address6 value
(config network route policy 0)>
where value usesthe format IPv6_address[/prefix_length], or any to match any IPv6
address.
n
mac: Matches the destination MACaddressto the specified MACaddress. Set the MAC
addressto be matched:
(config network route policy 0)> dst mac MAC_address
(config network route policy 0)>