Lab 10: Confi guring Basic Border Gateway Protocol



Similar documents
APNIC elearning: BGP Basics. Contact: erou03_v1.0

basic BGP in Huawei CLI

Lab 8: Confi guring QoS

Using the Border Gateway Protocol for Interdomain Routing

Lab Diagramming External Traffic Flows

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

BGP Link Bandwidth. Finding Feature Information. Contents

How To Understand Bg

Presentation_ID. 2001, Cisco Systems, Inc. All rights reserved.

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

BGP: Border Gateway Protocol

Module 12 Multihoming to the Same ISP

Lab: Basic Router Configuration

ICND1 Lab Guide Interconnecting Cisco Networking Devices Part 1 Version 2.0. Labs powered by

Edge-1#show ip route Routing entry for /24. Known via "bgp 65001", distance 200, metric 0. Tag 65300, type internal

BGP4 Case Studies/Tutorial

Quick Note 20. Configuring a GRE tunnel over an IPSec tunnel and using BGP to propagate routing information. (GRE over IPSec with BGP)

Lab Load Balancing Across Multiple Paths

Understanding Route Aggregation in BGP

This feature was introduced. This feature was integrated in Cisco IOS Release 12.2(11)T.

BGP-4 Case Studies. Nenad Krajnovic.

Lab Use Network Inspector to Observe STP Behavior

Packet Tracer 3 Lab VLSM 2 Solution

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Inter-Autonomous Systems for MPLS VPNs

PT Activity 8.1.2: Network Discovery and Documentation Topology Diagram

BGP Terminology, Concepts, and Operation. Chapter , Cisco Systems, Inc. All rights reserved. Cisco Public

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

MPLS-based Layer 3 VPNs

Cisco Router Configuration Tutorial

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

Routing Protocols and Concepts Chapter 2 Conceitos de protocolos de Encaminhamento Cap 2

3.1 Connecting to a Router and Basic Configuration

Routing Protocol - BGP

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

BGP Support for Next-Hop Address Tracking

Lab Diagramming Traffic Flows to and from Remote Sites

Configuring and Testing Border Gateway Protocol (BGP) on Basis of Cisco Hardware and Linux Gentoo with Quagga Package (Zebra)

Department of Communications and Networking. S /3133 Networking Technology, Laboratory course A/B

Lab 2 - Basic Router Configuration

MPLS VPN over mgre. Finding Feature Information. Prerequisites for MPLS VPN over mgre

Chapter 2 Lab 2-2, EIGRP Load Balancing

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

APNIC elearning: BGP Attributes

Device Interface IP Address Subnet Mask Default Gateway

Lab 3 Routing Information Protocol (RIPv1) on a Cisco Router Network

MPLS VPN Route Target Rewrite

LAB Configuring NAT. Objective. Background/Preparation

BSCI Module 6 BGP. Configuring Basic BGP. BSCI Module 6

Skills Assessment Student Training Exam

Sample Configuration Using the ip nat outside source static

Lab Diagramming Intranet Traffic Flows

Lab Review of Basic Router Configuration with RIP. Objective. Background / Preparation. General Configuration Tips

Lab 5-5 Configuring the Cisco IOS DHCP Server

Frame Mode MPLS Implementation

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Application Note. Failover through BGP route health injection

Lab Advanced Telnet Operations

Angelos Stavrou. OF COURSE there is no Magic so lets see show things work in practice...

Configuring the PIX Firewall with PDM

Table of Contents. Cisco How Does Load Balancing Work?

Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software

Configuring BGP. Cisco s BGP Implementation

Chapter 6: Implementing a Border Gateway Protocol Solution for ISP Connectivity

GregSowell.com. Mikrotik Routing

ICND1 Lab Guide Interconnecting Cisco Networking Devices Part 1 Version: Beta. Labs powered by

Configuring a Leased Line

Lab Introductory Lab 1 Getting Started and Building Start.txt

Configure ISDN Backup and VPN Connection

Border Gateway Protocol Best Practices

Lab Creating a Logical Network Diagram

Cisco Configuring Basic MPLS Using OSPF

PT Activity: Configure Cisco Routers for Syslog, NTP, and SSH Operations

BGP Best Path Selection Algorithm

ETHEL THE AARDVARK GOES BGP ROUTING

Sample Configuration Using the ip nat outside source list C

Session Title: Exploring Packet Tracer v5.3 IP Telephony & CME. Scenario

Computer Networks Administration Help Manual Sana Saadaoui Jemai Oliver Wellnitz

During this lab time you will configure the routing protocol OSPF with IPv4 addresses.

> Border Gateway Protocol (BGP-4) Technical Configuration Guide. Ethernet Routing Switch. Engineering

Lab Creating a Network Map using CDP Instructor Version 2500

Advanced BGP Policy. Advanced Topics

Lab Configuring Syslog and NTP (Instructor Version)

Configuring a Basic MPLS VPN

Understanding Virtual Router and Virtual Systems

Lab Introductory Lab 1 - Getting Started and Building Start.txt

Lab Load Balancing Across Multiple Paths Instructor Version 2500

Lab Configuring OSPF with Loopback Addresses

Configuring MPLS Hub-and-Spoke Layer 3 VPNs

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

LAB THREE STATIC ROUTING

Lab Characterizing Network Applications

LAB FOUR Dynamic Routing Protocols

Lab Configure Cisco IOS Firewall CBAC on a Cisco Router

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

LAB II: Securing The Data Path and Routing Infrastructure

Connect the Host to attach to Fast Ethernet switch port Fa0/2. Configure the host as shown in the topology diagram above.

BGP (Border Gateway Protocol)

Document ID: Introduction

Border Gateway Protocol (BGP)

Transcription:

Lab 10: Objective Confi gure P1R1 for basic Exterior Border Gateway Protocol (EBGP). Confi gure P1R1 and P1R2 for Interior Border Gateway Protocol (IBGP). Confi rm BGP connectivity. Lab Topology For this lab, your network design will include two pods of devices. Pod 2 will be confi gured upon the initial loading of the lab. You will be responsible for confi guring Pod 1. The Pod 2 devices will be confi gured with the same IP addressing scheme as those in Pod 1. For all labs that require more than one pod, your pod will be represented as Pod 1, and the remote pod will be Pod 2. The Topology below represents the NetMap in the Simulator. To access each of the devices from within the Simulator, select the device name from the appropriate menu in the Simulator. For example, to access P1R1, click the erouters button and select P1R1 from the drop-down menu. Boson NetSim for CCNP Lab Manual 61

BGP Topology Command Summary Command router bgp autonomous_system_number neighbor ip_address remote-as asn neighbor ip_address next-hop-self network address {mask mask} show ip bgp summary show ip bgp neighbor show ip bgp clear ip bgp* Description enters router confi g mode for BGP establishes a BGP neighbor relationship defi nes the neighbor as a Next Hop Self neighbor specifi es networks to be advertised by BGP displays summary BGP neighbor status displays detailed BGP neighbor status displays BGP table resets all BGP peer connections 62 Boson NetSim for CCNP Lab Manual

Lab Tasks Task 1: Lab Preparation 1. 2. 3. 4. 5. Make sure there is no confi guration on P1R1 and P1R2. If any confi gurations are present, erase them and reload both routers. Confi gure P1R1 and P1R2 with the IP addresses shown in the Lab Topology diagram. Assign a clock rate of 64000 to all DCE serial interfaces. On P1R1 and P1R2, enable FastEthernet 0/0, serial 0/0, and Loopback 0. Use ping to verify connectivity. Task 2: Enable Basic EBGP 1. 2. 3. 4. 5. BSCI LAB 10 On P1R1, enable EBGP for your AS. You will need to confi gure a neighbor statement for each pod. These examples are for Pod 1. The next-hop-self command is used to force P1R1 to advertise itself as the next hop on the shared Ethernet backbone. On P1R1, confi gure a network statement for each directly connected network. Execute the show ip bgp summary command. How many neighbors are listed? How many network entries are listed? Execute the show ip route command. Do you see any BGP routes? If so, what are the administrative distances of these routes? Try the show ip bgp neighbors command. What is the BGP state of the fi rst neighbor? Task 3: Confi gure IBGP Within Pod 1 Now, confi gure IBGP between P1R1 and P1R2. 1. On P1R2, enable BGP and confi gure a network statement for each directly connected network. 2. Confi gure P1R1 and P1R2 to be BGP neighbors. Use the show ip bgp summary command to verify. 3. Use the show ip route command on P1R2. Does a route exist to the P1R1 loopback network? 4. On P1R2, what is the next hop IP address for the routes to pod 2? 5. On P1R1, confi gure the neighbor relationship to the P1R2 router with the next-hop-self option. 6. On P1R2, execute the clear ip bgp * command. Wait a minute, and then execute the show ip bgp command. What is the next hop now? Boson NetSim for CCNP Lab Manual 63

Lab Solutions Task 1: Lab Preparation Sample base confi guration for Pod 1 P1R1 Confi g hostname P1R1 enable password cisco interface Loopback0 ip address 192.168.1.1 255.255.255.240 interface FastEthernet0/0 ip address 10.100.100.1 255.255.255.0 interface Serial0/0 ip address 192.168.1.33 255.255.255.240 no fair-queue clock rate 64000 interface Serial0/1 no ip address shutdown P1R2 Confi g hostname P1R2 enable password cisco interface Loopback0 ip address 192.168.1.17 255.255.255.240 interface FastEthernet0/0 ip address 192.168.1.49 255.255.255.240 speed auto interface Serial0/0 ip address 192.168.1.34 255.255.255.240 64 Boson NetSim for CCNP Lab Manual

Task 2: Enable Basic EBGP 1. P1R1(confi g)#router bgp 1 P1R1(confi g-router)#neighbor 10.100.100.2 remote-as 2 P1R1(confi g-router)#neighbor 10.100.100.2 next-hop-self 2. 3. 4. P1R1(confi g-router)#network 10.100.100.0 mask 255.255.255.0 P1R1(confi g-router)#network 192.168.1.0 mask 255.255.255.240 P1R1(confi g-router)#network 192.168.1.32 mask 255.255.255.240 One neighbor is listed. One network entry is listed. P1R1#show ip bgp summary BGP router identifi er 192.168.1.1, local AS number 1 BGP table version is 6, main routing table version 6 5 network entries and 6 paths using 701 bytes of memory 2 BGP path attribute entries using 120 bytes of memory 1 BGP AS-PATH entries using 24 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP fi lter-list cache entries using 0 bytes of memory BGP activity 5/0 prefi xes, 6/0 paths, scan interval 15 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.100.100.2 4 2 8 8 6 0 0 00:04:56 3 Yes. The administrative distance of these routes is 20. P1R1#show ip route C C C 10.0.0.0/24 is subnetted, 1 subnets 10.100.100.0 is directly connected, FastEthernet0/0 192.168.1.0/28 is subnetted, 2 subnets 192.168.1.32 is directly connected, Serial0/0 192.168.1.0 is directly connected, Loopback0 192.168.2.0/28 is subnetted, 2 subnets B 192.168.2.32 [20/0] via 10.100.100.2, 00:07:18 B 192.168.2.0 [20/0] via 10.100.100.2, 00:07:18 5. Established P1R1#show ip bgp neighbors BGP neighbor is 10.100.100.2, remote AS 2, external link BGP version 4, remote router ID 192.168.2.1 BGP state = Established, up for 00:09:55 Task 3: Confi gure IBGP Within Pod 1 Boson NetSim for CCNP Lab Manual 65

1. 2. P1R2(confi g)#router bgp 1 P1R2(confi g-router)#network 192.168.1.16 mask 255.255.255.240 P1R2(confi g-router)#network 192.168.1.32 mask 255.255.255.240 P1R2(confi g-router)#network 192.168.1.48 mask 255.255.255.240 P1R1(confi g)#router bgp 1 P1R1(confi g-router)#neighbor 192.168.1.34 remote-as 1 P1R2(confi g)#router bgp 1 P1R2(confi g-router)#neighbor 192.168.1.33 remote-as 1 P1R1#show ip bgp summary Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.100.100.2 4 2 36 36 6 0 0 00:32:20 3 192.168.1.34 4 1 6 6 6 0 0 00:01:08 3 3. Yes P1R2#sh ip route 10.0.0.0/24 is subnetted, 1 subnets B 10.100.100.0 [200/0] via 192.168.1.33, 00:16:06 192.168.1.0/28 is subnetted, 4 subnets C 192.168.1.32 is directly connected, Serial0/0 C 192.168.1.48 is directly connected, FastEthernet0/0 B 192.168.1.0 [200/0] via 192.168.1.33, 00:16:06 C 192.168.1.16 is directly connected, Loopback0 192.168.2.0/28 is subnetted, 2 subnets B 192.168.2.32 [200/0] via 10.100.100.2, 00:15:56 B 192.168.2.0 [200/0] via 10.100.100.2, 00:15:57 4. 5. 6. The next hop is 10.100.100.2. P1R1(confi g-router)#neighbor 192.168.1.34 next-hop-self The next hop changes to 192.168.1.33. 66 Boson NetSim for CCNP Lab Manual

Sample BGP Confi guration Scripts Pod 1 Router 1 Pod 1 Router 2 hostname P1R1 enable password cisco interface Loopback0 ip address 192.168.1.1 255.255.255.240 interface FastEthernet0/0 ip address 10.100.100.1 255.255.255.0 interface Serial0/0 ip address 192.168.1.33 255.255.255.240 clock rate 64000 router bgp 1 no synchronization bgp log-neighbor-changes network 10.100.100.0 mask 255.255.255.0 network 192.168.1.0 mask 255.255.255.240 network 192.168.1.32 mask 255.255.255.240 neighbor 10.100.100.2 remote-as 2 neighbor 10.100.100.2 next-hop-self neighbor 192.168.1.34 remote-as 1 neighbor 192.168.1.34 next-hop-self BSCI LAB 10 hostname P1R2 enable password cisco interface Loopback0 ip address 192.168.1.17 255.255.255.240 interface FastEthernet0/0 ip address 192.168.1.49 255.255.255.240 speed auto interface Serial0/0 ip address 192.168.1.34 255.255.255.240 router bgp 1 no synchronization bgp log-neighbor-changes network 192.168.1.16 mask 255.255.255.240 network 192.168.1.32 mask 255.255.255.240 network 192.168.1.48 mask 255.255.255.240 neighbor 192.168.1.33 remote-as 1 Boson NetSim for CCNP Lab Manual 67

68 Boson NetSim for CCNP Lab Manual