ZyXEL Communications 3.1 User Manual

Page of 386
ZyWALL (ZLD) CLI Reference Guide
99
C
H A P T E R
      8
Route
This chapter shows you how to configure policies for IP routing and static routes on your ZyWALL.
8.1  Policy Route 
Traditionally, routing is based on the destination address only and the ZyWALL takes the shortest 
path to forward a packet. IP Policy Routing (IPPR) provides a mechanism to override the default 
routing behavior and alter the packet forwarding based on the policy defined by the network 
administrator. Policy-based routing is applied to incoming packets on a per interface basis, prior to 
the normal routing.
8.2  Policy Route Commands
The following table identifies the values required for many of these commands. Other input values 
are discussed with the corresponding commands.
Table 43   
Input Values for General Policy Route Commands
LABEL
DESCRIPTION
address_object
The name of the IP address (group) object. You may use 1-31 alphanumeric 
characters, underscores(
_
), or dashes (-), but the first character cannot be a 
number. This value is case-sensitive. 
address6_object
The name of the IPv6 address (group) object. You may use 1-31 alphanumeric 
characters, underscores(
_
), or dashes (-), but the first character cannot be a 
number. This value is case-sensitive.
interface_name
The name of the interface.
Ethernet interface: For the ZyWALL USG 300 and above, use gexx = 1 - N, where N 
equals the highest numbered Ethernet interface for your ZyWALL model.
The ZyWALL USG 200 and lower models use a name such as wan1, wan2, opt, 
lan1, ext-wlan, or dmz.
virtual interface on top of Ethernet interface: add a colon (:) and the number of the 
virtual interface. For example: gex:yx = 1 - N, y = 1 - 4
VLAN interface: vlanxx = 0 - 4094
virtual interface on top of VLAN interface: vlanx:yx = 0 - 4094, y = 1 - 12
bridge interface: brxx = 0 - N, where N depends on the number of bridge interfaces 
your ZyWALL model supports.
virtual interface on top of bridge interface: brx:yx = the number of the bridge 
interface, y = 1 - 4
PPPoE/PPTP interface: pppxx = 0 - N, where N depends on the number of PPPoE/
PPTP interfaces your ZyWALL model supports.