Download - Running Multiple XORP Instances In One Box
![Page 1: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/1.jpg)
Running Multiple XORP Instances In One Box
Jiaqing Du
![Page 2: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/2.jpg)
Outline
• Introduction• XORP Overview• Running XORP• Configuring XORP• Experiment• Conclusion
![Page 3: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/3.jpg)
Introduction
• XORP– eXtensible Open Router Platform– Why reinvent the wheel?
• Vision of authors– Why the Internet only just works
• Vision of MX– Control plane of Internet-in-a-lab
• Vision of others– Intel Research– Vyatta Inc.
![Page 4: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/4.jpg)
XORP Overview
Control Plane
Data Plane
![Page 5: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/5.jpg)
Running XORP (1/2)
• Virtual network interface– VLAN on Linux (802.1q kernel module)– Supported by XORP– Almost the same as physical interfaces
• Port conflicts– Finder: 127.0.0.1:19999– OSPF: raw socket– BGP: 179
![Page 6: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/6.jpg)
Running XORP (2/2)
• OSPF traffic– Multicast packets– TTL = 1, dst = 224.0.0.5– setsockopt(), IP_MULTICAST_LOOP
OSPFv2XORP0
OSPFv2XORP1
Physical NIC
Virtual NIC
![Page 7: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/7.jpg)
Configuring XORP
• Input– xml file describes network topology
• Intermediate– Ruby objects– AS, router, interface, link
• Output– XORP configuration files– startup and shutdown shell scripts
![Page 8: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/8.jpg)
Experiment (1/2)
• Topology from VINI– 11 OSPF routers in a AS
![Page 9: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/9.jpg)
• Another topology– Multiple ASes– Routes redistribution
Experiment (2/2)
AS0
AS1
AS2
![Page 10: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/10.jpg)
Conclusion
• Deliverable– Slightly patched XORP-1.5– Configuration scripts
• Learned– How a router works– How routing protocols really work
![Page 11: Running Multiple XORP Instances In One Box](https://reader038.vdocuments.mx/reader038/viewer/2022100517/554f4e58b4c905423f8b502a/html5/thumbnails/11.jpg)
Questions?