# labs

lab_name: CCNP Lab05
lab_description: BGP + as-override
lab_netmap: 1:e0/0 2:e0/0 2:e0/1 3:e0/1
lab_info:
<p> BGP connectivity exists between Headquarters and both remote sites, however Remote Site 1 cannot communicate with Remote Site 2.</p> 
  <p>Configure BGP according to the topology to achieve these goals:</p> 
  <p>1. Configure R2 under the BGP process to provide reachability between Remote Site 1 and Remote Site 2. No configuration changes are permitted on R1 or R3.</p> 
  <p>2. Ensure that the /32 networks at Remote Site 1 and Remote Site 2 can ping each other.</p> 
  <p> </p> 
  <pre>【R1 路由器】 (Remote Site 1 - AS 123)
hostname R1
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
 exit
interface Ethernet0/0
 ip address 10.0.0.1 255.255.255.0
 no shutdown
 exit
router bgp 123
 bgp router-id 1.1.1.1
 neighbor 10.0.0.2 remote-as 456
 address-family ipv4 unicast
  network 1.1.1.1 mask 255.255.255.255
  neighbor 10.0.0.2 activate
 exit-address-family</pre> 
  <p> </p> 
  <pre> 【R2 路由器】 (Headquarters - AS 456，未配置 as-override 的初始狀態)
hostname R2
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
 exit
interface Ethernet0/0
 ip address 10.0.0.2 255.255.255.0
 no shutdown
 exit
interface Ethernet0/1
 ip address 192.168.1.2 255.255.255.0
 no shutdown
 exit
router bgp 456
 bgp router-id 2.2.2.2
 neighbor 10.0.0.1 remote-as 123
 neighbor 192.168.1.3 remote-as 123
 address-family ipv4 unicast
  network 2.2.2.2 mask 255.255.255.255
  neighbor 10.0.0.1 activate
  neighbor 192.168.1.3 activate
 exit-address-family</pre> 
  <p> </p> 
  <pre> 【R3 路由器】 (Remote Site 2 - AS 123)
hostname R3
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
 exit
interface Ethernet0/1
 ip address 192.168.1.3 255.255.255.0
 no shutdown
 exit
router bgp 123
 bgp router-id 3.3.3.3
 neighbor 192.168.1.2 remote-as 456
 address-family ipv4 unicast
  network 3.3.3.3 mask 255.255.255.255
  neighbor 192.168.1.2 activate
 exit-address-family </pre> 
  <p> </p>


