Lab 9: BGP Hardware Lab - AidanP017/Aidan-NET-330 GitHub Wiki
Purpose
In this lab, we grouped up and configured BGP for a part of a larger network. Specifically, we managed the third router in the AS 1010 network (Vermont-ISP) and established connections between the AS 3033 network (BTV-Router) and AS 2054 network (Pacific-ISP).
Assignments
The following table was used for configurations.
Network Name | Network Address | Subnet Mask |
---|---|---|
Vermont-ISP to Pacific-ISP | 192.168.1.1/30 | 255.255.255.252 |
Vermont-ISP to Burlington-BTV | 192.168.2.1/30 | 255.255.255.252 |
Consoling Into Switch
Reference the associated section from Lab 4-1 to console into the switch using PuTTY.
Clearing Previous Configurations
After consoling into the router, we first cleared any instances of previous configurations.
write erase
reload
Configuring the Hostname
Next, we started configuring the router by first setting the hostname.
enable
conf t
hostname Vermont-ISP
Configuring the Interfaces
Then, we configured the interfaces in relation to the two autonomous systems.
int fa0/0 (to Burlington-BTV)
ip address 192.168.2.1 255.255.255.252
no shut
exit
int fa0/1 (to Pacific-ISP)
ip address 192.168.1.1 255.255.255.252
no shut
exit
Configuring Routing and BGP
After configuring the interfaces, we configured routing and BGP by first defining the autonomous system (AS) for the router.
router bgp 1010
Then, we configured the BGP peers which corresponded to the neighboring IPs of Pacific-ISP (192.168.1.2/30) and Burlington-BTV (192.168.2.2/30).
neighbor 192.168.1.2 remote-as 2054
neighbor 192.168.2.2 remote-as 3033
Lastly, we configured the BGP advertise networks.
network 192.168.1.0 255.255.255.252 (to Pacific-ISP)
network 192.168.2.0 255.255.255.252 (to Burlington-BTV)
The configurations were saved after establishing them.
end
copy run start
Running the command show run
or do show run
if in (config) should verify that the FastEthernet ports were properly configured.
After connecting to the other routers, it should be possible to view the routing tables with the BGP routes successfully configured by running the command show ip route
or do show ip route
if in (config).