2 code 0 pad option code 1 subnet mask code 2 time

Info icon This preview shows pages 15–18. Sign up to view the full content.

(2) Code: 0 Pad Option Code: 1 Subnet Mask Code: 2 Time Offset Code: 3 Routers Code: 4 Time Server Option Code: 5 Name Server Option Code: 6 Domain Name Servers Code: 7 Log Server Option Code: 8 Cookie Server Option Code: 9 LPR Server Option Code: 10 Impress Server Option Code: 11 Resource Location Server Option Code: 12 Host Name Code: 13 Boot File Size Option Code: 14 Merit Dump File Code: 15 Domain Name Code: 16 Swap Server Code: 17 Root Path
Image of page 15

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Computer Networks: An Open Source Approach 16 Code: 18 Extensions Path Code: 19 IP Forwarding Enable/Disable Option Code: 20 Non-Local Source Routing Enable/Disable Code: 21 Policy Filter Option Code: 22 Maximum Datagram Reassembly Size Code: 23 Default IP Time-to-Live Code: 24 Path MTU Aging Timeout Option Code: 25 Path MTU Plateau Table Option Code: 26 Interface MTU Code: 27 All Subnet are Local Option Code: 28 Broadcast Address Option Code: 29 Perform Mask Discovery Option Code: 30 Mask Supplier Option Code: 31 Perform Router Discovery Option Code: 32 Router Solicitation Address Option Code: 33 Static Route Option Code: 34 Trailer Encapsulation Option Code: 35 ARP Cache Timeout Option Code: 36 Ethernet Encapsulation Option Code: 37 TCP Default TTL Option Code: 38 TCP Keepalive Interval Option Code: 39 TCP Keepalive Garbage Option Code: 40 NIS Domain Name Code: 41 NIS Option Code: 42 Network Time Protocol Servers Option Code: 43 Vender-specific information Code: 44 NetBIOS over TCP/IP Name Server Code: 45 NetBIOS over TCP/IP Datagram Distribu. Server Code: 46 NetBIOS over TCP/IP Node Type Server Code: 47 NetBIOS over TCP/IP Scope Server Code: 48 X Window System Font Server Code: 49 X Window System Display Manager Code: 50 Requested IP Address ( DHCPDISCOVER) Code: 51 IP Address Lease Time Code: 52 Option Overload Code: 53 Message Type Code: 54 Server Identifier Code: 55 Parameter Request List Code: 56 Error Message Code: 57 Maximum DHCP Message Size Code: 58 Renewal (T1) Time Value Code: 59 Rebinding (T2) Time Value Code: 60 Vendor class identifier Code: 61 Client-identifier Code: 64 Network Information Service+ Domain Option Code: 65 Network Information Service+ Option Code: 66 TFTP server name Code: 67 Bootfile name Code: 68 Mobile IP Home Agent Code: 69 SMTP Server Option
Image of page 16
Computer Networks: An Open Source Approach 17 Code: 70 POP3 Server Option Code: 71 NNTP Server Option Code: 72 Default WWW Server Option Code: 73 Default Finger Server Option Code: 74 Default IRC Server Option Code: 75 StreetTalk Server Option Code: 76 SYMA Server Option Code: 255 End Option Open Source Implementation 4.8: ICMP Exercises Write a pseudo code for the traceroute program given that you are able to call the ICMP functions in the kernel. Answer (0.5 hour): Procedure traceroute { For (ttl=1; ttl<256; ttl++) { Send an ICMP echo request message to the destination with TTL=ttl; If an ICMP echo reply message is received { exit(0); //destination has reached } else if an ICMP time exceeded message is received { printout the source address of the ICMP time exceeded message (router) and the latency from the packet until the ICMP message is received } else check unexpected error } } Open Source Implementation 4.9: RIP
Image of page 17

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 18
This is the end of the preview. Sign up to access the rest of the document.
  • Winter '15
  • MAhmoudali
  • IP address, Transmission Control Protocol

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern