Lab Objective:
The focus of this lab is to understand BGP implementation and configuration in Cisco IOS routers. Additional technologies include confederations and path control.
Lab Topology:
The lab network topology is illustrated below:
|
IMPORTANT NOTE If you are using the www.howtonetwork.net racks, please bring up the LAN interfaces connected to the routers by issuing the no shutdown command on the connected switches. If you are using a home lab with no Switches, you can bring up the LAN interfaces using the following configurations on your routers: interface fastethernet 0/0 no keepalive loopback no shutdown Alternately, you can simply connect the interfaces to a hub or switch if you have one available in your own lab. |
Task 1
Configure hostnames and IP addressing on all routers as illustrated in the network topology.
Task 2
Configure BGP on R1 as illustrated in the topology. R1 will peer to R2, R3, and R4 using directly connected IP addresses. From R1s perspective, all these routers reside in AS 5. R1 should advertise the 150.1.1.0/24 prefix via BGP. Verify your configuration using relevant commands.
Task 3
Configure BGP on R2, R3, and R4 as illustrated in the topology. All routers will reside in AS 5 to the outside world. Internally, R2 will reside in AS 65502, R3 will reside in AS 65503, and R4 will reside in AS 65504. R2 will peer to R3, which in turn will peer to R4. R2 and R4 will not peer to each other. Ensure that R1, R2, and R3 routers peer with R1 is AS 254. Next, configure R2, R3, and R4 to advertise their respective 150.x.x.x/24 subnets. Ensure that all of the routers can ping the LAN IP address of every other router.
Task 4
Configure AS 5 so that R2 and R3 prefer the path via R1 to reach the 150.1.1.0/24 prefix. Ensure that this is ONLY applicable to this single prefix. Verify your configuration. Task 5
R1 has three paths to the 150.3.3.0/24 subnet advertised by R3. Configure your network so that R1 prefers the path via R2 first, the path via R4 second and then path via R3 last. You are not allowed to make any changes on R1 to complete this task. Additionally, you are NOT allowed to modify the AS_PATH or MED attributes or administrative distance in any manner. Verify your configuration using the appropriate commands.
