Computer Networks Assignment
1. Purpose
Implement the sequential version of traceroute. And implement the parallel version of traceroute.
2. Description
Run-Time Issues
Several issues you should pay attention to. First, to open Visual Studio, you may go to start/Visual Studio 2013, and then right click Visual Studio 2013. You should then choose "Run as administrator." This allows you to use raw sockets in your program. Second, you should disable your anti-virus software when testing this program. After testing, make sure to enable your anti-virus software. Finally, before testing you should enable ICMP echo requests on your computer. You may google "enable ICMP echo requests Your_Operating_System_Name" to find how to fix this. The following works for Windows 7.
To enable ICMP echo requests for this assignment, go to Control Panel/System and Security/Windows Firewall/Advanced Settings, and then click Inbound Rules. Sort Inbound Rules by Name, find ICMP requests and right click ICMP requests, and choose Enable Rule. You have to restart your computer afterwards. Again, make sure that turn off your antivirus software (e.g., Symantec) on your computer when you test your program.
Make sure you use large packet size for your packets; otherwise routers might consider your packets as malicious ones.
3. Report
Write about your implementation and analyze the performance of your code. This includes how long it takes to trace certain paths, how many packets (including retransmissions) are usually transmitted by your program, average packet loss observed during traceroute, what timeout is best for an average Internet path, etc.
Attachment:- Assignment-Trace.pdf