nat

Created May 21, 2014 05:09:59Latest reply Oct 09, 2014 04:33:35 3552 9 0 0
how to configure nat in ensp with the inside address 10.1.1.0/24 ethernet 0/0/0 and outside address 41.214.2.0/28 pleaase
  • x
  • convention:

morguldk     Created May 29, 2014 08:13:58 Helpful(0) Helpful(0)

i have a private adress my private address is 10.1.1.0/24 with ge 0/0/0 and this adrress use nat and the public address is 41.214.2.0/28 in my router client how to configure nat i use ar1220
  • x
  • convention:

morguldk     Created May 29, 2014 08:16:07 Helpful(0) Helpful(0)

topology

This article contains more resources

You need to log in to download or view. No account?Register

x
  • x
  • convention:

morguldk     Created May 29, 2014 08:20:32 Helpful(0) Helpful(0)

Reply 2 #

thx that' take my time

  • x
  • convention:

Sophoni  Moderator   Created May 29, 2014 10:43:43 Helpful(0) Helpful(0)

Quote 4 #

i have a private adress my private address is 10.1.1.0/24 with ge 0/0/0 and this adrress use nat and the public address is 41.214.2.0/28 in my router client how to configure nat i use ar1220
morguldk Post On 2014-05-29 08:13:58

Nat just support IP address to IP address. not support segment to segment.

 

  • x
  • convention:

Sophoni  Moderator   Created May 29, 2014 11:12:04 Helpful(1) Helpful(1)

Networking Requirements

As shown in Figure 1, private network users in Area A and Area B of a company connect to the Internet. The public IP address of GigabitEthernet3/0/0 on the router is 202.169.10.1/24. The IP address of the carrier device connected to the router is 202.169.10.2/24. Users in Area A want to use addresses in the public address pool (202.169.10.100 to 202.169.10.200) to replace IP addresses (192.168.20.0/24) of hosts in Area A in NAT mode to access the Internet. Users in Area B want to use addresses in the public address pool (202.169.10.80 to 202.169.10.83) to replace IP addresses (10.0.0.0/24) of hosts in Area B to access the Internet.

Figure 1 Networking diagram for configuring dynamic NAT

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure IP addresses for ports, default route, and outbound NAT on the WAN interface to allow internal hosts to access external networks.

Procedure

  1. Configure an IP address for ports on the router.

    <Huawei> system-view [Huawei] sysname Router [Router] vlan 100  [Router-vlan100] quit [Router] interface vlanif 100 [Router-Vlanif100] ip address 192.168.20.1 24  [Router-Vlanif100] quit [Router] interface ethernet 2/0/0 [Router-Ethernet2/0/0] port link-type access  [Router-Ethernet2/0/0] port default vlan 100  [Router-Ethernet2/0/0] quit [Router] vlan 200  [Router-vlan200] quit [Router] interface vlanif 200 [Router-Vlanif200] ip address 10.0.0.1 24  [Router-Vlanif200] quit [Router] interface ethernet 2/0/1  [Router-Ethernet2/0/1] port link-type access  [Router-Ethernet2/0/1] port default vlan 200 [Router-Ethernet2/0/1] quit [Router] interface gigabitethernet 3/0/0 [Router-GigabitEthernet3/0/0] ip address 202.169.10.1 24  [Router-GigabitEthernet3/0/0] quit


  2. Configure a default route with next hop address 202.169.10.2 on the router.

    [Router] ip route-static 0.0.0.0 0.0.0.0 202.169.10.2 


  3. Configure outbound NAT on the router.

    [Router] nat address-group 1 202.169.10.100 202.169.10.200 [Router] nat address-group 2 202.169.10.80 202.169.10.83 [Router] acl 2000 [Router-acl-basic-2000] rule 5 permit source 192.168.20.0 0.0.0.255 [Router-acl-basic-2000] quit [Router] acl 2001 [Router-acl-basic-2001] rule 5 permit source 10.0.0.0 0.0.0.255 [Router-acl-basic-2001] quit [Router] interface gigabitethernet 3/0/0 [Router-GigabitEthernet3/0/0] nat outbound 2000 address-group 1 no-pat [Router-GigabitEthernet3/0/0] nat outbound 2001 address-group 2  [Router-GigabitEthernet3/0/0] quit 
  • x
  • convention:

morguldk     Created May 30, 2014 07:34:21 Helpful(0) Helpful(0)

thx i will do that after i will tell u the result thx a lot my dear
  • x
  • convention:

Sophoni  Moderator   Created May 21, 2014 09:29:10 Helpful(0) Helpful(0)

not support 10.1.1.0/24 to  41.214.2.0/28  segment to segment.

 

  • x
  • convention:

ensp_commiter  Moderator   Created May 21, 2014 09:37:51 Helpful(0) Helpful(0)

Please descript your bussiness scene to us, we are not sure what you mean.
  • x
  • convention:

justusmusau  Novice   Created Oct 09, 2014 04:33:35 Helpful(0) Helpful(0)

I followed the above configuration and seems not to work; kindly confirm if it has ever worked . I have attached my config


regards

Justus

  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top