Presentation is loading. Please wait.

Presentation is loading. Please wait.

Cs/ee 143 Communication Networks Routing Misc Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.

Similar presentations


Presentation on theme: "Cs/ee 143 Communication Networks Routing Misc Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech."— Presentation transcript:

1 cs/ee 143 Communication Networks Routing Misc Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech

2 Outline Putting it all together Routing across Internet  LAN, intra-AS, inter-AS Routing across layers 2 and 3 Selfish routing: inefficiency Dynamic routing: instability

3 Putting it all together [W&P 2010] initially unconnected

4 Putting it all together [W&P 2010]

5 Putting it all together [W&P 2010] initially unconnected 1.How to route G  A? 2.As soon as H is added, D tries to send a packet to H. What happens? 3.If AS2.R2 goes down, what will be the routing changes? later goes down

6 1. compute spanning tree [W&P 2010]

7 2. compute intra-AS routing [W&P 2010]

8 3. compute inter-AS routing [W&P 2010] 1.How to route G  A?

9 3. compute inter-AS routing [W&P 2010] 1.How to route G  A? Does A  G follow the same path?

10 4. Address resolution protocol [W&P 2010] 1.How to route G  A? 2.As soon as H is added, D tries to send a packet to H. What happens? 3.If AS2.R2 goes down, what will be the routing changes? initially unconnected

11 4. Address resolution protocol [W&P 2010] Packets from D can be delivered to subnet AS2.B1 based on IP address of H AS2.B1 does not know H AS2.B1 uses ARP to find H’s MAC address Use STP to forward pkts to H initially unconnected

12 Example: H1 wants to send packet to H2 Ethernet switch gateway Link Network [all, e1, who is IP2?] Link layer on H1 broadcasts a message (ARP query) on its layer 2 network asking for the MAC address corresponding to IP2

13 Example: H1 wants to send packet to H2 Ethernet switch gateway Link Network [all, e1, who is IP2?] Link Network [e1, e2, I am IP2] Link layer on H2 responds to the ARP query with its MAC address

14 Example: H1 wants to send packet to H2 Ethernet switch gateway Link Network Link Network Once the link layer on H1 knows e2, it can now send the original message [e2, e1,[IP1, IP2, X]]

15 Example: H1 wants to send packet to H2 Ethernet switch gateway Link Network Link Network Link layer on H2 delivers the packet to the network layer on H2 [e2, e1,[IP1, IP2, X]] [IP1, IP2, X] [e2, e1,[IP1, IP2, X]]

16 5. re-compute routing table [W&P 2010] 1.How to route G  A? 2.As soon as H is added, D tries to send a packet to H. What happens? 3.If AS2.R2 goes down, what will be the routing changes? goes down

17 5. re-compute routing tables [W&P 2010] goes down Failure detected by AS2.R1 and AS2.R3; update routing tables (intra-AS) Failure detected by border gateway in AS5 BGP re-computes The path between AS2 and AS5 will be changed

18 Outline Putting it all together Routing across Internet  LAN, intra-AS, inter-AS Routing across layers 2 and 3 Selfish routing: inefficiency Dynamic routing: instability

19 Transportation network

20 Transportation Network Which route to take? 10 f f +50 Local alg: min my own delay x r * with equal delay on all routes All delays = 83 equilibrium: delays on all paths equalized

21 Transportation Network Which route to take? Local alg: min my own delay x r * with equal delay on all routes All delays = 83 10 f f +50 f+10

22 Transportation Network Which route to take? Local alg: min my own delay x r * with equal delay on all routes Global objective: min total delay All delays = 83 10 f f +50 f+10

23 Transportation Network Which route to take? 10 f f +50 f+10 “my delay (81) < 83!” Local alg: min my own delay x r * with equal delay on all routes

24 Transportation Network Which route to take? 10 f f +50 f+10 All delays = 82, 81,93 Local alg: min my own delay x r * with equal delay on all routes not an equilibrium !

25 Transportation Network Which route to take? 10 f f +50 f+10 All delays = 92>83! Braess’s Paradox (1968) Local alg: min my own delay x r * with equal delay on all routes new equilibrium: delays on all paths equalized, and worse!

26 Transportation Network Dietrich Braess (German mathematician) “Major road investments in the city center [of Stuttgart] failed to yields the benefits expected. They were only obtained when a cross street… was withdrawn from traffic use.” Murchlan, “Braess’s Paradox of traffic flow”, Transportation Research, 4:391-394, 1970

27 Transportation Network Which route to take? Global objective 10 f f +50 f+10 All delays = 92>83! Braess’s Paradox (1968) not necessarily min! Local alg: min my own delay x r * with equal delay on all routes

28  Global objective Transportation Network Local algorithm route to smaller delay x r * with equal delay on all routes route to smaller cost x r * with equal cost on all routes cost = delay + toll network delay

29 Outline Putting it all together Routing across Internet  LAN, intra-AS, inter-AS Routing across layers 2 and 3 Selfish routing: inefficiency Dynamic routing: instability


Download ppt "Cs/ee 143 Communication Networks Routing Misc Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech."

Similar presentations


Ads by Google