CCNP Lab 033: Border Gateway Protocol Lab
Lab Objective:
The focus of this lab is to understand BGP implementation and configuration in Cisco IOS routers. Additional technologies include confederations, summarization 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 the following the following Loopback 0 interfaces on all routers and then enable OSPF using area 0 (backbone) on all routers. OSPF should only be enabled for the Loopback and 10.x.x.x/30 WAN subnets. Do NOT enable OSPF for the 150.x.x.x/24 LAN subnets.
R1: Loopback 0: IP Address 1.1.1.1/32 R2: Loopback 0: IP Address 2.2.2.2/32 R3: Loopback 0: IP Address 3.3.3.3/32 R4: Loopback 0: IP Address 4.4.4.4/32
Task 3
Configure BGP confederations as illustrated in the network topology. Use Loopback interface IP addresses for BGP peering. To the outside world, all routers should appear to be in BGP AS 254. Verify your configuration using the appropriate commands.
Task 4
Advertise the 150.x.x.x/24 subnets on R1, R2, R3, and R4 via BGP. Ensure that all routers can ping each others’ LAN subnet from their own LAN subnet. For example, from R1 ping the 150.4.4.4 address using an extended ping sourced from the routers FastEthernet0/0 interface.
Task 5
In the future, a link will be provisioned between R1 and R4. However, management has decided that R1 and R2 should ALWAYS prefer the path through sub-AS 65505 to reach each others’ LAN subnets ONLY. Any other subnets that may be added to additional sub-ASes in the future should be affected by this configuration. For example, if another sub-AS is connected to R4, then R1 should prefer the path directly through R4 to reach this sub-AS since it will have a shorter AS_PATH list than going through sub-AS 65505. You are NOT allowed to use IP ACLs or prefix lists to complete this task. Verify the solution using the appropriate commands.
Task 6
Configure sub-AS 65505 to advertise a single prefix instead of the two 150.2.2.0/24 as well as the 150.3.3./24 prefixes connected to R2 and R3s LAN interfaces to R1 and R4.
HINT: Use the neighbor <address> unsuppress-map <route-map-name> command on R2 and R3 to allow these prefixes to be advertised within sub AS 65505 so that R2 and R3 still have LAN-to-LAN connectivity.
Verify your configuration and ensure that R1 and R2 can still reach the LAN that are connected to R2 and R3. Use extended pings to verify your configuration.
