Got it

[NAT configuration share]share a simple easy-ip NAT configuration on NE router.

Latest reply: Jul 8, 2018 13:39:13 1110 1 0 0 0

Hello everyone,

I'd like to share a simple NAT configuration on NE router, Here we configure easy-IP mode for NAT pool, which means that NAT will choose the interface IP address to make the NAT.

1. Create NAT instance, Binding a Service Board to a NAT Instance

[~HUAWEI] service-location 1

[*HUAWEI-service-location-1] location slot 1

[*HUAWEI-service-location-1] commit

[~HUAWEI-service-location-1] quit 

[~HUAWEI] service-instance-group group1

[*HUAWEI-service-instance-group-group1] service-location 1

[*HUAWEI-service-instance-group-group1] commit

[~HUAWEI-service-instance-group-group1] quit

[~HUAWEI] nat instance nat1 id 1

[*HUAWEI-nat-instance-nat1] service-instance-group group1

[*HUAWEI-nat-instance-nat1] commit

[~HUAWEI-nat-instance-nat1] quit

2. Configure easy IP NAT pool, here we suppose the outbound interface is 0/2/1

[~HUAWEI] nat instance nat1 id 1

[*HUAWEI-nat-instance-cpe1] nat address-group group1 group-id 1 unnumbered interface GigabitEthernet 0/2/1

3. Confiure ip address for outbound interface:

[~HUAWEI] interface gigabitEthernet 0/2/1

[~HUAWEI-GigabitEthernet0/2/1] ip address 120.10.10.143 255.255.255.0

[*HUAWEI-GigabitEthernet0/2/1] commit

[~HUAWEI-GigabitEthernet0/2/1] quit

4. Configure ACL to match the traffic that need to do the NAT:

[~HUAWEI] acl 3001

[*HUAWEI-acl4-advance-3001] rule 5 permit ip source 10.91.100.0 0.0.0.255

[*HUAWEI-acl4-advance-3001] commit

[~HUAWEI-acl4-advance-3001] quit

5. Apply NAT at the outbound interface: 

[~HUAWEI] interface gigabitEthernet 0/2/1

[*HUAWEI-GigabitEthernet0/2/1] ip address 120.10.10.143 255.255.255.0

[*HUAWEI-GigabitEthernet0/2/1] nat bind acl 3001 instance nat1

[*HUAWEI-GigabitEthernet0/2/1] commit

[~HUAWEI-GigabitEthernet0/2/1] quit

That is all I want to share with you! Thank you!

From group: Router

  • x
  • convention:

KarimUC
Created Jul 8, 2018 13:39:13

good case
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.