Routing
IP routing
LR54 User Guide
382
b. Set the interface. For example:
(config network route policy 0)> src interface
/network/interface/wan1
(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)>
where
value
is one of:
n
zone
: Matches the destination IP address to the selected firewall zone. Set the zone:
a. Use the
?
to determine available zones:
(config network route policy 0)> dst zone ?
Zone: Match the IP address to the specified firewall zone.
Format:
any
dynamic_routes
edge
external
hotspot
internal
ipsec
loopback
setup