Assignment
Date: 9/8/2004
Due Day:
9/15/2004
Related Material: http://cs.uccs.edu/~cs522/intro/pcnetsetup/pcnetsetup.htm;
chapter 5.6.
Description:
Exercise 1. Classless Address Notation
Problem 1. A router has the following
(CIDR) entries in its routing table:
Address/mask Next hop
135.46.56.0/22 Interface 0
135.46.60.0/22 Interface 1
192.53.40.0/23 Router 1
default Router
2
For each of the following IP addresses, what does the router do if a packet
with that address arrives?
(a) 135.46.63.10 (b) 135.46.57.14 (c) 135.46.52.2 (d) 192.53.40.7 (e)
192.53.56.7
Problem 2. lPv6 uses 16-byte addresses. If a block of 1 million addresses is allocated every picosecond, 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.