Forum Discussion
Mofistago
Nov 02, 2022Copper Contributor
Can someone clear up this weird behavior from my NAT gateway?
Hi all, so I am following Toni Pasanen's AZ Networking Fundamentals book and I hit a roadblock here. I have set up a VM with no public IP address and put it behind a nat gateway. From this devic...
anas86
Nov 30, 2022Copper Contributor
Regarding the ping failing, I believe this behavior is expected when you don't have a public IP on your VM. Nonetheless, this should not be a problem and you can use any TCP ping tool to test network connectivity like Psping.
For the second point, I am not sure if the commands you use is the correct way to test your public IP. I ran them from my machine and I got the same results and IPs you got. Try to use this instead:
curl ifconfig.io
For the second point, I am not sure if the commands you use is the correct way to test your public IP. I ran them from my machine and I got the same results and IPs you got. Try to use this instead:
curl ifconfig.io