Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Searching
Longest
Prefix Match
in FIB (Too
Slow)
Feb 14, 2008 CS 573: Network Protocols and Standards 6
Problems with IP routing
Too slow
IP lookup (longest prefix matching) was a
major bottleneck in high performance routers
This was made worse by the fact that IP
forwarding requires complex lookup operation
at every hop along the path
Too rigid no flexibility
Routing decisions are destination-based
Not scalable in some desirable applications
When mapping IP traffic onto ATM
Packet 1: Destination A
Packet 2: Destination B
S computes shortest paths to A and B; finds D as next hop
Both packets will follow the same path
Leads to IP hotspots!
Solution?
Try to divert the traffic onto alternate paths
S D
3 4 5
Label = 20 bits
Exp = Experimental, 3 bits
S = Bottom of stack, 1bit
TTL = Time to live, 8 bits
D
R1 LSR4 R2
LSR1
D
LSR6 destination
LSR3
LSR2 R1 and R2 are
regular routers
LSR5
D
R1 LSR4 R2
LSR1
D
LSR6 destination
LSR3
LSR2
LSR5
R1 LSR4 R2
LSR1
31 D
D
LSR6 destination
LSR3
LSR2
LSR5
R1 LSR4 R2
LSR1
D
LSR6 destination
LSR3 17 D
LSR2
R1 LSR4 R2
LSR1
D
LSR6 destination
LSR3 17 D
LSR2
Path within MPLS cloud
is pre-established:
LSR5
LSP (label-switched path)
Upstream Downstream
172.68.10/24
LSR1 LSR2
Data
Upstream Downstream
Use label 5 for destination
171.68.32/24
171.68.32/24
LSR1 LSR2
LSR1 LSR2
Request For label
Label
Egress LSR
Ingress LSR
Label
Label
Egress LSR
Ingress LSR
? Destination
Label
LSR1
Label
Make-before-break mechanism
Adaptive, smooth rerouting and traffic
transfer before tearing down the old LSP
Not disruptive to traffic