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:
Problem 1. Classless Address Notation and Routing. Chapter 5. Question 43.
Problem 2.a. Network Address Translation. Chapter 5. Question 44.
Problem 2.b. With NAT, can we still claim that 1) the destination address of IP packets will not be changed end-to-end? 2) every IP address uniquely idenfites a machine worldwide? Please brief explain and give an example.
Problem 2.c. lPv6 uses 16-byte addresses. If a block of 1 million addresses is allocated every nanosecond, how long will the addresses last?
Problem 3. IP Address
and Routing.
Given the following routing table on arbor.uccs.edu.
arbor.uccs.edu> netstat -rn
Kernel IP routing table
Destination Gateway Genmask
Flags MSS Window irtt Iface
128.198.160.0 0.0.0.0 255.255.224.0
U 0 0 0
eth0
128.198.80.0 0.0.0.0
255.255.255.0 U 0
0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0
U 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0
U 0 0 0
lo
0.0.0.0 128.198.160.1 0.0.0.0 UG
0 0 0 eth0
From the first entry of the routing table, it indicates arbor located in a wired Ethernet subnet with IP address 128.198.160.0 and genmask (or called netmask) 255.255.224.0. The second entry indicates arbor also has wireless LAN card on a subnet identified with 128.198.80.0 and genmask 255.255.255.0.