ExaBGP ou comment gérer ses IPs de service
|
|
|
- Melanie Chandler
- 10 years ago
- Views:
Transcription
1 BGP FOR SYSADMIN ExaBGP ou comment gérer ses IPs de service SYSADMIN #4 28th of Febuary 2013 Thomas Mangin Exa Networks Whatever a speaker is missing in depth he will compensate for in length Montesquieu
2 NO NETWORKING 101 I assume that... You have basic networking knowledge (connected, static routes) Your organisation use some routers you can break You know what IPs, netmasks, gateways are I will cover Quickly Dynamic Routing What is BGP, the Border Gatway Protocol Why BGP is a great protocol for sysadmins I will not COVER How to configure a BGP router for general purpose Truth is more valuable if it takes you a few years to find it. Renard
3 ASN Autonomous SYSTEM NUMBER Unique Network identifier initially 16bits 32 bits usage is a negotiated feature (RFC 4893) Like RFC 1918, its reserves some IPs Some ASNs are reserved for documentation (like the /24 range) The range Some ASNs are reserved for private use The range Given to LIR (Local Internet Registry) In France, this means RIPE members does not mean ISP only Asparagine (abbreviated as Asn or N) A little learning is a dangerous thing Alexander Pope
4 BORDER GATEWAY PROTOCOL To share routing information between ASN Many RFCs (main one being 4271), many optional features Open Source implementation in BIRD, Quagga, OpenBGPD To use it, you do NOT need to : be connected to the internet have real world IPs be or ask an ISP anything (but it can be useful) NOT Use TCP with its own failure detection mechanism. -> minimum 3s for failure detection There are many true statements about complex topics that are too long to fit on a PowerPoint slide Edward Tufte
5 BGP transmits ROUTES What makes a route a prefix (a block of IP) - the destination IP regex a destination (called next-hop) with many optional information (called attributes) use to select one route over another The next-hop is a machine that should know how to contact any IP in the prefix, it does not have to be locally connected but just known. Some of the attributes are local preference, a value to distinguish two 'identical routes' as path, the chain of ISP who have seen and transmitted the route BGP will make sure that the data is always sent to a machine nearer to the end point than itself that the decision process between multiple routes does not cause loops Logic will get you from A to B. Imagination will take you everywhere Albert Einstein
6 SHOW (me a) ROUTE BGP only has one active route for a prefix at a time (the one indicated with *) BUT can use multiple links to get to the next-hop (depending on the IGP) > show route /24 *[BGP/170] 6w1d 00:57:41, localpref 175 AS path: 112 I > to via ge-0/3/0.17 [BGP/170] 6w1d 00:57:40, localpref 175, from AS path: 112 I to via ge-0/3/0.9 > to via ge-1/3/0.28 to via ge-1/3/0.30 to via ge-0/3/0.32 [BGP/170] 4d 03:09:59, localpref 75 AS path: I > to via ge-1/3/0.142 Work delivers us from three great evils: boredom, vice and want. Voltaire.
7 BGP Conversation Two routers establish one TCP connection (port 179) exchange some information about what they can do (OPEN messages) what extra address family they support (IPv6, IPvpn,...) what advanced features (graceful restart, 32 bits ASN,...) Send each other what they know about the network (UPDATE messages) this is where the routes exchanges occurs each UPDATE can be to announce a new route(s) or withdraw a previously known route(s) BGP does not rely on TCP for link failure for peer failure detection instead send heartbeat data every few seconds (KEEPALIVE messages) failing to send 3 messages in a row kills the connection smaller delay between message 1s -> minimum 3s for failure detection Nothing is more humiliating than to see idiots succeed in enterprises we have failed at Flaubert
8 BGP Conversation IDLE > ACTIVE > CONNECT > OPEN SENT > OPEN CONFIRM > ESTABLISHED IDLE Configured but not ready ACTIVE Configured and ready CONNECT TCP connection established OPEN SENT The router sent its OPEN packet OPEN CONFIRM The peer replied with its OPEN then KEEPALIVE ESTABLISHED The router sent its KEEPALIVE packet Once ESTABLISHED UPDATE A packet with routing information (both way) KEEPALIVE The heartbeat packet Nothing is more humiliating than to see idiots succeed in enterprises we have failed at Flaubert
9 EBGP vs IBGP Same protocol - totally different usage EBGP used by different services providers to interconnect both routers are in different Autonomous systems Most often the next-hop of received route will be rewritten to self IBGP Can be used as an IGP replacement Each router is fully meshed with all the others (many TCP session) configured as route-reflector a router can become a repeater for other BGP peers BOTH Can be used to inject any route in a network Nothing is more humiliating than to see idiots succeed in enterprises we have failed at Flaubert
10 BGP ROUTE SELECTION The more specific the route, the better /32 better than /31, better than /30,... Warning: protocols have preferences Connected > Static > IGP > BGP (last) Must be a valid routes must be synchronised with the IGP (let s turn that off on the router) The NEXT_HOP must be reachable. Route selection (in order) Highest WEIGHT (cisco proprietary) Highest LOCAL PREF (used within an AS) Prefer LOCALLY ORIGINATED route Shortest AS-PATH...
11 WHAT IS AN... I.G.P? A routing protocol used by routers RIP : obsolete, use OSPF OSPF : use TCP, adaptive routing (available everywhere) IS-IS : use an ISO L2 protocol, adaptive routing (higher end kit) EIGRP : use multicast, distance-vector routing (cisco only) They are all complex : share topology information election process... Patience is bitter, but its fruit is sweet Rousseau
12 WHAT IS AN... I.G.P? Should contain as few routes as possible (P2P and connected networks) Converge quickly (find a alternative path) in case of link failure Multiple routes per prefix is possible Traffic load balancing between links BGP only has one active route for a prefix at a time but the IGP may use multiple paths to get to the next-hop. Patience is bitter, but its fruit is sweet Rousseau
13 Options for Service Resilience HSRP, VRRP resilience for the gateway, not the host Linux-HA solutions (Heartbeat, Pacemaker, Wackamole,..) Need both machine in the same Layer 2 Lack of IPv6 support! ARP (relation MAC/IP) expiry 4 to 6 hours.. MAC (relation ARP/Port) expiry 5 minutes some kit only allow configuration per interface, not VLAN enabling gratuitous ARP is a security risk on shared networks (cloud) Yahoo! L3DSR load balancing solution Layer 3 Load Balancing, encoding the destination IP in the DSCP field Be regular and orderly in your life, so that you may be violent and original in your work Flaubert
14 Where Does BGP FITS? External BGP : connecting to other networks protection from ISP outages EBGP or IBGP Anycast : announce the same IP at different location (CDN, DNS,...) DDOS "mitigation" : prevent bad traffic to reach servers Flow Routes (firewall rules deployment using BGP) Internal BGP : fully controlled BGP block/redirect some traffic (customers, countries, organisations,...) Servers announcing some Service IPs I love fools experiments. I am always making them. Charles Darwin
15 BE YOUR OWN ISP IPv6 only RIPE Membership Become your own ISP IPv4 - ran out! Provider Aggregate versus Provider Independant PA: a block of IP owned by the LIR (often the ISP) changing ISP forces you to renumber PI : a block of IP owned by the end users changing ISP is a routing change Announce your network to the world via BGP Not as hard as it sounds Ask you ISP I have always believed that to succeed in life, it is necessary to appear to be mad and to act wisely Montesquieu
16 ANYCAST Split personality.. Announcing the same IP with BGP in different location Another RFC (4786) The network finds the nearest server Not best suited for long lived TCP connections routing can change On the internet used by Root servers (UDP mainly) Within a networks caching DNS (UDP) CDN local DNS (UDP) Proxies (TDP, near DSL exit points, requires very stable routing)... Divide and Conquer Julius Caesar
17 RTBH Tell your provider to stop sending you traffic for some IPs Announce some more specific routes (/32,...) part of your network and TAG the route with communities so it can be filtered (dropped by the router) Most useful when you have a public ASN and buy transit Traffic is dropped before it is billed Many Talks (NANOG, APRICOT,...) on the topic and an RFC (5635) > google RTBH or Remotely triggered blackhole The goal is to skip the transit provider NOC and NOC response time in time of emergency. Each ISP implements it differently.. level3 > whois -h whois.ripe.net AS3356 grep -B1 -A15 Blackhole It is dangerous to be right in matters on which the established authorities are wrong Voltaire
18 FLOW ROUTES Use BGP to transmit firewall like rules RFC 5575, Juniper routers (Alcatel / Perhaps IOS XR) Can be used to transproxy in the core things like... spammers Match possible components making the flow Prefix (source and destination) IP Protocol (list of <action, value>) Port (source, destination, either) ICMP (type, code) TCP flag Packet Len DSCP value Fragment (don't, is, first, last) Then take action Drop, Rate-limit, Redirect exabpg is the only OSS application to support Flow Routes The secret of business is to know something that nobody else knows Aristotle Onassis
19 REDIRECT / BLOCK Traffic Intercept some traffic injecting BGP routes the route must be more specific or have an higher LOCAL PREF Your own IPs Move a machine to another geographical location connected traffic always preferred to a gateway Intercept traffic web server (using another server with destination NAT) Another network IPs Block bad sources of traffic : spammers, proxies, TCP scanners,... You are affecting the return packets it will not stop a UDP, SYN flood attack will prevent TCP 3 way handshake (block the SYN-ACK) Force outgoing traffic to use one upstream over another even if default routes and do not use BGP today Success is a result, not a goal Flaubert
20 SERVICE IP Announcement Use BGP to announce service IP An extra IP added to a server for the purpose of providing a public service (ie: pop, imap, web, reverse proxy, vpn IP,...) provide IP stability, not physically bound to a location/machine people SHOULD use DNS entries... but don t firewall configuration, etc... Have servers announcing their own service IP Server outage means the IP stops to be routed Or provision service IPs from a centralised location Let s SPEAK ABOUT THIS I have always believed that to succeed in life, it is necessary to appear to be mad and to act wisely Montesquieu
21 SERVICE IP Announcement Single server Use Graceful Restart so the router does not forget the route for a programmed number of seconds when BGP goes down unexpectedly Active / Passive Use local preference (BGP route preference) Use ipvsadm on the active to still balance traffic Active/Active For machine within the same Layer 2, look at using OSPF Otherwise ANYCAST (if suitable) In revolution there are only two sorts of men, those who cause them and those who profit by them Napoleon Bonaparte
22 RESILIENCE for IPv4 or IPv6 Resilience with IPv6 2x Router Advertisement -> two default routes BGP (over an IPv4 or IPv6 TCP connection) -> announce the IPv6 service IP Available Today It is easier to ask for forgiveness than permission Stewart s law of retraction
23 Geographically Resilient Service
24 Active / Passive SCENARIO Configure IP /32 on the loopback interface linux (debian/ubuntu) /etc/network/interfaces auto lo:service iface lo:service inet static address netmask network broadcast Control ARP broadcast (as more than one machine has one IP on its loopback) and RPF check /etc/sysctl.conf net.ipv4.conf.all.arp_filter = 1 net.ipv4.conf.all.arp_ignore = 1 net.ipv4.conf.eth0.arp_ignore = 1 net.ipv4.conf.all.arp_announce = 2 net.ipv4.conf.eth0.arp_announce = 2
25 ACtive / PASSIVE Scenario Active Server : an exabgp configuration (version ) Group ANNOUNCE-MY-SERVICE-IP-OF { # ETH /24 GATEWAY (HSRP/VRRP) local-address ; # WE SETUP AN IBGP CONNECTION local-as 64520; peer-as 64520; } static { # 150 IS A BETTER LOCAL-PREFERENCE VALUE THAN 100 (DEFAULT VALUE) route /32 next-hop LOCAL-PREFERENCE 150; } neighbor { description "BGP router 1 RUNNING HSRP/VRRP"; } neighbor { description "BGP router 2 RUNNING HSRP/VRRP"; }
26 ACtive / PASSIVE Scenario Passive Server : an exabgp configuration (version ) Group ANNOUNCE-MY-SERVICE-IP-OF { # ETH /24 GATEWAY (HSRP/VRRP) local-address ; # WE SETUP AN IBGP CONNECTION local-as 64520; peer-as 64520; } static { # 100 (DEFAULT VALUE) IS A WORSE LOCAL-PREFERENCE VALUE THAN 150 route /32 next-hop LOCAL-PREFERENCE 100; } neighbor { description "BGP router 1 RUNNING HSRP/VRRP"; } neighbor { description "BGP router 2 RUNNING HSRP/VRRP"; }
27 ACtive / PASSIVE Scenario Router : Router 1 (cisco) BGP configuration example BGP no synchronization BGP ROUTER-ID neighbor service-ip peer-group neighbor service-ip remote-as neighbor service-ip description Service IPs neighbor service-ip ebgp-multihop 5 neighbor service-ip update-source LOOPBACK1 neighbor service-ip default-originate neighbor service-ip route-map bgp-service-ip in neighbor service-ip route-map deny-any out neighbor peer-group service-ip neighbor peer-group service-ip! no auto-summary
28 ACtive / PASSIVE Scenario Router : Router 1 (cisco) BGP configuration example! interface Loopback1 description BGP ip address ! ip prefix-list service-ip seq 10 permit /32 ip prefix-list service-ip seq deny /0 le 32! ip access-list standard match-any permit any! route-map bgp-service-ip permit 10 match ip address prefix-list service-ip set community no-export additive! route-map deny-any deny 10 match ip address match-any!
29 DYNAMIC SERVICE Migration Permanent configuration generation 1 - Regenerating BIRD/Quagga/OpenBGPD configuration on change 2 - Getting the daemon to reload its configuration 3 - Go back to 1 There must be a better way... OpenBGPD bgpctl BIRD birdc Quagga / Zebra telnet.. There must be a better way... Logic will get you from A to B. Imagination will take you everywhere Albert Einstein
30 How? flap.sh 1 - take your favourite language : perl, python, lua, C, shell, french! create a forever loop 3 - print what you want to do profit? #!/bin/sh # ignore Control C trap '' SIGINT while `true`; do echo "announce route next-hop " sleep 10 echo "withdraw route next-hop " sleep 10 done
31 COntrol BGP BGP configuration neighbor { description "will flap a route until told otherwise"; router-id ; local-address ; local-as 65533; peer-as 65533; } # add and remove routes when flap.sh prints process loving-flaps { run etc/processes/flap.sh; } Success is a result, not a goal Flaubert
32 WANT SIMPLER? BGP configuration neighbor { router-id ; local-address ; local-as 65533; peer-as 65533; process default-name-for-watchdog { run etc/processes/monitor.sh; } } static { route /16 next-hop watchdog service-one; }
33 COnditional Announcement? only announce what works! The watchdog... #!/bin/sh trap '' SIGINT while `true`; do state=`check-if-all-ok` if [ $state = up ]; then echo "announce watchdog service-one" fi if [ $state = down ]; then echo "withdraw watchdog service-one fi # pick its name from the process section name echo announce watchdog sleep 5 done
34 GET It! Questions? Yes, API control works with flow routes too Judge a man by his questions rather than by his answers Voltaire
35 O"er Questions? Thank you for coming and listening. Judge a man by his questions rather than by his answers Voltaire
The benefits of BGP for every service provider
The benefits of BGP for every service provider UKUUG - Spring 2011 24th of March 2011 Thomas Mangin Exa Networks Whatever a speaker is missing in depth he will compensate for in length Montesquieu NO Networking
Using the Border Gateway Protocol for Interdomain Routing
CHAPTER 12 Using the Border Gateway Protocol for Interdomain Routing The Border Gateway Protocol (BGP), defined in RFC 1771, provides loop-free interdomain routing between autonomous systems. (An autonomous
Transitioning to BGP. ISP Workshops. Last updated 24 April 2013
Transitioning to BGP ISP Workshops Last updated 24 April 2013 1 Scaling the network How to get out of carrying all prefixes in IGP 2 Why use BGP rather than IGP? p IGP has Limitations: n The more routing
Application Note. Failover through BGP route health injection
Application Note Document version: v1.2 Last update: 8th November 2013 Purpose This application note aims to describe how to build a high available platform using BGP routing protocol to choose the best
Module 12 Multihoming to the Same ISP
Module 12 Multihoming to the Same ISP Objective: To investigate various methods for multihoming onto the same upstream s backbone Prerequisites: Module 11 and Multihoming Presentation The following will
Simple Multihoming. ISP/IXP Workshops
Simple Multihoming ISP/IXP Workshops 1 Why Multihome? Redundancy One connection to internet means the network is dependent on: Local router (configuration, software, hardware) WAN media (physical failure,
How To Understand Bg
Table of Contents BGP Case Studies...1 BGP4 Case Studies Section 1...3 Contents...3 Introduction...3 How Does BGP Work?...3 ebgp and ibgp...3 Enabling BGP Routing...4 Forming BGP Neighbors...4 BGP and
Exterior Gateway Protocols (BGP)
Exterior Gateway Protocols (BGP) Internet Structure Large ISP Large ISP Stub Dial-Up ISP Small ISP Stub Stub Stub Autonomous Systems (AS) Internet is not a single network! The Internet is a collection
Advanced BGP Policy. Advanced Topics
Advanced BGP Policy George Wu TCOM690 Advanced Topics Route redundancy Load balancing Routing Symmetry 1 Route Optimization Issues Redundancy provide multiple alternate paths usually multiple connections
BGP Terminology, Concepts, and Operation. Chapter 6 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
BGP Terminology, Concepts, and Operation 1 IGP versus EGP Interior gateway protocol (IGP) A routing protocol operating within an Autonomous System (AS). RIP, OSPF, and EIGRP are IGPs. Exterior gateway
Bell Aliant. Business Internet Border Gateway Protocol Policy and Features Guidelines
Bell Aliant Business Internet Border Gateway Protocol Policy and Features Guidelines Effective 05/30/2006, Updated 1/30/2015 BGP Policy and Features Guidelines 1 Bell Aliant BGP Features Bell Aliant offers
Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP) Petr Grygárek rek 1 Role of Autonomous Systems on the Internet 2 Autonomous systems Not possible to maintain complete Internet topology information on all routers big database,
JUNOS Secure BGP Template
JUNOS Secure BGP Template Version 1.92, 03/30/2005 Stephen Gill E-mail: [email protected] Published: 04/25/2001 Contents Credits... 2 Introduction... 2 Template... 4 References... 10 Credits Rob Thomas
Task 20.1: Configure ASBR1 Serial 0/2 to prevent DoS attacks to ASBR1 from SP1.
Task 20.1: Configure ASBR1 Serial 0/2 to prevent DoS attacks to ASBR1 from SP1. Task 20.2: Configure an access-list to block all networks addresses that is commonly used to hack SP networks. Task 20.3:
Border Gateway Protocol Best Practices
Border Gateway Protocol Best Practices By Clifton Funakura The Internet has grown into a worldwide network supporting a wide range of business applications. Many companies depend on the Internet for day-to-day
Load balancing and traffic control in BGP
DD2491 p2 2011 Load balancing and traffic control in BGP Olof Hagsand KTH CSC 1 Issues in load balancing Load balancing: spread traffic on several paths instead of a single. Why? Use resources better Can
Tutorial: Options for Blackhole and Discard Routing. Joseph M. Soricelli Wayne Gustavus NANOG 32, Reston, Virginia
Tutorial: Options for Blackhole and Discard Routing Joseph M. Soricelli Wayne Gustavus NANOG 32, Reston, Virginia Caveats and Assumptions The views presented here are those of the authors and they do not
Simple Multihoming. ISP Workshops. Last updated 30 th March 2015
Simple Multihoming ISP Workshops Last updated 30 th March 2015 1 Why Multihome? p Redundancy n One connection to internet means the network is dependent on: p Local router (configuration, software, hardware)
Internet Firewall CSIS 4222. Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS 4222. net15 1. Routers can implement packet filtering
Internet Firewall CSIS 4222 A combination of hardware and software that isolates an organization s internal network from the Internet at large Ch 27: Internet Routing Ch 30: Packet filtering & firewalls
APNIC elearning: BGP Basics. Contact: [email protected]. erou03_v1.0
erou03_v1.0 APNIC elearning: BGP Basics Contact: [email protected] Overview What is BGP? BGP Features Path Vector Routing Protocol Peering and Transit BGP General Operation BGP Terminology BGP Attributes
Routing Protocol - BGP
Routing Protocol - BGP BGP Enterprise Network BGP ISP AS 3000 AS 2000 BGP is using between Autonomous Systems BGP(cont.) RFC 1771(BGPv4) Support CIDR Transfer the AS information to reach destination Using
APNIC elearning: BGP Attributes
APNIC elearning: BGP Attributes Contact: [email protected] erou04_v1.0 Overview BGP Attributes Well-known and Optional Attributes AS Path AS Loop Detection ibgp and ebgp Next Hop Next Hop Best Practice
DD2491 p1 2008. Load balancing BGP. Johan Nicklasson KTHNOC/NADA
DD2491 p1 2008 Load balancing BGP Johan Nicklasson KTHNOC/NADA Dual home When do you need to be dual homed? How should you be dual homed? Same provider. Different providers. What do you need to have in
Fireware How To Dynamic Routing
Fireware How To Dynamic Routing How do I configure my Firebox to use BGP? Introduction A routing protocol is the language a router speaks with other routers to share information about the status of network
BGP4 Case Studies/Tutorial
BGP4 Case Studies/Tutorial Sam Halabi-cisco Systems The purpose of this paper is to introduce the reader to the latest in BGP4 terminology and design issues. It is targeted to the novice as well as the
Load balancing and traffic control in BGP
DD2491 p2 2009/2010 Load balancing and traffic control in BGP Olof Hagsand KTH /CSC 1 Issues in load balancing Load balancing: spread traffic on several paths instead of a single. Why? Use resources better
BGP Attributes and Path Selection
BGP Attributes and Path Selection ISP Workshops Last updated 29 th March 2015 1 BGP Attributes BGP s policy tool kit 2 What Is an Attribute?... Next Hop AS Path MED...... p Part of a BGP Update p Describes
Understanding Virtual Router and Virtual Systems
Understanding Virtual Router and Virtual Systems PAN- OS 6.0 Humair Ali Professional Services Content Table of Contents VIRTUAL ROUTER... 5 CONNECTED... 8 STATIC ROUTING... 9 OSPF... 11 BGP... 17 IMPORT
Chapter 49 Border Gateway Protocol version 4 (BGP-4)
Chapter 49 Border Gateway Protocol version 4 (BGP-4) Introduction... 1-3 Overview of BGP-4... 1-3 BGP Operation... 1-5 BGP Attributes... 1-6 BGP Route Selection... 1-8 Classless Inter-domain Routing (CIDR)
Computer Networks Administration Help Manual Sana Saadaoui Jemai Oliver Wellnitz
Technische Universität Braunschweig Institut für Betriebssysteme und Rechnerverbund Computer Networks Administration Help Manual Sana Saadaoui Jemai Oliver Wellnitz Braunschweig, 27 th March 2007 Contents
How To Set Up Bgg On A Network With A Network On A Pb Or Pb On A Pc Or Ipa On A Bg On Pc Or Pv On A Ipa (Netb) On A Router On A 2
61200860L1-29.4E March 2012 Configuration Guide Configuring Border Gateway Protocol in AOS for Releases Prior to 18.03.00/R10.1.0 This guide only addresses BGP in AOS data products using AOS firmware prior
BGP Multihoming Techniques
BGP Multihoming Techniques Philip Smith SANOG 12 6th-14th August 2008 Kathmandu 1 Presentation Slides Available on ftp://ftp-eng.cisco.com /pfs/seminars/sanog12-multihoming.pdf And on the
- Border Gateway Protocol -
1 Border Gateway Protocol (BGP) - Border Gateway Protocol - BGP is a standardized exterior gateway protocol (EGP), as opposed to RIP, OSPF, and EIGRP which are interior gateway protocols (IGP s). BGP Version
Border Gateway Protocol BGP4 (2)
Border Gateway Protocol BGP4 (2) Professor Richard Harris School of Engineering and Advanced Technology (SEAT) Presentation Outline Border Gateway Protocol - Continued Computer Networks - 1/2 Learning
Multihomed BGP Configurations
Multihomed BGP Configurations lvaro Retana Cisco IOS Deployment and Scalability 1 genda General Considerations Multihomed Networks Best Current Practices 2 The Basics General Considerations 3 General Considerations
Anycast Rou,ng: Local Delivery. Tom Daly, CTO h<p://dyn.com Up,me is the Bo<om Line
Anycast Rou,ng: Local Delivery Tom Daly, CTO h
BGP Multihoming. Why Multihome? Why Multihome? Why Multihome? Why Multihome? Why Multihome? Redundancy. Reliability
Why Multihome? BGP Multihoming ISP/IXP Redundancy One connection to internet means the network is dependent on: Local router (configuration, software, hardware) WN media (physical failure, carrier failure)
Firewall-on-Demand. GRNET s approach to advanced network security services management via bgp flow-spec and NETCONF. Leonidas Poulopoulos
Firewall-on-Demand GRNET s approach to advanced network security services management via bgp flow-spec and NETCONF Leonidas Poulopoulos 1 leopoul@nocgrnetgr 1 NOC/Greek Research and Technology Network
CS551 External v.s. Internal BGP
CS551 External v.s. Internal BGP Bill Cheng http://merlot.usc.edu/cs551-f12 1 Exterior vs. Interior World vs. me EGP vs. IGP Little control vs. complete administrative control BGP (and GGP, Hello, EGP)
BGP Advanced Routing in SonicOS
BGP Advanced Routing in SonicOS Document Scope This document provides an overview of SonicWALL s implmenetation of Border Gateway protocol (BGP), how BGP operates, and how to configure BGP for your network.
netkit lab bgp: prefix-filtering Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group
Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group netkit lab bgp: prefix-filtering Version Author(s) E-mail Web Description 2.1 G. Di Battista,
BGP Multihoming Techniques
BGP Multihoming Techniques Philip Smith 26th July - 4th August 2006 Karachi 1 Presentation Slides Available on ftp://ftp-eng.cisco.com /pfs/seminars/sanog8-multihoming.pdf And on the SANOG8
CS 457 Lecture 19 Global Internet - BGP. Fall 2011
CS 457 Lecture 19 Global Internet - BGP Fall 2011 Decision Process Calculate degree of preference for each route in Adj-RIB-In as follows (apply following steps until one route is left): select route with
Configuring and Testing Border Gateway Protocol (BGP) on Basis of Cisco Hardware and Linux Gentoo with Quagga Package (Zebra)
Configuring and Testing Border Gateway Protocol (BGP) on Basis of Cisco Hardware and Linux Gentoo with Quagga Package (Zebra) Contents Introduction Used Abbreviations Border Gateway Protocol (BGP) Overview
BGP1 Multihoming and Traffic Engineering
83950 Telecommunications Laboratory Course BGP1 BGP1 Multihoming and Traffic Engineering date & time student # name 1 2 bgp-tyo.tex,v 1.11 2005/04/18 14:09:14 ams Exp 1/17 Part I Home Assignment 1 General
BGP Best Path Selection Algorithm
BGP Best Path Selection Algorithm Document ID: 13753 Contents Introduction Prerequisites Requirements Components Used Conventions Why Routers Ignore Paths How the Best Path Algorithm Works Example: BGP
Traffic Diversion Techniques for DDoS Mitigation using BGP Flowspec. Leonardo Serodio [email protected] May 2013
Traffic Diversion Techniques for DDoS Mitigation using BGP Flowspec Leonardo Serodio [email protected] May 2013 Distributed Denial of Service (DDoS) Attacks DDoS attack traffic consumes
ISP Case Study. UUNET UK (1997) ISP/IXP Workshops. ISP/IXP Workshops. 1999, Cisco Systems, Inc.
ISP Case Study UUNET UK (1997) ISP/IXP Workshops ISP/IXP Workshops 1999, Cisco Systems, Inc. 1 Acknowledgements Thanks are due to UUNET UK for allowing the use of their configuration information and network
Internet Protocol: IP packet headers. vendredi 18 octobre 13
Internet Protocol: IP packet headers 1 IPv4 header V L TOS Total Length Identification F Frag TTL Proto Checksum Options Source address Destination address Data (payload) Padding V: Version (IPv4 ; IPv6)
DDoS Mitigation Techniques
DDoS Mitigation Techniques Ron Winward, ServerCentral CHI-NOG 03 06/14/14 Consistent Bottlenecks in DDoS Attacks 1. The server that is under attack 2. The firewall in front of the network 3. The internet
BGP Router Startup Message Flow
LEG: Brief BGP Router Startup Message Flow This sequence diagram was generated with EventStudio System Designer (http://www.eventhelix.com/eventstudio). The Border Gateway Protocol (BGP) is an inter-autonomous
Network Level Multihoming and BGP Challenges
Network Level Multihoming and BGP Challenges Li Jia Helsinki University of Technology [email protected] Abstract Multihoming has been traditionally employed by enterprises and ISPs to improve network connectivity.
Exam Name: BGP + MPLS Exam Exam Type Cisco Case Studies: 3 Exam Code: 642-691 Total Questions: 401
Question: 1 Every time a flap occurs on a route, the route receives A. 750 per-flap penalty points which are user configurable B. 1500 per-flap penalty points which are user configurable C. 200 per-flap
Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur
Module 7 Routing and Congestion Control Lesson 4 Border Gateway Protocol (BGP) Specific Instructional Objectives On completion of this lesson, the students will be able to: Explain the operation of the
E6998-02: Internet Routing
E6998-02: Internet Routing Lecture 13 Border Gateway Protocol, Part II John Ioannidis AT&T Labs Research [email protected] Copyright 2002 by John Ioannidis. All Rights Reserved. Announcements Lectures
Claudio Jeker. RIPE 41 Meeting Amsterdam, 15. January 2002. [email protected]. [email protected]. Using BGP topology information for DNS RR sorting
BGPDNS Using BGP topology information for DNS RR sorting a scalable way of multi-homing André Oppermann [email protected] Claudio Jeker [email protected] RIPE 41 Meeting Amsterdam, 15. January 2002 What
Internet inter-as routing: BGP
Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto standard BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate the reachability
> Border Gateway Protocol (BGP-4) Technical Configuration Guide. Ethernet Routing Switch. Engineering
Ethernet Routing Switch 8600 Engineering > Border Gateway Protocol (BGP-4) Technical Configuration Guide Enterprise Solution Engineering Document Date: November, 2007 Document Number: NN48500-538 Document
Analyzing Capabilities of Commercial and Open-Source Routers to Implement Atomic BGP
Telfor Journal, Vol. 2, No. 1, 2010. 13 Analyzing Capabilities of Commercial and Open-Source Routers to Implement Atomic BGP Aleksandar Cvjetić and Aleksandra Smiljanić Abstract The paper analyzes implementations
Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:
Border Gateway Protocol Exterior routing protocols created to: control the expansion of routing tables provide a structured view of the Internet by segregating routing domains into separate administrations
Route Discovery Protocols
Route Discovery Protocols Columbus, OH 43210 [email protected] http://www.cse.ohio-state.edu/~jain/ 1 Overview Building Routing Tables Routing Information Protocol Version 1 (RIP V1) RIP V2 OSPF
Design, Implementation and Evolution of a DNS anycast resolving service in a country-wide ISP network
Design, Implementation and Evolution of a DNS anycast resolving service in a country-wide ISP network Kostas Zorbadelos OTE SA Senior Systems & Network Engineer GRNOG 1 June 5 2015 Presentation Outline
Sink Holes. A Swiss Army Knife ISP Security Tool. Version 1.5. Barry Raveendran Greene -- [email protected] Danny McPherson -- danny@arbor.
Sink Holes A Swiss Army Knife ISP Security Tool Version 1.5 Barry Raveendran Greene -- [email protected] Danny McPherson -- [email protected] Context ISP Security Real World Techniques endeavor to share
The Case for Source Address Routing in Multihoming Sites
The Case for Source Address Dependent Routing in Multihoming Marcelo Bagnulo, Alberto García-Martínez, Juan Rodríguez, Arturo Azcorra. Universidad Carlos III de Madrid Av. Universidad, 30. Leganés. Madrid.
Interdomain Routing. Outline
Interdomain Routing David Andersen 15-744 Spring 2007 Carnegie Mellon University Outline What does the Internet look like? Relationships between providers Enforced by: Export filters and import ranking
BGP Best Practices for ISPs Prefix List, AS PATH filters, Bogon Filters, Anycast, Mailing Lists, INOC DBA
BGP Best Practices for ISPs Prefix List, AS PATH filters, Bogon Filters, Anycast, Mailing Lists, INOC DBA. Gaurab Raj Upadhaya [email protected] Packet Clearing House What are Best Practices Established or
basic BGP in Huawei CLI
basic BGP in Huawei CLI BGP stands for Border Gateway Protocol. It is widely used among Internet Service Providers to make core routing decisions on the Internet. The current BGP version is BGP-4 defined
Examination. IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491
Examination IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491 Date: December 15 2009 14:00 18:00 1. No help material is allowed - You
--BGP 4 White Paper Ver.1.0-- BGP-4 in Vanguard Routers
BGP-4 in Vanguard Routers 1 Table of Contents Introduction to BGP... 6 BGP terminology... 6 AS (Autonomous system):... 6 AS connection:... 6 BGP Speaker:... 6 BGP Neighbor/Peer:... 7 BGP Session:... 7
MPLS VPN over mgre. Finding Feature Information. Prerequisites for MPLS VPN over mgre
The feature overcomes the requirement that a carrier support multiprotocol label switching (MPLS) by allowing you to provide MPLS connectivity between networks that are connected by IP-only networks. This
Application Note: Securing BGP on Juniper Routers
Application Note: Securing BGP on Juniper Routers Version 1.92, 03/30/2005 Stephen Gill E-mail: [email protected] Published: 06/16/2002 Contents Introduction Introduction... 2 Assumptions... 3 Topology...
LAB THREE STATIC ROUTING
LAB THREE STATIC ROUTING In this lab you will work with four different network topologies. The topology for Parts 1-4 is shown in Figure 3.1. These parts address router configuration on Linux PCs and a
Content Distribution Networks (CDN)
229 Content Distribution Networks (CDNs) A content distribution network can be viewed as a global web replication. main idea: each replica is located in a different geographic area, rather then in the
Configuring BGP. Cisco s BGP Implementation
Configuring BGP This chapter describes how to configure Border Gateway Protocol (BGP). For a complete description of the BGP commands in this chapter, refer to the BGP s chapter of the Network Protocols
MPLS. Cisco MPLS. Cisco Router Challenge 227. MPLS Introduction. The most up-to-date version of this test is at: http://networksims.com/i01.
MPLS Cisco MPLS MPLS Introduction The most up-to-date version of this test is at: http://networksims.com/i01.html Cisco Router Challenge 227 Outline This challenge involves basic frame-mode MPLS configuration.
Implementation of Business Linux Routers
Implementation of Business Linux Routers Presenter: Joseph Flasch [email protected] Why Use Linux as a Router? Cost Performance Reliability Open nature of Linux It's not IOS Multi-function nature of Linux
Introduction to Routing
Introduction to Routing How traffic flows on the Internet Philip Smith [email protected] RIPE NCC Regional Meeting, Moscow, 16-18 18 June 2004 1 Abstract Presentation introduces some of the terminologies used,
Brocade to Cisco Comparisons
1 2 3 Console cables - The console cables are not interchangeable between Brocade and Cisco. Each vendor provides their console cable with each manageable unit it sells. Passwords - Neither Cisco or Brocade
BGP Multihoming Techniques
BGP Multihoming Techniques Philip Smith , Oakland 2001, Cisco Systems, Inc. All rights reserved. 1 Presentation Slides Available on NANOG Web site www.nanog.org/mtg-0110/smith.html Available
Load Balancing. Final Network Exam LSNAT. Sommaire. How works a "traditional" NAT? Un article de Le wiki des TPs RSM.
Load Balancing Un article de Le wiki des TPs RSM. PC Final Network Exam Sommaire 1 LSNAT 1.1 Deployement of LSNAT in a globally unique address space (LS-NAT) 1.2 Operation of LSNAT in conjunction with
Basic Configuration Examples for BGP
Application Note Basic Configuration Examples for BGP Juniper Networks, Inc. 1194 North Mathilda Avenue Sunnyvale, CA 94089 USA 408 745 2000 or 888 JUNIPER www.juniper.net Part Number: :350008-001 04/02
s@lm@n Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]
s@lm@n Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ] Topic 1, Volume A Question No : 1 - (Topic 1) How much overhead does the GRE
MPLS VPN Route Target Rewrite
The feature allows the replacement of route targets on incoming and outgoing Border Gateway Protocol (BGP) updates Typically, Autonomous System Border Routers (ASBRs) perform the replacement of route targets
Community tools to fight against DDoS
Community tools to fight against DDoS Fakrul Alam Senior Training Officer SANOG 27 & APNIC Regional Meeting, Kathmandu, Nepal 25 Jan - 01 Feb, 2016 Issue Date: Revision: 26-12-2015 1.3 DDoS Denial of Service
GregSowell.com. Mikrotik Routing
Mikrotik Routing Static Dynamic Routing To Be Discussed RIP Quick Discussion OSPF BGP What is Routing Wikipedia has a very lengthy explanation http://en.wikipedia.org/wiki/routing In the context of this
Based on Computer Networking, 4 th Edition by Kurose and Ross
Computer Networks Internet Routing Based on Computer Networking, 4 th Edition by Kurose and Ross Intra-AS Routing Also known as Interior Gateway Protocols (IGP) Most common Intra-AS routing protocols:
BGP Multihoming Techniques
BGP Multihoming Techniques Philip Smith , Seoul, South Korea August 2003 1 Presentation Slides Available on ftp://ftp-eng.cisco.com/pfs/seminars/ 2 Preliminaries Presentation has many configuration
Chapter 6: Implementing a Border Gateway Protocol Solution for ISP Connectivity
: Implementing a Border Gateway Protocol Solution for ISP Connectivity CCNP ROUTE: Implementing IP Routing ROUTE v6 1 Objectives Describe basic BGP terminology and operation, including EBGP and IBGP. Configure
DD2491 p1 2008. Inter-domain routing and BGP part I Olof Hagsand KTH/CSC
DD2491 p1 2008 Inter-domain routing and BGP part I Olof Hagsand KTH/CSC Inter-domain routing The objective of inter-domain routing is to bind together all the thousands of independent IP networks that
Building Nameserver Clusters with Free Software
Building Nameserver Clusters with Free Software Joe Abley, ISC NANOG 34 Seattle, WA, USA Starting Point Discrete, single-host authoritative nameservers several (two or more) several (two or more) geographically
Networking. Palo Alto Networks. PAN-OS Administrator s Guide Version 6.0. Copyright 2007-2015 Palo Alto Networks
Networking Palo Alto Networks PAN-OS Administrator s Guide Version 6.0 Contact Information Corporate Headquarters: Palo Alto Networks 4401 Great America Parkway Santa Clara, CA 95054 www.paloaltonetworks.com/company/contact-us
HP Networking BGP and MPLS technology training
Course overview HP Networking BGP and MPLS technology training (HL046_00429577) The HP Networking BGP and MPLS technology training provides networking professionals the knowledge necessary for designing,
IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life
Overview Dipl.-Ing. Peter Schrotter Institute of Communication Networks and Satellite Communications Graz University of Technology, Austria Fundamentals of Communicating over the Network Application Layer
Configuring Denial of Service Protection
24 CHAPTER This chapter contains information on how to protect your system against Denial of Service (DoS) attacks. The information covered in this chapter is unique to the Catalyst 6500 series switches,
BGP Operations and Security. Training Course
BGP Operations and Security Training Course Training Services RIPE NCC April 2016 Schedule 09:00-09:30 11:00-11:15 13:00-14:00 15:30-15:45 17:30 Coffee, Tea Break Lunch Break End BGP Operations and Security
Campus LAN at NKN Member Institutions
Campus LAN at NKN Member Institutions RS MANI [email protected] 1/7/2015 3 rd Annual workshop 1 Efficient utilization Come from: Good Campus LAN Speed Segregation of LANs QoS Resilient Access Controls ( L2 and
BGP-4 Case Studies. Nenad Krajnovic. e-mail: [email protected]
BGP-4 Case Studies Nenad Krajnovic e-mail: [email protected] Today topics load balancing over multiple links multihoming to a single provider multihoming to different providers following defaults inside
