Got it

NAT on HUAWEI NE20E-S2F

Latest reply: Dec 13, 2017 13:03:08 3371 3 0 0 0
Hi there,
I´m trying to configure NAT in HUAWEI NE20E-S2F just to access internet.
The scenario is just 1 public IP address in one interface vlanif, and I´ve others network based on private IPs 172.31.0.0/24.
Is it necessary a specifi module to have NAT on the router?

sysname NATA
#
service-location 1
location follow-forwarding-mode
#
service-instance-group group1
service-location 1
#
nat instance nat1 id 1
service-instance-group group1
nat address-group address-group1 group-id 1 10.34.160.101 10.34.160.105
#
acl 3001
rule 1 permit ip source 192.168.10.0 0.0.0.255
#
interface GigabitEthernet 0/2/1
undo shutdown
ip address 10.2.3.4 255.255.255.0
nat bind acl 3001 instance nat1
#
return



The example before doesn´t work. Is that router HUAWEI NE20E-S2F a simple way to access the internet? The VLAN that has the public IP has only one address to use.
  • x
  • convention:

gululu
Created Dec 8, 2017 09:30:09

please wait for help!
View more
  • x
  • convention:

MRYang
Created Dec 8, 2017 09:48:38

Can you try this?
[~NATA] service-location 1
[*NATA-service-location-1] location slot 3
View more
  • x
  • convention:

uzzi
HCIE Created Dec 13, 2017 13:03:08

If the vlan has only 1 IP to use it means you are using /30 network ? are you using pppoe for internet or what is the setup? in this example Gi0/2/1 is ISP facing interface and configuration is very simple, make 1 instance then bind it with dialer (if pppoe) if not pppoe then simply assign a public address on ISP facing interface and provide the NAT details, below video hopefully will help you regarding NAT.

http://support.huawei.com/learni ... seId=Node1000008638

if you need any further assistance please do not hesitate to leave message here, I will check accordingly.

Thank you.



This post was last edited by uzairu at 2017-12-13 08:16.
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.