21 | | We are now ready to begin learning! One person needs to connect to either Alice or Bob while another person logs into the server1 node (or server2 if you choose). From the server node type the command `sudo tcpdump -i eth0 -s 0 -x -w /tmp/tcpdump.pcap`. this will begin listening to the traffic that comes through this node. From Alice type `wget http://server1/cgi-bin/ip.cgi` This saves a local copy of the web page set up on the server, and by doing so we generated traffic to examine. |
| 21 | We are now ready to begin learning! One person needs to connect to either Alice or Bob while another person logs into the server1 node (or server2 if you choose). From the server node type the command `ifconfig` This will show the ethernet links that the node is using. |
| 22 | |
| 23 | [[Image(ifconfig.png)]] |
| 24 | |
| 25 | Find the one that shows an inet address of 10.x.x.x In the example it is eth0. Yours may be different, but that is still ok. |
| 26 | Then type the command `sudo tcpdump -i eth0 -s 0 -x -w /tmp/tcpdump.pcap` This will begin listening to the traffic that comes through this node and that specific ethernet link, eth0 in the example. |
| 27 | From Alice type `wget http://server1/cgi-bin/ip.cgi` This saves a local copy of the web page set up on the server, and by doing so we generated traffic to examine. |