cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
225
Views
5
Helpful
1
Replies

static nat

leungcm
Level 1
Level 1

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 1

royalblues
Level 10
Level 10

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card