Cisco Router Configurations: EIGRP and BGP Setup
Router R1 Configuration
Hostname: R1
Interface Configurations
- Loopback1:
- IP Address: 10.1.1.1 255.255.255.0
- FastEthernet0/0:
- IP Address: 192.168.14.1 255.255.255.252
- no shutdown
- Serial0/0/0:
- IP Address: 10.1.102.1 255.255.255.248
- clock rate 64000
- bandwidth 64
- no shutdown
- Serial0/0/1:
- IP Address: 10.1.103.1 255.255.255.248
- bandwidth 64
- no shutdown
EIGRP Configuration
Autonomous System: 65001
- network 10.0.0.0
- network 192.168.14.0
- passive-interface FastEthernet0/0
- no auto-summary
BGP Configuration
Autonomous System: 65001
- no synchronization
- network 10.1.1.0 mask 255.255.255.0
- neighbor 10.1.103.3 remote-as 65001
- neighbor 10.2.2.2 remote-as 65001
- neighbor 10.2.2.2 update-source Loopback1
- neighbor 192.168.14.2 remote-as 65002
- neighbor 192.168.14.2 route-map IN-FROM-TDP in
- neighbor 192.168.14.2 route-map OUT-TO-TDP out
- no auto-summary
Route Maps
- OUT-TO-TDP:
- permit 10
- set metric 10
- IN-FROM-TDP:
- permit 10
- set local-preference 200
end
Router R2 Configuration
Hostname: R2
Interface Configurations
- Loopback2:
- IP Address: 10.2.2.2 255.255.255.0
- Loopback200:
- IP Address: 10.20.0.1 255.255.255.0
- Loopback201:
- IP Address: 10.20.1.1 255.255.255.0
- Loopback202:
- IP Address: 10.20.2.1 255.255.255.0
- Loopback203:
- IP Address: 10.20.3.1 255.255.255.0
- Serial0/0/0:
- IP Address: 10.1.102.2 255.255.255.248
- bandwidth 64
- no shutdown
- Serial0/0/1:
- IP Address: 10.1.203.2 255.255.255.248
- clock rate 64000
- bandwidth 64
- no shutdown
EIGRP Configuration
Autonomous System: 65001
- network 10.0.0.0
- no auto-summary
BGP Configuration
Autonomous System: 65001
- no synchronization
- network 10.2.2.0 mask 255.255.255.0
- network 10.20.0.0 mask 255.255.252.0
- neighbor 10.1.1.1 remote-as 65001
- neighbor 10.1.1.1 update-source Loopback2
- neighbor 10.1.203.3 remote-as 65001
- no auto-summary
Static Route
- ip route 10.20.0.0 255.255.252.0 Null0
end
Router R3 Configuration
Hostname: R3
Interface Configurations
- Loopback3:
- IP Address: 10.3.3.3 255.255.255.0
- Serial0/0/0:
- IP Address: 10.1.103.3 255.255.255.248
- clock rate 64000
- bandwidth 64
- no shutdown
- Serial0/0/1:
- IP Address: 10.1.203.3 255.255.255.248
- bandwidth 64
- no shutdown
- Serial0/1/0:
- IP Address: 192.168.34.1 255.255.255.252
- clock rate 64000
- bandwidth 64
- no shutdown
EIGRP Configuration
Autonomous System: 65001
- network 10.0.0.0
- network 192.168.34.0
- passive-interface Serial0/1/0
- no auto-summary
BGP Configuration
Autonomous System: 65001
- no synchronization
- network 10.3.3.0 mask 255.255.255.0
- neighbor 10.1.103.1 remote-as 65001
- neighbor 10.1.203.2 remote-as 65001
- neighbor 192.168.34.2 remote-as 65002
- neighbor 192.168.34.2 route-map IN-FROM-TDP in
- neighbor 192.168.34.2 route-map OUT-TO-TDP out
- no auto-summary
Route Maps
- OUT-TO-TDP:
- permit 10
- set metric 20
- IN-FROM-TDP:
- permit 10
- set local-preference 100
end
Router R4 Configuration
Hostname: R4
Interface Configurations
- Loopback0:
- IP Address: 172.16.0.1 255.255.252.0
- Loopback4:
- IP Address: 172.16.4.1 255.255.252.0
- Loopback8:
- IP Address: 172.16.8.1 255.255.252.0
- Loopback12:
- IP Address: 172.16.12.1 255.255.252.0
- FastEthernet0/0:
- IP Address: 192.168.14.2 255.255.255.252
- no shutdown
- Serial0/0/0:
- IP Address: 192.168.34.2 255.255.255.252
- bandwidth 64
- no shutdown
EIGRP Configuration
Autonomous System: 65002
- network 172.16.0.0
- network 192.168.14.0
- network 192.168.34.0
- passive-interface FastEthernet0/0
- passive-interface Serial0/0/0
- no auto-summary
BGP Configuration
Autonomous System: 65002
- no synchronization
- network 172.16.0.0 mask 255.255.252.0
- network 172.16.4.0 mask 255.255.252.0
- network 172.16.8.0 mask 255.255.252.0
- network 172.16.12.0 mask 255.255.252.0
- aggregate-address 172.16.0.0 255.255.240.0 summary-only
- neighbor 192.168.14.1 remote-as 65001
- neighbor 192.168.34.1 remote-as 65001
- no auto-summary
end