Open the topology Examples/Ping/ping.imn and you should see this:

Ping example - topology picture.

Execute the experiment, right click on the pc1 node and use Wireshark to listen to the eth0 interface.
Double click on the pc1 node to open the console shell and execute:


to ping the server node.

After a few pings, terminate it by pressing Ctrl+C on your keyboard. The output of the ping command should be something like this:

pc1# ping
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=59 time=23.202 ms
64 bytes from icmp_seq=1 ttl=59 time=16.003 ms
64 bytes from icmp_seq=2 ttl=59 time=15.834 ms
--- ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 15.834/18.346/23.202/3.434 ms

After doing this, the Wireshark window should display some captured packets:

Ping example - Wireshark output.

Packets 1 and 2 are ARP used by pc1 to find out the MAC address of its gateway router. After pc1 receives the address, it starts
sending ICMP packets. While it's sending them, Wireshark should be able to 'see' the packets being sent (ping request) and received
(ping reply) and that means the server node is available.

Last modified 3 years ago Last modified on Nov 14, 2013 2:39:13 PM

Attachments (3)

Download all attachments as: .zip