ECE 4110 Lab Notes: Ping, Traceroute, RARP, Bootp, DHCP, Study notes of Electrical and Electronics Engineering

The activities for a lab session in a computer engineering course (ece 4110) focusing on network diagnostic tools such as ping and traceroute. The session also covers rarp, bootp, and dhcp protocols. Students are required to perform traceroutes to specific sites, record ping statistics, and complete a formal assignment involving dns queries.

Typology: Study notes

Pre 2010

Uploaded on 08/05/2009

koofers-user-vh8
koofers-user-vh8 🇺🇸

10 documents

1 / 9

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 4110
Monday, Nov 18th
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download ECE 4110 Lab Notes: Ping, Traceroute, RARP, Bootp, DHCP and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECE 4110

Monday, Nov 18th

Ping, Traceroute

Ping: ICMP based

  • Echo request – Echo reply

Traceroute:

  • Uses TTL (on a bogus UDP packet)
    • TTL decremented by each router • When TTL reaches zero, packet is deleted,
      • ICMP message TTL expired sent to source
        • Source sends packet with TTL 0,1,2,3…
          • Notes the source of the ICMP message

Reading

  • TCP/IP Illustrated, chptrs 6,

Who am I?

• Finding your IP address

  • Useful for
    • Out-of-the-box autoconfiguration • Diskless devices • Portables (mobile)
      • RARP
        • Reverse-arp
          • Broadcast your media (ethernet) address – Server replies (unicast) with IP address

RARP

• Uses ARP packet format (not an IP packet) • Limitations:

  • Only responds with IP address, – Unknown:
    • Netmask • Gateway/router • DNS server

Bootp limitations

• Hardware (Ethernet) address MUST be pre-

configured into server

• One-to-One Ethernet<-> IP address

correlation

• Cannot “temporarily” assign an IP address

Dynamic Host Configuration

Protocol (DHCP)

Very similar to bootp

  • Same ports – Very similar packet – DHCP server can “answer” a bootp request

Adds idea of address “lease”

  • Address is only good for limited time – Client can request a renewal of lease – Client hardware address not strictly required to obtain lease (administrator can require this) - Can have statically assigned (reserved) addresses