DOC PREVIEW
UCLA COMSCI 118 - Chapter_4C_V6.0

This preview shows page 1-2-3-24-25-26-27-49-50-51 out of 51 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

PowerPoint PresentationHierarchical routingSlide 3Interconnected ASesInter-AS tasksExample: setting forwarding table in router 1dExample: choosing among multiple ASesSlide 8Slide 9Intra-AS RoutingRIP ( Routing Information Protocol)RIP: exampleSlide 13RIP: link failure, recoveryRIP table processingOSPF (Open Shortest Path First)OSPF “advanced” features (not in RIP)Hierarchical OSPFSlide 19Internet inter-AS routing: BGPBGP basicsBGP basics: distributing path informationPath attributes and BGP routesBGP route selectionBGP messagesBGP routing policyBGP routing policy (2)Why different Intra-, Inter-AS routing ?Slide 29Broadcast routingIn-network duplicationSpanning treeSpanning tree: creationMulticast routing: problem statementApproaches for building mcast treesShortest path treeReverse path forwardingReverse path forwarding: exampleReverse path forwarding: pruningShared-tree: steiner treeCenter-based treesCenter-based trees: exampleInternet Multicasting Routing: DVMRPDVMRP: continued…TunnelingPIM: Protocol Independent MulticastConsequences of sparse-dense dichotomy:PIM- dense modePIM - sparse modeSlide 50Slide 51Network Layer4-14.1 introduction4.2 virtual circuit and datagram networks4.3 what’s inside a router4.4 IP: Internet Protocoldatagram formatIPv4 addressingICMPIPv64.5 routing algorithmslink statedistance vectorhierarchical routing4.6 routing in the InternetRIPOSPFBGP4.7 broadcast and multicast routingChapter 4: outline (4C)Network Layer4-2Hierarchical routingscale: with 600 million destinations:can’t store all dest’s in routing tables!routing table exchange would swamp links! administrative autonomyinternet = network of networkseach network admin may want to control routing in its own networkour routing study thus far - idealization all routers identicalnetwork “flat”… not true in practiceNetwork Layer4-3aggregate routers into regions, “autonomous systems” (AS)routers in same AS run same routing protocol“intra-AS” routing protocolrouters in different AS can run different intra-AS routing protocolgateway router:at “edge” of its own AShas link to router in another ASHierarchical routingNetwork Layer4-43b1d3a1c2aAS3AS1AS21a2c2b1bIntra-ASRouting algorithmInter-ASRouting algorithmForwardingtable3cInterconnected ASesforwarding table configured by both intra- and inter-AS routing algorithmintra-AS sets entries for internal destsinter-AS & intra-AS sets entries for external destsNetwork Layer4-5Inter-AS taskssuppose router in AS1 receives datagram destined outside of AS1:router should forward packet to gateway router, but which one?AS1 must:1. learn which dests are reachable through AS2, which through AS32. propagate this reachability info to all routers in AS1job of inter-AS routing!AS3AS23b3c3aAS11c1a1d1b2a2c2bothernetworksothernetworksNetwork Layer4-6Example: setting forwarding table in router 1dsuppose AS1 learns (via inter-AS protocol) that subnet x reachable via AS3 (gateway 1c), but not via AS2inter-AS protocol propagates reachability info to all internal routersrouter 1d determines from intra-AS routing info that its interface I is on the least cost path to 1cinstalls forwarding table entry (x,I)AS3AS23b3c3aAS11c1a1d1b2a2c2bothernetworksothernetworksx…Network Layer4-7Example: choosing among multiple ASesnow suppose AS1 learns from inter-AS protocol that subnet x is reachable from AS3 and from AS2.to configure forwarding table, router 1d must determine which gateway it should forward packets towards for dest x this is also job of inter-AS routing protocol!AS3AS23b3c3aAS11c1a1d1b2a2c2bothernetworksothernetworksx………?Network Layer4-8learn from inter-AS protocol that subnet x is reachable via multiple gatewaysuse routing infofrom intra-AS protocol to determinecosts of least-cost paths to eachof the gatewayshot potato routing:choose the gatewaythat has the smallest least costdetermine fromforwarding table the interface I that leads to least-cost gateway. Enter (x,I) in forwarding tableExample: choosing among multiple ASesnow suppose AS1 learns from inter-AS protocol that subnet x is reachable from AS3 and from AS2.to configure forwarding table, router 1d must determine towards which gateway it should forward packets for dest xthis is also job of inter-AS routing protocol!hot potato routing: send packet towards closest of two routers.Network Layer4-94.1 introduction4.2 virtual circuit and datagram networks4.3 what’s inside a router4.4 IP: Internet Protocoldatagram formatIPv4 addressingICMPIPv64.5 routing algorithmslink statedistance vectorhierarchical routing4.6 routing in the InternetRIPOSPFBGP4.7 broadcast and multicast routingChapter 4: outlineNetwork Layer4-10Intra-AS Routingalso known as interior gateway protocols (IGP)most common intra-AS routing protocols:RIP: Routing Information ProtocolOSPF: Open Shortest Path FirstIGRP: Interior Gateway Routing Protocol (Cisco proprietary)Network Layer4-11RIP ( Routing Information Protocol)included in BSD-UNIX distribution in 1982distance vector algorithmdistance metric: # hops (max = 15 hops), each link has cost 1DVs exchanged with neighbors every 30 sec in response message (aka advertisement)each advertisement: list of up to 25 destination subnets (in IP addressing sense)DCBAuvwxyzsubnet hops u 1 v 2 w 2 x 3 y 3 z 2 from router A to destination subnets:Network Layer4-12RIP: example destination subnet next router # hops to dest w A 2y B 2 z B 7x -- 1…. …. ....routing table in router DwxyzACDBNetwork Layer4-13wxyzACDBdestination subnet next router # hops to dest w A 2y B 2 z B 7x -- 1…. …. ....routing table in router DA5 dest next hops w - 1 x - 1 z C 4 …. … ...A-to-D advertisementRIP: exampleNetwork Layer4-14RIP: link failure, recovery if no advertisement heard after 180 sec --> neighbor/link declared deadroutes via neighbor invalidatednew advertisements sent to neighborsneighbors in turn send out new advertisements (if tables changed)link failure info quickly (?) propagates to entire netpoison reverse used to prevent ping-pong loops (infinite distance = 16 hops)Network Layer4-15RIP table processingRIP routing tables managed by application-level process called route-d (daemon)advertisements


View Full Document

UCLA COMSCI 118 - Chapter_4C_V6.0

Download Chapter_4C_V6.0
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Chapter_4C_V6.0 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Chapter_4C_V6.0 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?