Professional Documents
Culture Documents
Task
Configure IP Address as per given in topology. Make sure all routers have four loopbacks (e.g. on R1 L1
1.1.1.1/24 L2 1.1.2.1/24.)
Configure IBGP as per given in topology and advertise first two loopbacks in IBGP Domain.
Configure HSRP on R5 and R6. Use Virtual IP as 192.168.20.254 and MD5 authentication key as
"N3tW@x!ab".
Configure Server as per given in topology. Make sure Routers who participate in BGP 100 will ping
netwaxlab and blog.eincop.com
Configure BGP as per given in topology. Also Configure Sub BGP in BGP 1000.
Make sure Loopback which is participating in BGP domains will communicate each other’s.
Make sure OSPF Area 0 authenticate with MD5 using "N3tW@x!ab" key.
Configure BGP authentication between R4 and R6 using "N3tW@x!ab" key.
On R9, R14 is the best path for networks 8.8.1.0, 8.8.2.0, 8.8.3.0 and 8.8.4.0.
R11 receives all the routes from R8. Expect their own BGP domain.
Lab :BGP-II
Solution
Task 2: Configure IBGP as per given in topology and advertise first two loopbacks in IBGP Domain.
R1
router ospf 1
router-id 1.1.1.1
network 1.1.1.0 0.0.0.255 area 0
network 1.1.2.0 0.0.0.255 area 0
network 10.0.13.0 0.0.0.255 area 0
network 10.0.14.0 0.0.0.255 area 0
exit
R2
router ospf 1
router-id 2.2.2.2
network 2.2.1.0 0.0.0.255 area 0
network 2.2.2.0 0.0.0.255 area 0
network 10.0.23.0 0.0.0.255 area 0
network 10.0.24.0 0.0.0.255 area 0
exit
R3
router ospf 1
router-id 3.3.3.3
network 3.3.1.0 0.0.0.255 area 0
network 3.3.2.0 0.0.0.255 area 0
network 10.0.13.0 0.0.0.255 area 0
network 10.0.23.0 0.0.0.255 area 0
exit
R4
router ospf 1
router-id 4.4.4.4
network 4.4.1.0 0.0.0.255 area 0
network 4.4.2.0 0.0.0.255 area 0
network 10.0.14.0 0.0.0.255 area 0
network 10.0.24.0 0.0.0.255 area 0
network 20.0.45.0 0.0.0.255 area 1
network 20.0.46.0 0.0.0.255 area 1 exit
R5
router ospf 1
router-id 5.5.5.5
network 5.5.1.0 0.0.0.255 area 1
network 5.5.2.0 0.0.0.255 area 1
network 20.0.45.0 0.0.0.255 area 1
network 192.168.20.0 0.0.0.255 area 1
exit
R6
router ospf 1
router-id 6.6.6.6
network 6.6.1.0 0.0.0.255 area 1
network 6.6.2.0 0.0.0.255 area 1
network 20.0.46.0 0.0.0.255 area 1
network 192.168.20.0 0.0.0.255 area 1
exit
R11
R12
R13
R14
Task 3: Configure HSRP on R5 and R6. Use Virtual IP as 192.168.20.254 and MD5 authentication key as
"N3tW@x!ab".
R5
int f0/0
standby 1 ip 192.168.20.254
standby 1 priority 101
standby 1 preempt
standby 1 authentication md5 key-string N3tW@x!ab
exit
R6
int f1/0
standby 1 ip 192.168.20.254
standby 1 priority 99
standby 1 preempt
standby 1 authentication md5 key-string N3tW@x!ab
exit
Task 4: Configure Server as per given in topology. Make sure Routers who participate in BGP 100 will ping
netwaxlab and blog.eincop.com
R6
int l1
ip add 99.99.99.100 255.255.255.0
int l2
ip add 99.99.98.11 255.255.255.0
R4, R5 and R6
ip domain lookup
ip name-server 192.168.20.200
Task 5: Configure BGP as per given in topology. Also Configure Sub BGP in BGP 1000. (Task 6 will also
complete in this task).
R1
R2
R3
R4
no auto-summary
R5
R6
R7
R8
R9
R10
R11
R12
R13
R14
R1
router ospf 1
area 0 authentication
exit
int se0/0
ip ospf authentication message-digest
ip ospf message-digest-key 10 md5 N3tW@x!ab
exit
int se0/1
ip ospf authentication message-digest
ip ospf message-digest-key 10 md5 N3tW@x!ab
exit
R2
router ospf 1
area 0 authentication
exit
int se0/0
ip ospf authentication message-digest
ip ospf message-digest-key 10 md5 N3tW@x!ab
exit
int se0/1
ip ospf authentication message-digest
ip ospf message-digest-key 10 md5 N3tW@x!ab
exit
R3
router ospf 1
area 0 authentication
exit
int se0/0
ip ospf authentication message-digest
ip ospf message-digest-key 10 md5 N3tW@x!ab
exit
int se0/1
ip ospf authentication message-digest
ip ospf message-digest-key 10 md5 N3tW@x!ab
exit
R4
router ospf 1
area 0 authentication
exit
int se0/0
ip ospf authentication message-digest
ip ospf message-digest-key 10 md5 N3tW@x!ab
exit
int se0/1
ip ospf authentication message-digest
ip ospf message-digest-key 10 md5 N3tW@x!ab
exit
R4
R6
R9
access-list 10 permit 8.8.1.0 0.0.0.255 access-list 10 permit 8.8.2.0 0.0.0.255 access-list 10 permit 8.8.3.0
0.0.0.255 access-list 10 permit 8.8.4.0 0.0.0.255
route-map R8 permit 10
match ip address 10
set local-preference 500
exit
route-map R8 permit 20
exit
Task 10: R11 receives all the routes from R8. Expect their own BGP domain.
R11
access-list 10 permit 9.9.1.0 0.0.0.255 access-list 10 permit 9.9.2.0 0.0.0.255 access-list 10 permit 9.9.3.0
0.0.0.255 access-list 10 permit 9.9.4.0 0.0.0.255
route-map R9 permit 10
match ip address 10
set weight 1500
exit
route-map R9 permit 20
exit