What is the source IP address when we ping 127.0.0.1?


(Iqrar P) #1

Hi Rene,
I was wondering, what would be the source IP address when we execute ping 127.0.0.1 ?

Thanks


(Rene Molenaar) #2

Hi Iqrar,

That’s also 127.0.0.1. On a Linux device, you can see it if you capture the lo interface:

sudo tcpdump -i lo -w local_traffic.pcap

You can see a capture here:

https://www.cloudshark.org/captures/89c0929a015b

Rene


(Iqrar P) #3

Thank you so much, Rene.


(Rene Molenaar) #4

A post was merged into an existing topic: ARP (Address Resolution Protocol) explained