Configuring NAT one-to-one on Router

Answered Question
Sep 24th, 2009
User Badges:

Hi,

We need to configure one to one NAT for two IP address and one PAT for all remaining IP pool.

Can such one-to-one mapping configured in routers ( in ASA it is static (inside,outside).

Inside- IP1 mapped to Pub_IP1 with overload

Inside - IP2 mapped to Pub_IP2 with overload.

And rest of all indide IP NAT ( PAT ) with one PUB_IP3.

Can all these MAP settings be done on router.

Please share the experience.

Any example of one-to-one NAT on router is highly appreciable.

Thanks in advance.

Subodh

Correct Answer by Jon Marshall about 7 years 7 months ago

Subodh


inside -> fa0/0 R1 fa0/1 -> outside


192.168.5.10 mapped to 195.17.17.1

192.168.6.10 mapped to 195.17.17.2


rest of inside addresses natted to 195.17.17.3


R1


int fa0/0

ip nat inside


int fa0/1

ip nat outside


ip nat inside source static 192.168.5.10 195.17.17.1

ip nat inside source static 192.168.6.10 195.17.17.2



ip nat pool TPS 195.17.17.3 195.17.17.3 netmask 255.255.255.0


ip nat inside source list 101 pool TPS overload


access-list 101 permit ip any any


Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Thu, 09/24/2009 - 12:11
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Subodh


inside -> fa0/0 R1 fa0/1 -> outside


192.168.5.10 mapped to 195.17.17.1

192.168.6.10 mapped to 195.17.17.2


rest of inside addresses natted to 195.17.17.3


R1


int fa0/0

ip nat inside


int fa0/1

ip nat outside


ip nat inside source static 192.168.5.10 195.17.17.1

ip nat inside source static 192.168.6.10 195.17.17.2



ip nat pool TPS 195.17.17.3 195.17.17.3 netmask 255.255.255.0


ip nat inside source list 101 pool TPS overload


access-list 101 permit ip any any


Jon

Actions

This Discussion