Lab Guide 2 - BGP Configuration

Similar documents
Module 2 OSPF Configuration for Training Lab Network

Module 10 An IPv6 Internet Exchange Point

2016/09/07 08:37 1/5 Internal BGP Lab. Set up Internal BGP (ibgp) within the each Group autonomous system to carry routing information within the AS.

Module 16 An Internet Exchange Point

2015/07/23 23:31 1/7 ibgp

Module 4 BGP-LS Configuration Lab

IPv6 Module 16 An IPv6 Internet Exchange Point

Module 19 Internet Exchange Points

Lab Guide 1 - Basic Configuration and Interface Configuration

Module 1 Device and Infrastructure Security Lab

2015/07/23 23:32 1/8 More ibgp and Basic ebgp

BGP Scaling (RR & Peer Group)

BGP route filtering and advanced features

2016/01/17 04:05 1/19 Basic BGP Lab

Module 14 Transit. Objective: To investigate methods for providing transit services. Prerequisites: Modules 12 and 13, and the Transit Presentation

IPv6 Module 6 ibgp and Basic ebgp

IPv6 Module 1c ibgp. Prerequisites: IPv6 Module 1a (OSPF) or IPv6 Module 1b (ISIS).

Introduction to BGP. ISP/IXP Workshops

IPv6 Module 6x ibgp and Basic ebgp

BGP on IOS: Getting Started

IPv4/IPv6 BGP Routing Workshop. Organized by:

Introduction to BGP ISP/IXP Workshops

DE-CIX Academy: BGP Introduction. Notice of Liability. BGP Configuration Examples. Network Diagram for all examples. Links and Examples

Module 3 BGP route filtering and advanced features

Module 18 Transit. Objective: To investigate methods for providing transit services. Prerequisites: Modules 12 and 13, and the Transit Presentation

IPv6 Module 2 OSPF Areas

Multihoming Techniques. bdnog8 May 4 8, 2018 Jashore, Bangladesh.

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

Module 6 IPv6 ibgp and Basic ebgp

Module 2 More ibgp, and Basic ebgp Configuration

Module 6 ibgp and Basic ebgp

IPv6 Module 7 BGP Route Filtering and Advanced Features

DE-CIX Academy: BGP - Multihoming

Border Gateway Protocol - BGP

ISP Workshop Lab. Module 2 OSPF Areas

Lab 2 BGP route filtering and advanced features

Module 13 Multihoming to Different ISPs

All participants will work within their groups in pairs. Each group has three routers and three switches to work with.

BGP Configuration for a Transit ISP

Module 7 BGP Route Reflector Lab

BGP4 workshop scenario

LAB16: BGP IPv6. BGP: Route Reflector. Disclaimer

FiberstoreOS BGP Configuration

IPv6 Module 11 Advanced Router Configuration

Module 8 Multihoming Strategies Lab

IPv6 Module 1 Basic Topology and Router Setup

Module 11b MPLS VPLS Configuration Lab (LDP Manual)

Module 6 More ibgp, and Basic ebgp Configuration

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

Configure the IPv6 BGP Local Preference Feature

Module 12 Multihoming to the Same ISP

BGP Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008

2016/01/17 04:04 1/9 Basic Routing Lab

BGP and the Internet

Service Provider Multihoming

Lab 3 Multihoming to the Same ISP

BGP Attributes and Path Selection

IPv6 Module 4 OSPF to IS-IS for IPv6

BGP and the Internet

Module 11a MPLS VPWS Configuration Lab (LDP)

Migrating from OSPF to IS-IS

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

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

BGP in the Internet Best Current Practices

Multihoming with BGP and NAT

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0

BGP Event-Based VPN Import

BGP Diverse Path Using a Diverse-Path Route Reflector

BGP Origin AS Validation

LAB 9: Configure BGP Confederation

BGP mvpn BGP safi IPv4

South America Workshop WALC 2006 (Quito, Ecuador July 06)

Enhanced Feasible-Path Unicast Reverse Path Filtering draft-sriram-opsec-urpf-improvements-01

Module 6x ibgp and Basic ebgp

BGP Tutorial AFNOG2000 Class IP Assignments

Multi-VRF Support. Finding Feature Information. Prerequisites for Multi-VRF Support

IPv6 BGP AS Path. R1 Router Config:! ipv6 unicast-routing ipv6 cef. R4 Router Config:! ipv6 unicast-routing ipv6 cef Page1

Network Layer (Routing)

IPv6 Module 1a OSPF. Prerequisites: IPv4 Lab Module 1, knowledge of Cisco router CLI, and previous hands on experience.

The information in this document is based on Cisco IOS Software Release 15.4 version.

ibgp Multipath Load Sharing

BGP and the Internet. Enterprise Multihoming. Enterprise Multihoming. Medium/Large ISP Multihoming. Enterprise Multihoming. Enterprise Multihoming

Module 11 Advanced Router Configuration

CCNP ROUTE LAB MANUAL

ISP Border Definition. Alexander Azimov

Connecting to a Service Provider Using External BGP

BGP Case Studies. ISP Workshops

BGP Enhancements for IPv6. ISP Training Workshops

Advanced Multihoming. BGP Traffic Engineering

Module 6 ibgp and Basic ebgp

Multihoming Complex Cases & Caveats

Deploy MPLS L3 VPN. APNIC Technical Workshop October 23 to 25, Selangor, Malaysia Hosted by:

BGP Dynamic Neighbors

Routing Protocols. Technology Description BGP CHAPTER

prefix filtering netkit-lab-bgp-1

Module 1 IPv6 OSPF and ibgp

Module 1 IPv6 OSPF and ibgp

BGP Cost Community. Prerequisites for the BGP Cost Community Feature

Route Filtering. Types of prefixes in IP core network: Internal Prefixes External prefixes. Downstream customers Internet prefixes

Module 1b IS-IS. Prerequisites: The setup section of Module 1. The following will be the common topology used for the first series of labs.

Transcription:

IXP Workshop Lab Lab Guide 2 - BGP Configuration Objective: The focus of this lab is to connect 8 customers with IXP. Customers are connected with AS17821 as transit and received customer prefixes, also connected to the route server which is in AS135541. Participants will finish BGP configuration to set up neighbours with both transit and IXP. Prerequisites: Intermediate routing concept (OSPF/IS-IS, BGP), Cisco router CLI, Telnet/SSH software etc. The following will be the common topology and IP address plan used for the labs. Figure 1 IXP Lab Topology Lab Notes This workshop is intended to be run on real cisco routers or Dynamips server with the above lab topologies set up. The routers are using both IPv4 and IPv6 supported IOS software. There will be one route server (running on BIRD) will be configured by the instructors. Participants should do their workshop module four configuration to achieve following goals. 1

Friday, November 24, 2017 1. In this module, we will connect our customer routers with AS17821 and the IXP infrastructure. After finishing the required configuration in this module, we will be able to see eight external prefixes which is coming via IXP. 2. The IXP route server has been configured in such way that it removes it s on ASN from the AS PATH. So that the prefixes received via IXP will be shortest one. 3. After finishing ebgp configuration on all CPE routers we would like to see following 8 new prefixes received via IXP. So there will be two path for each prefixes; one via upstream AS17821 and one via IXP (AS135541) Address Plannings Customer AS Number Prefix r-13-car1 135533 172.16.16.0/23 r-14-cbr1 135534 172.16.18.0/23 r-15-car2 135535 172.16.20.0/23 r-16-cbr2 135536 172.16.22.0/23 r-17-car3 135537 172.16.24.0/23 r-18-cbr3 135538 172.16.26.0/23 r-19-car4 135539 172.16.28.0/23 r-20-cbr4 135540 172.16.30.0/23 Io0 f0/1 Connected with upstream e1/1 Connected with IX Prefixes r13 172.16.16.254/32 172.16.11.2/30 203.176.189.13/24 172.16.16.0/23 AS135533 2406:6400:8000:0000::1/128 2406:6400:0010:0000::2/64 2001:0df0:000a:0001::13/64 2406:6400:8000::/48 r14 172.16.18.254/32 172.16.11.34/30 203.176.189.14/24 172.16.18.0/23 AS135534 2406:6400:9800:0000::1/128 2406:6400:0014:0000::2/64 2001:0df0:000a:0001::14/64 2406:6400:9800::/48 r15 172.16.20.254/32 172.16.11.66/30 203.176.189.15/24 172.16.20.0/23 AS135535 2406:6400:A000:0000::1/128 2406:6400:0018:0000::2/64 2001:0df0:000a:0001::15/64 2406:6400:a000::/48 r16 172.16.22.254/32 172.16.11.98/30 203.176.189.16/24 172.16.22.0/23 AS135536 2406:6400:B800:0000::1/128 2406:6400:001C:0000::2/64 2001:0df0:000a:0001::16/64 2406:6400:b800::/48 r17 172.16.24.254/32 172.16.11.130/30 203.176.189.17/24 172.16.24.0/23 AS135537 2406:6400:C000:0000::1/128 2406:6400:0020:0000::2/64 2001:0df0:000a:0001::17/64 2406:6400:c000::/48 r18 172.16.26.254/32 172.16.11.162/30 203.176.189.18/24 172.16.26.0/23 AS135538 2406:6400:D800:0000::1/128 2406:6400:0024:0000::2/64 2001:0df0:000a:0001::18/64 2406:6400:d800::/48 r19 172.16.28.254/32 172.16.11.194/30 203.176.189.19/24 172.16.28.0/23 AS135539 2406:6400:E000:0000::1/128 2406:6400:0028:0000::2/64 2001:0df0:000a:0001::19/64 2406:6400:e000::/48 r20 172.16.30.254/32 172.16.11.226/30 203.176.189.20/24 172.16.30.0/23 AS135540 2406:6400:F800:0000::1/128 2406:6400:002C:0000::2/64 2001:0df0:000a:0001::20/64 2406:6400:f800::/48 2

IXP Workshop Lab Lab Exercise Configuration Steps: Step 1: Configure ebgp neighbor with upstream router in AS17821 Step 2: Configure ebgp neighbor with IX route server in AS135541 Step 3: Advertise Your Prefix in BGP 1. Configure ebgp neighbor with upstream router Example ebgp peering config: Get into the BGP view, please use your AS number. neighbor IPV4-eBGP-UPSTREAM peer-group neighbor 172.16.11.1 remote-as 17821 neighbor 172.16.11.1 peer-group IPV4-eBGP-UPSTREAM neighbor 172.16.11.1 activate -address-family Define the peering group and add the neighbor. Please use your neighbors IP addresses. show bgp ipv4 unicast summary [To check bgp peering status in summary] show bgp ipv4 unicast [To check detail bgp table] show ipv4 route bgp [To check the routing table prefixes learned by BGP ] You can see, you have one ebgp neighbour, and one default route has been learnt from the upstream. 3

Friday, November 24, 2017 2. Configure ebgp neighbor with IX router: In general, IXP are classified under peer-group on the Customer router to scale the growing number of IXP. In our workshop case, we have created a single peer-group for our IXP. This peer-group will inherit common set of attribute for all our customer. Individual command for each IXP (i.e remote-as) need to apply outside the peer group. Example ebgp peering config: no bgp enforce-first-as As we will remove IXP AS for AS PATH; this command will not enforce that the first ASN in the AS path matches the peering ASN neighbor IPV4-eBGP-IX peer-group neighbor 203.176.189.240 remote-as 135541 neighbor 203.176.189.240 peer-group IPV4-eBGP-IX neighbor 203.176.189.240 activate -address-family Define the peering group and add the neighbor. show bgp ipv4 unicast summary [To check bgp peering status in summary] show bgp ipv4 unicast [To check detail bgp table] show ipv4 route bgp [To check the routing table prefixes learned by BGP ] You can see, you have another ebgp neighbour, the route server in IXP (203.176.189.240). 3. Advertise your prefix in BGP: network 172.16.16.0 mask 255.255.254.0 4

ip route 172.16.16.0 255.255.254.0 null 0 IXP Workshop Lab Verify ibgp Configuration: Note: After all the groups have finished, please make sure all 8 customer prefixes outlined in page 2 of this document is visible in BGP and routing table. You will see two route for each customer prefix. One via upstream and one via IXP. As the IXP has the shorter AS PATH; it will be loaded in your routing table. Example IPv4 protocol verification on a Router: sh bgp ipv4 unicast summary [To check bgp peering status in summary] sh bgp ipv4 unicast [To check detail bgp table] sh ipv4 route bgp [To check the routing table prefixes learned by BGP ] After prefix announcement: sh bgp ipv4 unicast neighbors [router 13 router20] advertised-routes [To check prefixes advertised to ibgp peers] sh bgp ipv4 unicast neighbors [router 13 router20] routes [To check prefixes learn from ibgp peers] sh ip route [R13, R14, R15, R16, R17, R18, R19, R20] [To check prefixes in routing table] END OF MODULE 5