Presentation is loading. Please wait.

Presentation is loading. Please wait.

R OUTING IN THE INTERNET. A UTONOMOUS SYSTEM ( AS ) Collections of routers that has the same protocol, administative and technical control Intra-AS routing.

Similar presentations


Presentation on theme: "R OUTING IN THE INTERNET. A UTONOMOUS SYSTEM ( AS ) Collections of routers that has the same protocol, administative and technical control Intra-AS routing."— Presentation transcript:

1 R OUTING IN THE INTERNET

2 A UTONOMOUS SYSTEM ( AS ) Collections of routers that has the same protocol, administative and technical control Intra-AS routing Inter-AS routing 3b 1d 3a 1c 2a AS3 AS1 AS2 1a 2c 2b 1b 3c

3 I NTRA -AS R OUTING also known as Interior Gateway Protocols (IGP) most common Intra-AS routing protocols: RIP: Routing Information Protocol OSPF: Open Shortest Path First

4 RIP ( R OUTING I NFORMATION P ROTOCOL ) Deployed in lover-tier ISPs & enterprise networks Hop is the number of subnets traversed from source to destination Maximum 15 hops Response message (advertisment) every 30’s second UDP & port 520 D C BA u v w x y z destination hops u 1 v 2 w 2 x 3 y 3 z 2 From router A to subnets:

5 4-5 RIP: E XAMPLE Destination Network Next Router Num. of hops to dest. wA2 yB2 zB7 x--1 ….…..... w xy z A C D B Routing/Forwarding table in D

6 OSPF (O PEN S HORTEST P ATH F IRST ) Deployed in upper-tier ISPs “open” - publicly available Djikstra’s shortest-path algorithm Broadcasts routing information, carried by IP Divides routers in hierarchical areas.

7 H IERARCHICAL OSPF

8 A DVANCES EMBODIED IN OSPF Robustness Secure Multiple same-cost path Integrated support for unicast and multicast routing (MOSPF) Support for hierarchy within a single routing domain

9 I NTERNET INTER -AS ROUTING : BGP BGP (Border Gateway Protocol) The protocol that glue internet together BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate reachability information to all AS- internal routers. 3. Determine “good” routes to subnets based on reachability information and policy. 4. Allow each subnet to advertise its existence to the rest of the internet, “I am here”

10 Uses semi permanent TCP, port 179 BGP peers, two routers that’s connected BGP session BGP defines ASs through ASN 3b 1d 3a 1c 2a AS3 AS1 AS2 1a 2c 2b 1b 3c eBGP session iBGP session

11 I MPORTANT ATTRIBUTES AS-PATH – cotains the ASs through which the adsvertisement for the prefix has passed NEXT-HOP – begins the AS-PATH also provides the critical link between inter- and intra-AS routing protocols Import policy – Decides whether the router should accept of filter the route.

12 BGP ROUTE SELECTION Router may learn about more than 1 route to some prefix. Router must select route. Elimination rules: 1. local preference value attribute: policy decision 2. shortest AS-PATH 3. closest NEXT-HOP router: hot potato routing 4. additional criteria

13 Network Layer 4-13 BGP ROUTING POLICY r A,B,C are provider networks r X,W,Y are customer (of provider networks) r X is dual-homed: attached to two networks m X does not want to route from B via X to C m.. so X will not advertise to B a route to C A B C W X Y legend : customer network: provider network


Download ppt "R OUTING IN THE INTERNET. A UTONOMOUS SYSTEM ( AS ) Collections of routers that has the same protocol, administative and technical control Intra-AS routing."

Similar presentations


Ads by Google