Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

static nat

Hi,

we would like to setup static NAT. detail please refer attached file. we get the ip segment is foloiwng:

210.5.10.128 - 210.5.10.158

we set the NAT to inner segment (172.16.x.x).

router A

--------

ip route 210.5.10.129 255.255.255.255 210.5.10.157

ip route 210.5.10.129 255.255.255.255 210.5.10.157

router B

--------

!

ip nat outside source static 172.16.1.33 210.5.10.129

ip nat outside source static 172.16.1.36 210.5.10.130

!

interface GigabitEthernet0/0

ip nat outside

!

!

interface GigabitEthernet0/2

ip nat inside

!

however, it does not work, any missing? please advise

1 REPLY

Re: static nat

I think the statements have been reversed here..

If G0/0 is the interface connecting to routerA, then your NAT statements should look like

ip nat inside source static 172.16.1.33 210.5.10.129

ip nat inside source static 172.16.1.36 210.5.10.130

or

ip nat outside source static 210.5.10.129 172.16.1.33

ip nat outside source static 172.16.1.36 210.5.10.130

Try this out and let us know

HTH, rate if it does

Narayan

90
Views
5
Helpful
1
Replies
CreatePlease to create content