Lab Course RouterLab RIP - Routing Information Protocol (RFC 2453) - - PowerPoint PPT Presentation

lab course routerlab
SMART_READER_LITE
LIVE PREVIEW

Lab Course RouterLab RIP - Routing Information Protocol (RFC 2453) - - PowerPoint PPT Presentation

Lab Course RouterLab RIP - Routing Information Protocol (RFC 2453) Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf 1 Monday, May 4, 2009 Miscellaneous Feedback Any other thing that needs


slide-1
SLIDE 1

Lab Course “RouterLab”

RIP - Routing Information Protocol (RFC 2453)

1 Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf

Monday, May 4, 2009

slide-2
SLIDE 2

RIP

Miscellaneous

  • Feedback
  • Any other thing that needs discussion?

2

Monday, May 4, 2009

slide-3
SLIDE 3

RIP

Internet Routing

  • There is no single....
  • Routing Protocol
  • Routing Configuration
  • Routing State,
  • Routing Management
  • ....... for the entire Internet!
  • Routing System is a collection of many

components hopefully operating in a consistent manner

3

Monday, May 4, 2009

slide-4
SLIDE 4

RIP

Internet Routing (I)

  • All routing systems have the same basic

approach:

  • I tell you what I know and you tell me what you know!
  • All routing systems aim at:
  • Avoid loops
  • Avoid dead-ends
  • Find “optimal” (or “best”) path
  • for any definition of optimality

4

Monday, May 4, 2009

slide-5
SLIDE 5

RIP

Internet Routing (II)

  • Distance Vector
  • I tell you all my “best”

routes for all destinations that I know and you tell me yours.

  • Build simplified

topology from local perspective

  • E.g. RIP

5

  • Link State
  • I announce to everyone

about my links and the addresses I originate on each link and listen to everyoneʼs announcement.

  • Build full topology
  • E.g. OSPF

Monday, May 4, 2009

slide-6
SLIDE 6

RIP

RIP (Distance Vector)

  • I tell you all my “best” routes for all destinations

that I know and you tell me yours

  • Build simplified topology from local perspective
  • If any of your routes better than mines Iʼll use

you for those destination

  • Iʼll let all my other neighbors know

6

Monday, May 4, 2009

slide-7
SLIDE 7

RIP

  • Is an instantiation of the Bellman-Ford Algorithm
  • Define Dx(Y) := cost of the least-cost path from X to Y
  • Then:

RIP (Distance Vector)

7

Wait for an update Recompute Costs Issue periodic update

d(me)(Dst) = min (

All my neighbors)

{d(me)(nx) + d(nx)(Dst)}

Monday, May 4, 2009

slide-8
SLIDE 8

RIP

RIP Advertisements

  • Every 30 seconds Response Message
  • Each containing network-distance pairs
  • Max 25 pairs per Message
  • Request Message to ask for full or partial dumps
  • Used for example for new links

8

Monday, May 4, 2009

slide-9
SLIDE 9

RIP

RIP

  • Very simple
  • Verbose (and slow) during convergence
  • Good news can travel fast
  • Bad news can travel slow
  • Hard to detect loops
  • Flat
  • Does not scale (16 hops = infinity)

9

Monday, May 4, 2009

slide-10
SLIDE 10

RIP

Good news

  • Node 3
  • Node 1

10

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

Monday, May 4, 2009

slide-11
SLIDE 11

RIP

Good news

  • Node 3
  • Node 1

10

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

1

Monday, May 4, 2009

slide-12
SLIDE 12

RIP

Good news

  • Node 3
  • Node 1

10

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

1 1

Monday, May 4, 2009

slide-13
SLIDE 13

RIP

Good news

  • Node 3
  • Node 1

10

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

1

1

1 2 1

Monday, May 4, 2009

slide-14
SLIDE 14

RIP

Good news

  • Node 3
  • Node 1

10

Cost from 3 to Cost from 3 to 1 2

1

2

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Cost from 1 to Cost from 1 to 2 3

1

1

Time

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

1

1

1 2 1

Monday, May 4, 2009

slide-15
SLIDE 15

RIP

Bad news (count to infinity)

  • Node 3
  • Node 1

11

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

Monday, May 4, 2009

slide-16
SLIDE 16

RIP

Bad news (count to infinity)

  • Node 3
  • Node 1

11

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

INF

Monday, May 4, 2009

slide-17
SLIDE 17

RIP

Bad news (count to infinity)

  • Node 3
  • Node 1

11

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

INF 6

Monday, May 4, 2009

slide-18
SLIDE 18

RIP

Bad news (count to infinity)

  • Node 3
  • Node 1

11

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

Cost from 3 to Cost from 3 to 1 2

1 5 7

INF 6

Monday, May 4, 2009

slide-19
SLIDE 19

RIP

Bad news (count to infinity)

  • Node 3
  • Node 1

11

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

6

1

7 INF 6 8

Monday, May 4, 2009

slide-20
SLIDE 20

RIP

Bad news (count to infinity)

  • Node 3
  • Node 1

11

Cost from 3 to Cost from 3 to 1 2

1

7

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Time

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

6

1

7 INF 6 8 9

Monday, May 4, 2009

slide-21
SLIDE 21

RIP

Bad news (count to infinity)

  • Node 3
  • Node 1

11

Cost from 3 to Cost from 3 to 1 2

1

7

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

4 1

Cost from 1 to Cost from 1 to 2 3

8

1

Time

Cost from 3 to Cost from 3 to 1 2

1 5

Cost from 1 to Cost from 1 to 2 3

6

1

7 INF 6 8 9 10

Monday, May 4, 2009

slide-22
SLIDE 22

RIP

RIP enhancements

  • Split Horizon (mandatory)
  • Donʼt announce route to neighbor from which route

learned

  • Split Horizon with Poisoned Reverse (optional)
  • instead tell him the route is not reachable
  • Triggered updates (mandatory)
  • If the cost of an entry of the routing table changes a

partial update is issued right away

12

Monday, May 4, 2009

slide-23
SLIDE 23

RIP

Worksheet 3

  • Use same VLANs topology like in Question 1

Work Sheet 2

  • Target: logical networks communicate using RIP
  • Plus additional 10.20.30.0/24 networks announced by

loadgen102-xxx (preconfigured)

  • Readings:
  • Cisco RIP
  • Juniper RIP
  • RFC 2453
  • man iptables

13

Monday, May 4, 2009