No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ-Can Policy-based Routing and Source NAT Concurrently Work on an NE40E

Publication Date:  2019-03-27 Views:  12 Downloads:  0
Issue Description

Version: V600R008

Issue Description: Can policy-based routing and source NAT concurrently work on an NE40E?

Handling Process

If traffic matches both policy-based routing and source MAT, only source NAT takes effect. If both policy-based routing and source NAT need to take effect, run the redirect ip-nexthop command on the NAT instance.

<HUAWEI> system-view

 

[~HUAWEI] nat instance cpe1 id 1

 

[*HUAWEI-nat-instance-cpe1] redirectip-nexthop 192.168.1.1 outbound/inbound

 

In the inbound direction, outgoing traffic is redirected to the next hop.

In the outbound direction, incoming traffic is directed to the next hop.

Solution

If traffic matches both policy-based routing and source MAT, only source NAT takes effect. If both policy-based routing and source NAT need to take effect, run the redirect ip-nexthop command on the NAT instance.

<HUAWEI> system-view

[~HUAWEI] nat instance cpe1 id 1

[*HUAWEI-nat-instance-cpe1] redirectip-nexthop 192.168.1.1 outbound/inbound

 

In the inbound direction, outgoing traffic is redirected to the next hop.

In the outbound direction, incoming traffic is directed to the next hop.

END