______________________________________
Please sign: I pledge that I have neither given nor received help on this assignment.
______________________________________
Please answer the following questions:
(b) Your local ISP configures its edge router such that all packets to
network 131.106.0.0 are forwarded
to Microsoft (via interface 0) except those
packets that are destined for your subnet. Packets destined to
your subnet are forwarded to your
company's router (via interface 1).
You arrange with the ISP (and with Microsoft) to give your subnet the
numeric ID: 1 (which would be the content of the subnet field).
Write two forwarding table entries (for the ISP's router) to
configure the router such that it forwards traffic
properly to your subnet and
to Microsoft on network 131.106.0.0.
(2 points)
Subnet Number Subnet Mask Interface
131.106.0.0 255.255.0.0 0
131.106.4.0 255.255.252.0 1
Observe that in the above configuration, traffic that goes to your
subnet will match both entries. CIDR will choose the longer match
which is the second entry (please read CIDR). In contrast, traffic that
matches the first entry but not the second will go to Microsoft,
which is precisely what you want.
(c) In addition to the two entries you just wrote,
the ISP realizes that the same router has a third entry, which
routes data to Microsoft Research. It turns out, Microsoft Research
also branches off interface 0. It owns the entire class-B network
at address 131.107.0.0 (e.g., try telnet www.research.microsoft.com).
Can you reduce the aforementioned three entries into two
without losing any
information in the forwarding table? If so, write the two
forwarding table
entries needed. If not, explain why this is impossible.
(1 point)
Yes, it is possible to abbreviate the routing table to the following two
entries:
Subnet Number Subnet Mask Interface
131.106.0.0 255.254.0.0 0
131.106.4.0 255.255.252.0 1
Observe how the second byte of the subnet mask in the first table
entry is 254, not 255. This means that only the first 15 bits of the IP
address are to be matched. Hence, both 131.106 and 131.107 will match
the first entry and be routed to Microsoft, unless the IP also matches
the second entry (a longer prefix) in which case it will be routed to you.
Metric IP ATM
Lookup Less efficient More efficient
Robustness Higher Lower
Table updates Less frequent More frequent
Field Longer Shorter
(1 point)
To avoid having to assign globally unique VCIs.
Assigning a globally unique id to each connection on the
Internet will be extremely difficult. In contrast, each router
can easily assign a locally unique id.