cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
548
Views
0
Helpful
1
Replies

Configuring NAT one-to-one on Router

bapatsubodh
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

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

Review Cisco Networking products for a $25 gift card