Design and development of the reactive BGP peering in softwaredefined routing exchanges

Similar documents
Homework 3 Discussion

Putting it all together

PIX-IE An SDN-based Programmable Internet exchange

Border Gateway Protocol - BGP

EIGRP Over the Top. Finding Feature Information. Information About EIGRP Over the Top. EIGRP Over the Top Overview

Computer Science 461 Final Exam May 22, :30-3:30pm

Introduction to Computer Networks

MPLS, THE BASICS CSE 6067, UIU. Multiprotocol Label Switching

Assignment 5: Software Defined Networking CS640 Spring 2015

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

CSC 4900 Computer Networks: Routing Protocols

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

Ch. 5 Maintaining and Troubleshooting Routing Solutions. Net412- Network troubleshooting

Cisco CCNA Basic IP Routing Part I

Internet protocol stack

Lecture 6. Internet Security: How the Internet works and some basic vulnerabilities. Thursday 19/11/2015

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Software-Defined Networking (SDN) Overview

Chapter 5: Maintaining and Troubleshooting Routing Solutions

FINAL EXAM - SLOT 2 TCP/IP NETWORKING Duration: 90 min. With Solutions

Communication Networks

Symbols. Numerics I N D E X

CCENT Study Guide. Chapter 9 IP Routing

Internet Control Message Protocol (ICMP)

Software Defined Networking

Why dynamic route? (1)

TCP/IP Protocol Suite

CSE 123: Computer Networks

CSE 123: Computer Networks

Inter-Autonomous-System Routing: Border Gateway Protocol

Lecture 19: Network Layer Routing in the Internet

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

Chapter 5 Network Layer: The Control Plane

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Project 4: SDNs Due: 11:59 PM, Dec 12, 2018

Interconnected Multiple Software-Defined Network Domains with Loop Topology

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

Chapter 12 Network Protocols

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Inter-Autonomous-System Routing: Border Gateway Protocol

CSC 4900 Computer Networks: Network Layer

OpenState demo. Hands-on activity. NetSoft 15 - April 13, 2015 A.Capone & C. Cascone: OpenState Live Demo 1

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

CSC 4900 Computer Networks: Link Layer (3)

Internet Routing Basics

Lecture Computer Networks

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

FiberstoreOS BGP Configuration

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Software Defined Networking

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

Cisco. Maintaining Cisco Service Provider VPNs and MPLS Networks (MSPVM)

Internetworking Part 2

Chapter 6 Addressing the Network- IPv4

Software-Defined Networking (Continued)

CS118 Discussion 1A, Week 9. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

On the State of the Inter-domain and Intra-domain Routing Security

EXAM TCP/IP NETWORKING Duration: 3 hours With Solutions

Lecture outline. Internet Routing Security Issues. Previous lecture: Effect of MinRouteAdver Timer. Recap of previous lecture

Sybex CCENT Chapter 8: IP Routing. Instructor & Todd Lammle

EXAM TCP/IP NETWORKING Duration: 3 hours

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

MPLS VPN. 5 ian 2010

Overview. Information About Layer 3 Unicast Routing. Send document comments to CHAPTER

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

BGP Routing and BGP Policy. BGP Routing. Agenda. BGP Routing Information Base. L47 - BGP Routing. L47 - BGP Routing

CSCI Topics: Internet Programming Fall 2008

Link State Routing & Inter-Domain Routing

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Switching & ARP Week 3

CIS 632 / EEC 687 Mobile Computing

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Most important (cont d) What s most important in Project 1. Important for individuals. From from Most Important

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

Outline. SDN Overview Mininet and Ryu Overview Mininet VM Setup Ryu Setup OpenFlow Protocol and Open vswitch Reference

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN

CSc 450/550 Computer Networks Internet Routing

An Architecture to Manage Incoming Traffic of Inter-Domain Routing Using OpenFlow Networks

Cisco Exam Cisco Certified Network Associate (CCNA) Version: 14.7 [ Total Questions: 653 ]

PT Activity 5.6.1: Packet Tracer Skills Integration Challenge Topology Diagram

Routing Protocols --- Exterior Gateway Protocol

SDX: A Software Defined Internet Exchange

TDTS06 Computer Networks Final Exam: 14:00-18:00, Friday, November 1, 2013

Assignment 5. 2 Assignment: Emulate a Data Center and Manage it via a Cloud Network Controller

Configuration and Management of Networks

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

Multiprotocol Label Switching (MPLS) on Cisco Routers

Introduction to routing in the Internet

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

Route Manipulation Using Sdn and Quagga

Lecture 13: Traffic Engineering

Introduction to IP Routing. Geoff Huston

Hands on SDN and BRO

Automatic bootstrapping of OpenFlow networks

Stateful Firewall Application on Software Defined Networking

CSC 401 Data and Computer Communications Networks

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols

Paper solution Subject: Computer Networks (TE Computer pattern) Marks : 30 Date: 5/2/2015

Lab 3: Simple Firewall using OpenFlow

COMP211 Chapter 5 Network Layer: The Control Plane

Transcription:

Design and development of the reactive BGP peering in softwaredefined routing exchanges LECTURER: HAO-PING LIU ADVISOR: CHU-SING YANG (Email: alen6516@gmail.com) 1

Introduction Traditional network devices are verticallyintegrated black-boxes. Software-defined networking (SDN) separates the data plane and the control plane of the network. allowing centralized control data plane devices just perform packet forwarding The logical view of a SDN architecture 2

Introduction (cont.) To deploy SDN in WAN, the ongoing researching direction is to gradually convert legacy networks into SDN or hybrid networks. Many papers mention about using BGP to exchange routes between legacy networks and new SDNenable networks. In this paper, we design a reactive BGP peering in SDN routing exchanges. 3

Scenario 4

System design Integrating the BGP capability to the central control of SDN. 10.0.1.1 Virtual BGP entity BGP messages are encapsulated as OpenFlow packet-in messages and then sent to the controller. BGP peer Packet-in controller Packet-out Similarly, the replies from the controller are also encapsulated as OpenFlow packet-out messages. Legacy Network BGP msg SDN 10.0.1.2 r1 s1 5

Architecture (cont.) Main module initiates the virtual BGP entity. Reading the configuration Installing flow rules to match BGP packets Main module receives the request and returns the replies to the corresponding switches. Protocol Handler module is responsible for parsing the packets and generating replies. 6

System design Peering mechanism To achieve the BGP peering, we need to handle the entire control of the communication. ARP query TCP 3-way handshake TCP SYN ARP Request BGP query BGP Open TCP SYN/ACK RIB Our Neighbor TCP ACK ARP BGP Reply Open Virtual BGP Entity The Protocol Handler module is designed in a layered manner to handle packet headers at different protocol level. 7

System design RIB update BGP Handler module is responsible for extracting the routing information. BGP update BGP Handler RIB Handler module is responsible for modifying the RIB. Routing information entries The SDN domain should also advertise this update message to the other neighbors to continue the information propagation. RIB Handler Insert Delete RIB (Memory) 8

System design Software-defined Routing Mechanism This mechanism is designed to provide a path for inter-domain IP traffics. External network Install flow rules Path Handler module is responsible for selecting the flow path and installing the flow rules. IP packet Install flow rules Install flow rules IP packet External network 9

System design Software-defined Routing Mechanism (cont.) However, these IP packets will be dropped. Neighbors regard the virtual BGP entity as the next hop. Adding a destination MAC address rewrite action to change the destination MAC address of the packets. Adding a TTL descending action. External network IP packet My next hop is Virtual BGP Entity forward MAC rewrite, TTL-1 forward forward Wrong destination MAC address! IP packet External network 10

System design Software-defined Routing Mechanism (cont.) To avoid the excessive number of flow rules on the switches, we can utilize the idle timeout control provided by the OpenFlow protocol. If a flow rule is idle for certain time period, the flow rule will be eliminated automatically. 11

Experimental environment In the topology we use: Mininet as the network emulator MiniNet Quagga as the software routing suite used by r1, r2 and r3 Open vswitch provided by Minint as the SDN switch used by s1, s2 and s3 Ryu as the SDN controller 12

Experiment result We start Ryu with our approach as an application to control the topology. The figure shows every BGP router records the IP prefix of other ASes. The SDN domain can properly receive the BGP update messages and advertise to the others. 13

Experiment result (cont.) We do the Ping tests between the hosts to check the availability of flow paths. As the figure shows, we confirm that each host can receive the IP packets sent from the others. 14

Discussion We have achieved the basic stitching between these two type of network paradigms. However, we have not tested our system with the BGP routers in the real internet environment. Scalability issues are predictable due to the restriction of the size of flow tables in the switches and the performance of single controller. 15

Conclusion We design a virtual BGP entity on the SDN controller that can mask a SDN domain as a transit AS. By utilizing OpenFlow packet-in and packet-out messages, our system can exchange BGP messages with neighbors through the switches in the data plane. Our approach also provides the software-defined routing mechanism for the inter-domain IP traffics. 16

Q & A THANK YOU FOR YOUR LISTENING ANY QUESTIONS? 17

AS 65001 (192.168.1.0/24) AS 65003 (192.168.3.0/24) h1 h1-eth0: 192.168.1.1 h3-eth0: 192.168.3.1 h3 r1-eth1: 192.168.1.254 r3-eth1: 192.168.3.254 Quagga BGP router r1 r1-eth0: 10.0.1.1 r3-eth0: 10.0.3.1 Quagga BGP router r3 Controller control Plane (SDN) OpenFlow s1 s2 s3 AS 65000 Data Plane (SDN) r2-eth0: 10.0.2.1 Quagga BGP router r2 r2-eth1: 192.168.2.254 h2-eth0: 192.168.2.1 h2 AS 65002 (192.168.2.0/24)