SlideShare a Scribd company logo
1 of 25
PATHLET ROUTING 
Amit Srivastava 
Gauri Pulekar
Introducing, ‘Pathlet Routing’ 
 ACM SIGCOMM Computer Communication Review 2009 
 Proposed by research team from UC Berkeley and UI Urbana 
Champaign 
 Addresses two main problems with BGP 
 Scalability 
 Multipath Routing 
 Allows protocol emulation, it can mimic BGP
BGP : It runs the internet! 
 Current de-facto inter AS routing protocol 
 BGP uses destination based forwarding i.e. IP address in the header 
 Uses TCP connection to peers for sending information 
 Only shares a portion of the routing table 
 No periodic update to routing information 
 Routers in the same AS are internal peers, others are external peers
BGP : Messages 
 KEEPALIVE message sent for checking connectivity 
 NOTIFICATION are for failure or before closing connections 
 UPDATE messages carry routing information 
 Routes are stored in Routing Information Bases (RIB): 
 Adj-RIB-In contains information from inbound UPDATE messages, mostly 
unprocessed information 
 Loc-RIB contains local routing formation by applying local policies on the 
data in Adj-RIB-In 
 Adj-RIB-Out contains the routing info the router has selected to share with 
its peers via UPDATE
Building Blocks 
 Vnodes: 
 Virtual node 
 For a given router, it can have n vnodes for n interfaces 
 This allows traffic shaping for traffic coming from an interface 
 Routers learn about vnodes in the AS by exchanging information with 
peers 
 Pathlets: 
 A sequence of vnodes leading to a destination identified by a IP prefix 
 Forwarding Identifier – FID (f) 
 Vnode + Pathlet = Virtual topology
Let’s understand.. 
 Constructing pathlets between peer routers 
A B 
C 
2
Let’s understand.. 
 Two pathlets used to send data from A to C 
3 
2 
A B C 
2, 3 3
Let’s understand.. 
 Three autonomous systems 
3 
2 
A B C 
4 
4 3
Let’s understand.. 
 Three autonomous systems 
A 
B 
C 
y v 
r q 
s
Let’s understand.. 
 Ingress and egress points can be chosen from many available 
options 
A 
B 
C 
x v 
r q 
s
Let’s understand.. 
 Multiple pathlets to suit local transit policies 
A 
B 
C 
x v 
r q 
s
Pathlet Routing - Working 
 Pathlet originates at a router R1 (with vnode v1) 
 The sending vnode refers to its table for possible pathlets to reach 
destination 
 Creates a list of vnodes and calls it a pathlet ( and can advertise it) 
puts the pathlet in the header and send the packet out to a peer 
 Peer removes its own vnode in the packet header and sends along 
to the next vnode 
 This path selection is dependent on local policies of the AS
Route Selection 
 Using shortest path algorithm 
Path for packet forwarding based on result of shortest path algorithm 
run on a graph created by using routing information at vnodes
Pathlet Dissemination 
 Path vector algorithm (just like BGP) 
 Announces pathlet’s FID and sequence of vnodes 
 Scalability: Propagate arbitrary subset of known pathlets 
 Path vector used for sending routing info not routing data
Components Of Pathlet Routing
Components Of Pathlet Routing 
 Controller: Processes the routing information 
 Vnode Manager: Manages all vnodes(tables) on a single device 
 Disseminator: Sends out routing information to peers 
 Router : Router running at least 1 pathlet routing instance 
 Vnode: A small routing table 
 Pathlet: A sequence of vnodes
Implementation: Router 
 The router can have max 5 interfaces 
 It can connect to other routers using TCP 
 The topology is created using a config file 
 There are 2 kinds of messages 
 Data messages with dummy data 
 Routing messages contain routing information in the following format 
{AS-id, RouterId, VnodeId} and {PathletId (FID), IP Prefix} 
 Routers collect stats like size of table in Vnodes and total control 
messages sent and received 
 Allow commands on each router
Implementation: Vnode & Vnode 
Manager 
 Vnode Manager is a container for Vnodes 
 All VNodes have vnode-id, router-id, AS-id to uniquely identify it 
 Controller logic is still being decided but it only decides on installing 
paths from peers on Vnodes 
 The shortest path algorithm is implemented on the Vnode 
 The shortest path algorithm implemented separately but buggy
Implementation: Deciding Topology 
 Using BGP RIB and Update messages to create update messages 
 A simple 3 and 6 node topology being used to achieve basic 
goal of routers exchanging data 
 Currently tables are static
Scope 
 Implement the software router in Python using Twisted and 
NetworkX. 
 Allow exchange of messages on routers arranged in real-world like 
scenario 
 Save the logs for comparison with data from RouteViews 
 Simulate loss of links
Timeline 
Activity Completed Time 
Find internet-based topology data or a 
random graph which can be scaled from 
10 to 300 nodes 
20 October 
Learn and implement the shortest path 
and Path Vector algorithms 
20 October 
Learn basic Erlang. We are using Python 
with NetworkX and Twisted 
27 October 
Explore possible packet structure for 
Pathlet routing 
27 October 
Finalize the details to be implemented or 
BGP and Pathlet routing 
3 November 
 Activities completed so far
Timeline 
 Ongoing activities and future plan 
Ongoing Activities Time 
Run the algorithms for Pathlet and BGP on a 
large 100+ node graph. And verify the result 
10 November 
Simulate of a 3 node graph running BGP 
and Pathlets capable of exchanging 
information. Created a graph of 6 nodes to 
implement Pathlet only not BGP 
17 November 
Verify the above system for discrepancies 24 November 
Add provision for emulating Local policies 
1 December 
for implementing Local Transit policies 
Run comparison studies on the system 8 December
References 
 http://dl.acm.org/citation.cfm?id=1592583 
 https://www.ietf.org/rfc/rfc1771.txt 
 http://jad-reads.blogspot.com/2009/04/thoughts-on-pathlet-routing. 
html 
 ftp://espectrocrom.com/pub/manuales/bgp/cisco%20- 
%20bgp%20- 
%20internet%20routing%20architectures%202ed%20(press%201- 
57870-233-x).pdf 
 http://web.engr.illinois.edu/~pbg/pathlets/
Questions
Thank You

More Related Content

What's hot

Network layer
Network layerNetwork layer
Network layersbkbca
 
How packet data travel over network
How packet data travel over networkHow packet data travel over network
How packet data travel over networkRaisa Anjani
 
Routing, Different types of forwarding technique
Routing, Different types of forwarding techniqueRouting, Different types of forwarding technique
Routing, Different types of forwarding techniquerajib_
 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithmslavanyapathy
 
Routing Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptRouting Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptumardanjumamaiwada
 
Transport layer
Transport layer   Transport layer
Transport layer AnusuaBasu
 
Network layer ip address assignment and routing
Network layer ip address assignment and routingNetwork layer ip address assignment and routing
Network layer ip address assignment and routingHamzahMohammed4
 
Introduction to IP
Introduction to IPIntroduction to IP
Introduction to IPaibad ahmed
 
Ch 19 Network-layer protocols - section 2
Ch 19   Network-layer protocols - section 2Ch 19   Network-layer protocols - section 2
Ch 19 Network-layer protocols - section 2Hossam El-Deen Osama
 
Evolution of Routing Techniques
Evolution of  Routing TechniquesEvolution of  Routing Techniques
Evolution of Routing TechniquesTusharadri Sarkar
 
Ipv4 packet structure
Ipv4 packet structureIpv4 packet structure
Ipv4 packet structurevlsirajagopal
 

What's hot (20)

Network layer
Network layerNetwork layer
Network layer
 
Notes
NotesNotes
Notes
 
How packet data travel over network
How packet data travel over networkHow packet data travel over network
How packet data travel over network
 
Routing, Different types of forwarding technique
Routing, Different types of forwarding techniqueRouting, Different types of forwarding technique
Routing, Different types of forwarding technique
 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithms
 
Routing Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptRouting Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.ppt
 
Link State Protocol
Link State ProtocolLink State Protocol
Link State Protocol
 
Transport layer
Transport layer   Transport layer
Transport layer
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Network layer ip address assignment and routing
Network layer ip address assignment and routingNetwork layer ip address assignment and routing
Network layer ip address assignment and routing
 
rip, ospf 13-14
rip, ospf 13-14rip, ospf 13-14
rip, ospf 13-14
 
Introduction to IP
Introduction to IPIntroduction to IP
Introduction to IP
 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Ch 19 Network-layer protocols - section 2
Ch 19   Network-layer protocols - section 2Ch 19   Network-layer protocols - section 2
Ch 19 Network-layer protocols - section 2
 
Evolution of Routing Techniques
Evolution of  Routing TechniquesEvolution of  Routing Techniques
Evolution of Routing Techniques
 
Routing
RoutingRouting
Routing
 
Ipv4 packet structure
Ipv4 packet structureIpv4 packet structure
Ipv4 packet structure
 
Routing
RoutingRouting
Routing
 

Viewers also liked

Native american tribes.ce
Native american tribes.ceNative american tribes.ce
Native american tribes.ceqspublishing
 
Technology Will Save Our Minds & Bodies
Technology Will Save Our Minds & BodiesTechnology Will Save Our Minds & Bodies
Technology Will Save Our Minds & BodiesCodille
 
Måler sosial effekt med kvalitativ metode
Måler sosial effekt med kvalitativ metodeMåler sosial effekt med kvalitativ metode
Måler sosial effekt med kvalitativ metodeWorld Wide Narrative
 
VI evento MIK - Aprilia, 27 giugno 2013
VI evento MIK - Aprilia, 27 giugno 2013VI evento MIK - Aprilia, 27 giugno 2013
VI evento MIK - Aprilia, 27 giugno 2013Michele Fabietti
 
vensoft http://www.ieeedeveloperslabs.in/ rfid based remote parent care (rfid...
vensoft http://www.ieeedeveloperslabs.in/ rfid based remote parent care (rfid...vensoft http://www.ieeedeveloperslabs.in/ rfid based remote parent care (rfid...
vensoft http://www.ieeedeveloperslabs.in/ rfid based remote parent care (rfid...Vensoft Technologies
 

Viewers also liked (10)

Native american tribes.ce
Native american tribes.ceNative american tribes.ce
Native american tribes.ce
 
gua practica clinica
gua practica clinicagua practica clinica
gua practica clinica
 
Personálna agentúra
Personálna agentúraPersonálna agentúra
Personálna agentúra
 
Christine
ChristineChristine
Christine
 
Physics syn
Physics synPhysics syn
Physics syn
 
Technology Will Save Our Minds & Bodies
Technology Will Save Our Minds & BodiesTechnology Will Save Our Minds & Bodies
Technology Will Save Our Minds & Bodies
 
Brigády v zahraničí
Brigády v zahraničíBrigády v zahraničí
Brigády v zahraničí
 
Måler sosial effekt med kvalitativ metode
Måler sosial effekt med kvalitativ metodeMåler sosial effekt med kvalitativ metode
Måler sosial effekt med kvalitativ metode
 
VI evento MIK - Aprilia, 27 giugno 2013
VI evento MIK - Aprilia, 27 giugno 2013VI evento MIK - Aprilia, 27 giugno 2013
VI evento MIK - Aprilia, 27 giugno 2013
 
vensoft http://www.ieeedeveloperslabs.in/ rfid based remote parent care (rfid...
vensoft http://www.ieeedeveloperslabs.in/ rfid based remote parent care (rfid...vensoft http://www.ieeedeveloperslabs.in/ rfid based remote parent care (rfid...
vensoft http://www.ieeedeveloperslabs.in/ rfid based remote parent care (rfid...
 

Similar to Pathlet routing_Demo2

Pathlet routing CS513
Pathlet routing CS513Pathlet routing CS513
Pathlet routing CS513Gauri Pulekar
 
ospf.ppt
ospf.pptospf.ppt
ospf.pptSolWeje
 
Chapter Four - Network Layer.pptx
Chapter Four - Network Layer.pptxChapter Four - Network Layer.pptx
Chapter Four - Network Layer.pptxGirT2
 
IPv6 Routing.pdf
IPv6 Routing.pdfIPv6 Routing.pdf
IPv6 Routing.pdfniran10
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocolselgraini
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
InternetMappingAndVisualizationGroup5JinfuZhengAndLingLiu
InternetMappingAndVisualizationGroup5JinfuZhengAndLingLiuInternetMappingAndVisualizationGroup5JinfuZhengAndLingLiu
InternetMappingAndVisualizationGroup5JinfuZhengAndLingLiu?? ?
 
Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16daniel ayalew
 
3 ip routing eigrp
3 ip routing eigrp3 ip routing eigrp
3 ip routing eigrpSagarR24
 
Dynamic Routing
Dynamic RoutingDynamic Routing
Dynamic Routingtmavroidis
 
Routing protocols.pptx
Routing protocols.pptxRouting protocols.pptx
Routing protocols.pptxMNSUAM
 

Similar to Pathlet routing_Demo2 (20)

Pathlet routing CS513
Pathlet routing CS513Pathlet routing CS513
Pathlet routing CS513
 
ospf.ppt
ospf.pptospf.ppt
ospf.ppt
 
Chapter Four - Network Layer.pptx
Chapter Four - Network Layer.pptxChapter Four - Network Layer.pptx
Chapter Four - Network Layer.pptx
 
IPv6 Routing.pdf
IPv6 Routing.pdfIPv6 Routing.pdf
IPv6 Routing.pdf
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
InternetMappingAndVisualizationGroup5JinfuZhengAndLingLiu
InternetMappingAndVisualizationGroup5JinfuZhengAndLingLiuInternetMappingAndVisualizationGroup5JinfuZhengAndLingLiu
InternetMappingAndVisualizationGroup5JinfuZhengAndLingLiu
 
Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16
 
Network Layer & Transport Layer
Network Layer & Transport LayerNetwork Layer & Transport Layer
Network Layer & Transport Layer
 
3 ip routing eigrp
3 ip routing eigrp3 ip routing eigrp
3 ip routing eigrp
 
Mod5
Mod5Mod5
Mod5
 
CS6551 COMPUTER NETWORKS
CS6551 COMPUTER NETWORKSCS6551 COMPUTER NETWORKS
CS6551 COMPUTER NETWORKS
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
6.Routing
6.Routing6.Routing
6.Routing
 
Dynamic Routing
Dynamic RoutingDynamic Routing
Dynamic Routing
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithms
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
Ip routing
Ip routingIp routing
Ip routing
 
Routing protocols.pptx
Routing protocols.pptxRouting protocols.pptx
Routing protocols.pptx
 
Arun project-Final
Arun project-FinalArun project-Final
Arun project-Final
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 

Pathlet routing_Demo2

  • 1. PATHLET ROUTING Amit Srivastava Gauri Pulekar
  • 2. Introducing, ‘Pathlet Routing’  ACM SIGCOMM Computer Communication Review 2009  Proposed by research team from UC Berkeley and UI Urbana Champaign  Addresses two main problems with BGP  Scalability  Multipath Routing  Allows protocol emulation, it can mimic BGP
  • 3. BGP : It runs the internet!  Current de-facto inter AS routing protocol  BGP uses destination based forwarding i.e. IP address in the header  Uses TCP connection to peers for sending information  Only shares a portion of the routing table  No periodic update to routing information  Routers in the same AS are internal peers, others are external peers
  • 4. BGP : Messages  KEEPALIVE message sent for checking connectivity  NOTIFICATION are for failure or before closing connections  UPDATE messages carry routing information  Routes are stored in Routing Information Bases (RIB):  Adj-RIB-In contains information from inbound UPDATE messages, mostly unprocessed information  Loc-RIB contains local routing formation by applying local policies on the data in Adj-RIB-In  Adj-RIB-Out contains the routing info the router has selected to share with its peers via UPDATE
  • 5. Building Blocks  Vnodes:  Virtual node  For a given router, it can have n vnodes for n interfaces  This allows traffic shaping for traffic coming from an interface  Routers learn about vnodes in the AS by exchanging information with peers  Pathlets:  A sequence of vnodes leading to a destination identified by a IP prefix  Forwarding Identifier – FID (f)  Vnode + Pathlet = Virtual topology
  • 6. Let’s understand..  Constructing pathlets between peer routers A B C 2
  • 7. Let’s understand..  Two pathlets used to send data from A to C 3 2 A B C 2, 3 3
  • 8. Let’s understand..  Three autonomous systems 3 2 A B C 4 4 3
  • 9. Let’s understand..  Three autonomous systems A B C y v r q s
  • 10. Let’s understand..  Ingress and egress points can be chosen from many available options A B C x v r q s
  • 11. Let’s understand..  Multiple pathlets to suit local transit policies A B C x v r q s
  • 12. Pathlet Routing - Working  Pathlet originates at a router R1 (with vnode v1)  The sending vnode refers to its table for possible pathlets to reach destination  Creates a list of vnodes and calls it a pathlet ( and can advertise it) puts the pathlet in the header and send the packet out to a peer  Peer removes its own vnode in the packet header and sends along to the next vnode  This path selection is dependent on local policies of the AS
  • 13. Route Selection  Using shortest path algorithm Path for packet forwarding based on result of shortest path algorithm run on a graph created by using routing information at vnodes
  • 14. Pathlet Dissemination  Path vector algorithm (just like BGP)  Announces pathlet’s FID and sequence of vnodes  Scalability: Propagate arbitrary subset of known pathlets  Path vector used for sending routing info not routing data
  • 16. Components Of Pathlet Routing  Controller: Processes the routing information  Vnode Manager: Manages all vnodes(tables) on a single device  Disseminator: Sends out routing information to peers  Router : Router running at least 1 pathlet routing instance  Vnode: A small routing table  Pathlet: A sequence of vnodes
  • 17. Implementation: Router  The router can have max 5 interfaces  It can connect to other routers using TCP  The topology is created using a config file  There are 2 kinds of messages  Data messages with dummy data  Routing messages contain routing information in the following format {AS-id, RouterId, VnodeId} and {PathletId (FID), IP Prefix}  Routers collect stats like size of table in Vnodes and total control messages sent and received  Allow commands on each router
  • 18. Implementation: Vnode & Vnode Manager  Vnode Manager is a container for Vnodes  All VNodes have vnode-id, router-id, AS-id to uniquely identify it  Controller logic is still being decided but it only decides on installing paths from peers on Vnodes  The shortest path algorithm is implemented on the Vnode  The shortest path algorithm implemented separately but buggy
  • 19. Implementation: Deciding Topology  Using BGP RIB and Update messages to create update messages  A simple 3 and 6 node topology being used to achieve basic goal of routers exchanging data  Currently tables are static
  • 20. Scope  Implement the software router in Python using Twisted and NetworkX.  Allow exchange of messages on routers arranged in real-world like scenario  Save the logs for comparison with data from RouteViews  Simulate loss of links
  • 21. Timeline Activity Completed Time Find internet-based topology data or a random graph which can be scaled from 10 to 300 nodes 20 October Learn and implement the shortest path and Path Vector algorithms 20 October Learn basic Erlang. We are using Python with NetworkX and Twisted 27 October Explore possible packet structure for Pathlet routing 27 October Finalize the details to be implemented or BGP and Pathlet routing 3 November  Activities completed so far
  • 22. Timeline  Ongoing activities and future plan Ongoing Activities Time Run the algorithms for Pathlet and BGP on a large 100+ node graph. And verify the result 10 November Simulate of a 3 node graph running BGP and Pathlets capable of exchanging information. Created a graph of 6 nodes to implement Pathlet only not BGP 17 November Verify the above system for discrepancies 24 November Add provision for emulating Local policies 1 December for implementing Local Transit policies Run comparison studies on the system 8 December
  • 23. References  http://dl.acm.org/citation.cfm?id=1592583  https://www.ietf.org/rfc/rfc1771.txt  http://jad-reads.blogspot.com/2009/04/thoughts-on-pathlet-routing. html  ftp://espectrocrom.com/pub/manuales/bgp/cisco%20- %20bgp%20- %20internet%20routing%20architectures%202ed%20(press%201- 57870-233-x).pdf  http://web.engr.illinois.edu/~pbg/pathlets/