05-26-2011 08:38 AM - edited 03-06-2019 05:13 PM
I have a server connected to a switch connected to a 3600 router.
I just need to NAT that server's local IP address (192.168.20.32) to an external address of 10.23.63.18.
The config of my router is as follows:
interface FastEthernet0/0
ip address 192.168.1.1 255.255.0.0
ip nat inside
duplex auto
speed auto
arp timeout 60
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
ip address 10.23.63.7 255.255.255.128
ip nat outside
duplex auto
speed auto
arp timeout 60
!
ip nat inside source static 192.168.32.20 10.23.63.17
ip nat inside source static 192.168.1.250 10.23.63.12
ip nat inside source static 192.168.1.150 10.23.63.10
ip nat inside source static 192.168.1.10 10.23.63.8
ip nat inside source static 192.168.1.22 10.23.63.11
ip nat inside source static 192.168.1.25 10.23.63.13
ip nat inside source static 192.168.1.23 10.23.63.14
ip nat outside source static 10.23.63.18 192.168.20.32
ip classless
ip route 0.0.0.0 0.0.0.0 10.23.63.1
no ip http server
ip pim bidir-enable
!
!
line con 0
line aux 0
line vty 0 4
exec-timeout 60 0
transport input telnet
!
end
What am I missing?
Solved! Go to Solution.
05-26-2011 08:45 AM
Hi,
Just try this for testing
Router(conf)#no ip nat outside source static 10.23.63.18 192.168.20.32
Router(conf)#ip nat inside source static 192.168.20.32 10.23.63.18
HTH,
Toshi
05-26-2011 08:45 AM
Hi,
Just try this for testing
Router(conf)#no ip nat outside source static 10.23.63.18 192.168.20.32
Router(conf)#ip nat inside source static 192.168.20.32 10.23.63.18
HTH,
Toshi
05-26-2011 09:49 AM
You are correct sir. Just had it backwards.
Thank you very much!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide