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>

Reminder

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

upgrade

FAQ- How to Configure an ME60 to Translate Destination Addresses to Different Addresses Through NAT

Publication Date:  2013-09-22 Views:  40 Downloads:  0
Issue Description
How to configur N/A e an ME60 V600R002C02SPC700 to translate destination addresses to different addresses through NAT?
Handling Process
N/A
Root Cause
N/A
Solution

For example, if you want to translate the destination address of packets from user group 1 to 2.2.2.2 when the packets are destined for network A and translate the destination address of packets from user group 1 to 1.1.1.1 when the packets are destined for other networks, configure as follows:  

acl 3001
rule 5 permit ip destination x.x.x.x
//(IP address of network A)


acl 3002
rule 5 permit ip source any

nat instance 1
add slot 3 master
-------------------------//Only one NAT instance can be bound to a NAT service board.

nat address-group 1 2.2.2.2
nat address-group 2 1.1.1.1
nat outbound 3001 adress-group 1
// The destination address of packets matching ACL 3001 is translated to the address in nat address-group 1.

nat outbound 3002 adress-group 2 // The destination address of packets matching ACL 3002 is translated to the address in nat address-group 2.


acl 6001
rule permit ip source user-group group1


traffic classifier c1
if-match acl 6001
#
traffic behavior b1
nat bind instance 1
#
traffic policy p1
classifier c1 behavior b1

#
traffic-policy p1 inbound

domain huawei
user-group group1
#
Suggestions
N/A

END