0% found this document useful (0 votes)
19 views

Assignment 10 Lab Manual - BGP

Uploaded by

Mohammad Mushtaq
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Assignment 10 Lab Manual - BGP

Uploaded by

Mohammad Mushtaq
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

MINT 708 – INTERNET LABORATORY – FALL 2024

MASTER OF SCIENCE - INTERNETWORKING

Module 10: BGP and MP-BGP


1. Introduction and Learning Outcomes

2. Lab Exercises

3. Deliverables

Assignment 10 Lab Manual


Page 1 of 7
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

1. Introduction and Learning Outcomes


1.1 Introduction
Border Gateway Protocol (BGP) is practically the protocol on which the Internet is working. It is an
exterior gateway protocol (EGP) designed to cater to the ever expanding and changing needs of the
Internet. It routes packets between different AS (Autonomous Systems) on the Internet.

It is a path vector protocol and uses diverse types of BGP attributes to influence its own or the incoming
routers’ decision.

It uses the AS Path parameter to avoid loops in the system. As soon as it sees its own AS path appended
it drops the packets, citing it as a loop.

Internal (iBGP) vs External (eBGP)

iBGP is used to route traffic inside an Autonomous system. When it is used to route traffic on the
Internet it is called eBGP.

However, it is advised to have an IGP (like OSPF or IS-IS) running inside the AS to provide better routing
decisions and then iBGP can work on top of it to exchange routes between internal BGP routers.

Operation

BGP neighbors are also called peers and they connect over a TCP connection on port 179. This makes
BGP the only routing protocol which works on the Application layer with TCP as its Transport layer
mechanism.

1.2 Learning Outcomes


a. Demonstrate what autonomous system is, how it is assigned, and in which scenario it is used.
b. Differentiate between iBGP and eBGP and their deployment scenarios.
c. Deploy, analyze and troubleshoot BGP for Internet Routing between different AS.
d. Implement BGP attributes for Internet traffic management.

Assignment 10 Lab Manual


Page 2 of 7
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

2. Lab Exercises
2.1 Addressing Table
● For the following tasks, X = Last 2 digits of your student ID.

Network Host # IPv4 Address Blocks IPv6 Address Blocks


1 N/A 192.168.X.0/30 FD23:1:X::/126
2 N/A 192.168.X.4/30 FD23:2:X::/126
3 N/A 192.168.X.8/30 FD23:3:X::/126
4 N/A 192.168.X.12/30 FD23:4:X::/126
5 N/A 192.168.X.16/30 FD23:5:X::/126
6 N/A 192.168.X.20/30 FD23:6:X::/126
Loopback A 43
10.1.X.0/24 2023:DB9:X:1::/64
Loopback B 66
Loopback C 100
10.2.X.0/24 2023:DB9:X:2::/64
Loopback D 120
Loopback E 55
10.3.X.0/24 2023:DB9:X:3::/64
Loopback F 18
Loopback 32
G
72 10.4.X.0/24 2023:DB9:X:4::/64
Loopback H
Loopback I 5
Loopback J 60
10.5.X.0/24 2023:DB9:X:5::/64
Loopback K 50

2.2 Topology
Router Router ID
R1 1.1.1.1
R2 2.2.2.2
R3 3.3.3.3
R4 4.4.4.4
R5 5.5.5.5

Assignment 10 Lab Manual


Page 3 of 7
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

2.3 Tasks
● Before you start the following tasks, please do the subnetting as per 2.1 Addressing Table.

2.3.1 Basic Configuration

a. Configure routers’ hostname to yourccid_<RouterName>.


b. Assign the IP Address to routers’ physical interfaces and loopback interfaces as per 2.1
Addressing Table and your subnetting table.
c. Verify point-to-point connectivity between directly connected devices.

2.3.2 BGP Configuration

Note: The following tasks are applicable for both IPv4 and IPv6.

a. Enable ipv6 unicast routing and ipv6 cef on Cisco routers.


b. Enable BGP on all routers with the following requirements:
● Configure the router ID as per 2.2 Topology.
c. Aggregate/summarize subnets to the nearest prefix on R2, R3, R4, R5 only.

Assignment 10 Lab Manual


Page 4 of 7
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

2.3.3 BGP Advance Configuration

Note: The following tasks are applicable for IPv4 only. As you can see, we have two paths from AS 65502
to reach the subnets on R1 in AS 65001.

a. Configure BGP Attribute to meet the following requirements:


● Use the path R1- R2 to reach Loopback B.
● Use the path R1- R3 to reach Loopback A.

Hint: You may use any attribute to do this, but one viable way is to configure the attribute on R1 and
alter the incoming routing decisions. You may use show ip bgp <Loopback_IP> to verify which
route it is taking and what default attribute values are present.

Assignment 10 Lab Manual


Page 5 of 7
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

3. Deliverables
3.1 Draw a network diagram illustrating interfaces with IP addresses, VLANs and other necessary
information. Mention the EVE-NG Server IP which was used to perform this exercise. (Do not
copy/capture the network/lab topology simply from EVE-NG Server)

3.2 Issue the following commands and copy the configurations from the following devices in plain text
after completing all tasks, and put the configured text in bold. DELETE all default and not configured
configuration lines, wherever applicable.

a. Cisco Routers: show running configuration


b. Juniper Router: show configuration
c. Alcatel Router: admin display-config

3.3 Provide your digital Subnetting Table (handwriting version is not acceptable).

3.4 Issue the following commands on Cisco Routers (R1, R2, R3) and capture outputs

a. show ip int br
b. show ipv6 int br
c. show ip route bgp
d. show ipv6 route bgp
e. show ip bgp
f. show ip bgp ipv6 unicast

3.5 Issue the following commands on R5-Juniper Router and capture outputs

a. show interfaces terse


b. show route protocol bgp
c. show bgp summary

3.6 Issue the following commands on R4-Alcatel Router and capture outputs

a. show router interface


b. show router route-table protocol bgp
c. show router route-table ipv6 protocol bgp
d. show router bgp routes
e. show router bgp routes ipv6

3.7 Issue the following commands on Cisco Routers (R2, R3) and capture outputs

a. show ip bgp <Loopback_A_IP>


b. show ip bgp <Loopback_B_IP>

3.8 Issue both IPv4 and IPv6 ping with option source from the following devices and capture outputs

a. Loopback A to Loopback K
b. Loopback B to Loopback H
c. Loopback C to Loopback B

Assignment 10 Lab Manual


Page 6 of 7
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

d. Loopback E to Loopback A

3.9 Issue both IPv4 and IPv6 traceroute from the following devices and capture outputs

a. R1 to Loopback C
b. R1 to Loopback F
c. R2 to Loopback J
d. R3 to Loopback G
e. R4 to Loopback A
f. R4 to Loopback B
g. R5 to Loopback A
h. R5 to Loopback B

Assignment 10 Lab Manual


Page 7 of 7

You might also like