2. In terminal 1, change working directory to whereever the Test_Case1.py file exists.
3. In terminal 2, open wireshark using the command sudo wireshark, and select 'any' to be the interface for capturing packets.
4. In terminal 1, run the test case 1 using: sudo python3 Test_Case1.py
5. In Wireshark, use the ip.addr == 200.204.10.12 and the syn packet going from 200.204.10.12 to 200.204.10.14 will be shown.
Same steps can be repeated for test case 2 and 3 but everytime a different ip.addr filter will be used.
The testCase1.png, testCase2.png, and testCase3.png shows the output on wireshark.
This folder contains 3 test cases.
References:
1. This is the link to the Peterson and Davie Computer Networks book (https://titania.eng.monash.edu/netperf/docs/computer-networks-peterson-davie-v6.0.pdf )
1. Peterson and Davie Computer Networks book (https://titania.eng.monash.edu/netperf/docs/computer-networks-peterson-davie-v6.0.pdf )