ZyXEL Communications P-660H-TX User Manual

Page 64

Advertising
background image

P-660H-Tx v2 Support Notes

(Set the protocol ID as 6(TCP) for the rule)
ip policyrouting set criteria serviceType 0
(Set the criteria type of service as don’t care for this rule)
ip policyrouting set criteria precedence 8
(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 0
(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 0
(Set the action type of service as don’t care for this rule)
ip policyrouting set criteria precedence 8
(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 1 in the
example):

wan node index 1
wan node ippolicy 1

63

All contents copyright © 2006 ZyXEL Communications Corporation.

Advertising