




























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























Static route: configured at host build time. DHCP route: configured when the host gets an address. Interaction with a routing protocol. How does a host learn about routing? How does a host learn about routing? Monday, February 06, 2012 3:15 PM Docsity.com
Not required for small networks; static routing plus a default route will work. Absolutely required for enterprise networks containing multiple subnets. Allow routers to exchange information. Routing protocols RIP: the subnet/small site. OSPF: the enterprise BGP: the whole internet. Function at multiple "grains" Routing protocols Monday, February 06, 2012 3:12 PM Docsity.com
Tiered structure Tiered structure Thursday, October 06, 2005 7:45 AM Docsity.com
Basic challenge of the internet: protocols can be poisoned by providing bad information. someone brings a laptop to ECE/CS, connects to network, and then dials up MIT on the phone and connects to their network The laptop advertises a one-hop route to MIT. RIP ignores bandwidth. Any host that is listening to RIP automatically starts forwarding packets to MIT through the laptop! Result: slower response to/from MIT. If RIP and routing are enabled on the laptop, then Classic example: Someone hacks routed, puts up a buggy copy that advertises a completely bogus gateway to aol.com. Hosts listening to advertisement automatically send packets to the bogus gateway. Packets for AOL are dropped. Result: site is unavailable to all hosts on network. More malicious example: These are why we do not utilize dynamic routes within Halligan! Poisoning Tuesday, October 04, 2005 8:50 AM Docsity.com
LAN-based (one building, or one floor) Optimizes hop distance to target (an integer)
Extremely easy to configure Extremely easy to poison. Ignores redundant paths. RIP: routing information protocol Enterprise-based Optimizes trip time. Moderately difficult to configure. Moderately difficult to poison. Utilizes redundancy in paths. OSPF: Open Shortest Path First Between ISP's and enterprises. Optimizes contractual cost. Very difficult to configure. Very difficult to poison (stakes are high!)
Utilizes all possible paths. BGP: Boundary Gateway Protocol. Main routing protocols The main routing protocols Thursday, October 06, 2005 7:30 AM Docsity.com
Not user datagrams. Not accessible to application programs. Use datagrams in the IP protocol Create mechanisms for contacting nearest- neighbors. Trust the network to propogate network- wide changes. How does one build a routing protocol? How does one build a routing protocol? Monday, February 06, 2012 3:17 PM Docsity.com
RIP example B's routing table is initially v direct 1 w direct 1 to next hop metric From A, u is 1 hop Advertisement from router A: After this, B's routing table says u A 2 v direct 1 w direct 1 to next hop metric RIP example Thursday, October 06, 2005 8:09 AM Docsity.com
w direct 1 Initially, D's routing table says x direct 1 y direct 1 to next hop metric to v takes 1 hop to w takes 1 hop to u takes 2 hops through A Advertisement from router B: Afterward, D's routing table says x direct 1 y direct 1 v B 2 w B 2 u B 3 to next hop metric Docsity.com
End of lecture on 2/16/ Tuesday, February 21, 2012 7:18 PM Docsity.com
Successor to RIP Open: an "open standard" (as opposed to closed standards supported by one vendor) Within an area, use link-state algorithm(!). Between areas, boundary routers forward distance vectors from other areas into the link- state algorithm(!) Concept of area: a tightly-coupled group of routers boundary routers: overlap between areas; provide gateways to outside world. If all weights are 1, we have hops. If weights are transmission delays, we minimize transmission time If weights are costs, we minimize monetary expenditure. Link weights are set arbitrarily, to whatever is important. Open Shortest Path First (OSPF) OSPF Thursday, October 06, 2005 8:36 AM Docsity.com
Docsity.com
A legal and workable OSPF configuration Tuesday, February 21, 2012 6:07 PM Docsity.com
In an area, boundary routers advertise distance to areas.
Each router combines this with link-state distance to determine which boundary router to use.
level: Docsity.com
Inter-area + intra-area distance does not include distance from area to destination! One thing left out: total path length is not minimum (in time) backbone travel + source area travel is minimum. This means that Example of backbone calculation Thursday, October 06, 2005 8:36 AM Docsity.com