cs522 logo
rainbow animatio

Homework #2. IP address and End Host Routing. Due 9/18/2006

Goal:

Assignment Date: 9/11/2006
Due Day: 9/18/2006
Related Material: http://cs.uccs.edu/~cs522/intro/pcnetsetup/pcnetsetup.htm; Chapter 5.6.
Description:

    1. What is the equivalent Classless IP addess notation for the wired Ethernet subnet?
      What is the equivalent Classless IP address notation for the wireless subnet?
      How many IP addresses can be assigned to machines in this wireless subnet (assume one is used by the router for the grateway interface, one used for broadcast, and one used for identifying the subnet itself)?
    2. What command(s) you use to find out the MAC address of the gateway interface for 128.198.160.0 subnet?

    3. On blanca, the /etc/resolv.conf file shows the following entry

      search uccs.edu eas.uccs.edu
      nameserver 128.198.160.64
      nameserver 128.198.160.66
      nameserver 128.198.1.250

      The search line indicates the domain name(s) to attach to a local name such as sanluis for DNS name lookup.
      The three nameserver lines indicate the primary DNS server used by blanca is 128.198.160.64, the secondary DNS server is 128.198.160.66 and the tenary DNS server is 128.198.1.250.

    4. For DNS query, blanca will first try to send it to 128.198.160.64. In that DNS query message, what is the source IP address, the destination IP address, the source mac address, the destination mac address? What commands you used to find out those information without using ethereal?
      Assume the 128.198.160.64 was shutdown for maintenance so is the 128.198.160.66. Both DNS queries will fail. Blanca will try the 3rd DNS server 128.198.1.250. In that DNS query message to 128.198.1.250, what is the source IP address, the destination IP address, the source mac address, the destination mac address?

      Note that the gateway will forward the DNS query to 128.198.1.250 over its network interface connected to the 128.198.1.0/21 subnet, say 128.198.1.1. The frame sent by 128.198.1.1 interface will contain IP packet sent by arbor. Compare the frame received by the gateawy from blanca with the related frame to be sent by the gateway to 128.198.1.250,
      Does the gateway (router) change the source and destination IP addresses of the IP packets passing by? Explain (Note that there are two cases, one involves with network address translation, NAT).
      Give an example where a gateway may change the source and destination IP addresses of packets passing by.
      Does the gateway (router) change TTL field in the IP header of packets passing by?
      Does the router repeat the source and destination MAC addresses of the incoming frame in its outgoing frame?
    5. If this is the IP packet destined to 129.42.19.99 (ibm.com), will the intermediate routers change any IP header fields?