ā11-06-2023 07:04 AM
hi guys ,
Why am I able to ping all the public IP addresses from both my LANs using PAT? but it failed when I tried pinging from left LAN to right LAN (or vice versa) . However, if I remove all the PAT configuration, then pinging is successful. also , how do i configure the HQ server network with the website to be accessible from internet using DNAT (should be configured by using the next available public IP address range.) instead of SNAT . currently static nat for the web server has been configured.
ā11-06-2023 09:40 AM
- Checkout : https://learningnetwork.cisco.com/s/topic/0TO6e000000WEorGAG/packet-tracer
M.
ā11-07-2023 07:48 AM
hi , can't seem to access that link
ā11-07-2023 07:56 AM
- Better is to explain what happens then (too) ,
M.
ā11-07-2023 08:02 AM
Friend
PAT is unidirectional NATing
Static NAT is bidirectional NATing
So ping from outside to host inside using public ip is never work with PAT.
You need to use 1:1 static NAT
ā11-07-2023 08:07 AM
but both my lans are running on private IPs . it just got PAT on each of the exit router
ā11-07-2023 08:15 AM
again the PAT is unidirectional from Inside to Outside
so
LAN1-R1(PAT)-WAN-R2(PAT)-LAN2
when you ping from LAN1 to LAN2
you need to use private IP of LAN2 in Ping
you need to sure that LAN1 and LAN2 reachable to each other
Thanks A Lot
MHM
ā11-07-2023 12:44 PM
Normally, in real world, communication between HQ and branch offices is done via VPN and/or private tunnels. ISP will never route Private IP ranges; PAT/NAT is mostly used to reach Internet. So, I am not sure about this assignment.
As per MHM suggestion of 1:1 static NAT, if u add ip nat inside source static 10.19.0.2 200.100.0.30 on Branch router u should be able to ping PC1 to server0.
and "PAT is unidirectional from Inside to Outside" is just like your home router set up. in case u reaching this site, you must initiate traffic not the other way around.
Regards, ML
**Please Rate All Helpful Responses **
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