ZyXEL Communications P-660HW-TX Manual De Usuario

Descargar
Página de 122
                                      
P-660HW-Tx v2 Series Support Notes
 
(Set the protocol ID as 6(TCP) for the rule) 
ip policyrouting set criteria serviceType 
(Set the criteria type of service as don’t care for this rule) 
ip policyrouting set criteria precedence 
(Set the precedence as don’t care for this rule) 
ip policyrouting set criteria packetlength
 0
 
(Set the packet length as 0 for the rule) 
ip policyrouting set criteria srcip 
192.168.1.2 192.168.1.20
 
(Set the source IP address for the rule: Start=192.168.1.2, end=192.168.1.20) 
ip policyrouting set criteria srcport
 0 
(Set the source port for the rule: Start=0) 
ip policyrouting set criteria destip 
0.0.0.0 
(Set the destination port for the rule: Start=0.0.0.0) 
ip policyrouting set criteria destport 
80 80 
(Set the destination port for the rule: Start=80, end=80) 
ip policyrouting set action 
actmatched 
(Set the action for the rule: Matched) 
ip policyrouting set action gatewaytype 
(Set gateway type for the rule: Gateway Address) 
ip policyrouting set action gatewayaddr 
192.168.1.254
 
(Set the gateway address for the rule: 192.168.1.254) 
ip policyrouting set criteria serviceType 
(Set the action type of service as don’t care for this rule) 
ip policyrouting set criteria precedence 
(Set the action precedence as don’t care for this rule) 
ip policyrouting set action log 
no 
(Set log option for the rule: no log) 
ip polictrouting set save 
(Save the rule) 
Step 3: Apply the IP policy routing. There are two interfaces to apply the policy 
set, they are the LAN interface and WAN interface. It depends where the 
gateway specified in the policy rule is located. If the gateway you specified is 
located on the local LAN you apply the policy set in LAN interface. If the 
gateway you specified is located on the remote WAN site you apply the policy 
set in WAN interface.   
Apply to WAN Interface (Suppose we apply it to remote node 
in the 
example): 
wan node index 
1
 
wan node ippolicy 
1
 
                                     
73 
All contents copyright © 2006 ZyXEL Communications Corporation.