High Speed Route Lookup for Variable-Length IP Address Wanli Zhang, - - PowerPoint PPT Presentation

high speed route lookup for variable length ip address
SMART_READER_LITE
LIVE PREVIEW

High Speed Route Lookup for Variable-Length IP Address Wanli Zhang, - - PowerPoint PPT Presentation

High Speed Route Lookup for Variable-Length IP Address Wanli Zhang, Xiangyang Gong, Ye Tian, Jifan Tang Beijing University of Posts and Telecommunications Background IP addresses are facing more and more problems l Address exhaustion l Low


slide-1
SLIDE 1

High Speed Route Lookup for Variable-Length IP Address

Wanli Zhang, Xiangyang Gong, Ye Tian, Jifan Tang

Beijing University of Posts and Telecommunications

slide-2
SLIDE 2

Background

IP addresses are facing more and more problems l Address exhaustion l Low packet efficiency l Low flexibility Why? l Fixed-length design

slide-3
SLIDE 3

New IP

l Variable-length and structured addresses l Address space smoothly expands l 1.2.3.4.5

slide-4
SLIDE 4

New IP Communication

l Short address l Long address

slide-5
SLIDE 5

Contribution 1

Analogy with IPv4

l Large address space:

  • 232 ≈ 4 * 109

l Small routing table:

  • 9 * 105

www.cidr-report.org

slide-6
SLIDE 6

Contribution 1

New IP Address l Structured design l Assign IP based on geographic location New IP can aggregate better l BCAMs: Map each segment of New IP to a shorter segment l TCAMs: Longest prefix matching

slide-7
SLIDE 7

53 17 319 106 228 * BCAM1 53 … BCAM2 BCAM3 BCAM4 BCAM5 17 319 106 228 … … … … … … … … … Label1 Label2 Label3 Label4 Label5 *

53.17.319.106.228

101 1010 1110 100 11011

slide-8
SLIDE 8

53 17 319 106 228 * BCAM1 53 … BCAM2 BCAM3 BCAM4 BCAM5 17 319 106 228 … … … … … … … … … Label1 Label2 Label3 Label4 Label5 * TCAM Destination label address Longest prefix matched Store

slide-9
SLIDE 9

Contribution 2

Contribution 1 p TCAM width should be more than the longest address length p Waste TCAM storage space ü Most addresses are much shorter than the longest address ü Long address shortening method ü Reduce TCAM storage space consumption

slide-10
SLIDE 10

Long Address Shorten

l TCAM1: Stores short addresses l TCAM2: Stores long addresses

slide-11
SLIDE 11

Long Address Shorten

Short addresses lookup l Only TCAM1 Long addresses lookup l TCAM1 and TCAM2

slide-12
SLIDE 12

Evaluation

Lookup latency l BCAM+TCAM: Two clock cycles ü Pipeline: One clock cycle TCAM storage space consumption l Random 1 million New IP address l TCAM width for IPv6 : Always 128 ü The router can choose appropriate TCAM width based on the size of its routing table.