Escolar Documentos
Profissional Documentos
Cultura Documentos
What are the differences between the functionalities of Network layer and Transport layer?
Check the prefix of the packet's destination address. If there's a match, the router forwards the packet to
al link associated with the match.
What is the router architecture and its functions? What is the functionality of each component in the
router architecture?
1
What are the three types of router switching fabrics? What are the differences between them?
Memory: packet copied to system's memory, then direct to output port with direct control of CPU. Speed
limited by memory bandwidth.
Bus: packets are sent via a shared bus. Switching speed limited by sub bandwidth.
Crossbar: overcome bus bandwidth limitations. Uses multiprocessor.
What are the major component of the Internet network layer? What is the functionality of each
component?
How does IP fragmentation work? Show the details of dividing and reassembling a datagram.
2
What is a subnet in IPv4? What is the format of a subnet address?
How does NAT work? How does host connect the server behind NAT?
• Outgoing datagrams: replace <source IP address: port #> of every outgoing datagram to <NAT IP
address: new port #>.
• Remember (in NAT translation table) every <source IP address, port #> to <NAT IP address:
new port #>.
• Incoming datagrams: replace <NAT IP address: new port #> in dest fields of every incoming
datagram with corresponding <source IP address, port #> stored in NAT table.
The traceroute command is implemented by transmitting UDP datagrams with specially set IP TTL
header fields, and looking for ICMP Time to live exceeded in transit and "Destination unreachable"
message generated in respons.
CH4-2
Calculate ths forwarding tables of all nodes in the example network by Dijkstra algorithm.
3
Calculate ths forwarding table of all nodes in the example network by Distance Vector algorithm.
How does RIP work? Include route adding, removing, and updating. How does RIP take care of poison
reverse?
When a gateway is no longer connected to, the one of the gateway will notify all neighbor gateways by
setting the unconnected gateway to a number that indicates "infinite". Usually 16.
How does OSPF establish its routing hierarchy? List the functionalities of special routers in the
hierarchy.
Two-level hierarchy: Link-state advertisements only in area; each nodes has tetailed area topology, only
know direction (shortest path) to nets in other area.
• Area border router: "summarize" distances to nets in own area.
• backbone router: run OSPF routing limited to backbone.
• boundary router: connects to other AS's.
BGP (Border Gatway Protocol) is the protocol backing the core routing decisions on the Internet.
Elimination rules:
• local preference value attribute: policy decision
• shortest AS-PATH
• closest NEXT-HOP router: hot potato routing
• additional criteria
4
What are the differences between Intra-AS and Inter-AS routing?
Polocy:
Inter-AS: admin wants control over how its traffic routed, who routes through its net.
Intra-AS: single admin, so no policy decisions nedded.
Performance:
Inter-AS: can focus on performance
Intra-AS: policy may dominate over performance
How does a network build spanning tree? How does a network build shortest path tree?
Spanning tree:
Define center node, each node sends unicast join message to center node. Message forwarded
until it arrives at a node already belonging to spanning tree.
How does reverse path forwarding(RPF) work? How does pruning work in RPF?
Dense: group members densely packed, in "close" proximity; bandwidth more plentiful.
Sparse: # networks with group members small wrt # interconnected networks; group members "widely
dispersed"; bandwidth not plentiful.