01-17-2018 11:54 AM - edited 03-08-2019 01:27 PM
Good afternoon, I have a DMZ segment on my network (VLAN55) which contains a server that is accessible from the internet. I have the following configuration:
interface Gi0/1.100
encapsulation dot1q 100 native
ip address 172.18.19.1 255.255.255.0
ip nat inside
!
interface Gi0/1.55
encapsulation dot1q 55
ip address 192.168.55.1 255.255.255.0
ip nat inside
!
interface Gi0/0
ip address 1.1.1.1 255.255.255.0
ip address 1.1.1.2 255.255.255.0 secondary
ip nat outside
!
ip nat inside source static 192.168.55.5 1.1.1.2
With the above configuration, I can ping the server 1.1.1.2 and it gets properly translated to 192.168.55.5. But if I am on the local network (Gig0/1.100) and ping 1.1.1.2, I don't get natted to 192.168.55.5 and keep getting reply from gig0/0 interface of the router.
Trying to figure out what am I missing? Please advise
01-17-2018 12:40 PM
Try adding a static statement for the device on the local network.
ip nat inside source static 172.18.19.x 1.1.1.2
x is the PC or laptop you are using.
HTH
01-17-2018 12:51 PM
01-17-2018 01:25 PM - edited 01-17-2018 01:28 PM
Hello
You could use NVI NAT which is used in hairpinning and will change the translation order of nat and should allow access to the global address of an internal server from an internal host.
See here
res
Paul
01-29-2018 07:01 AM
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