DR & BDR Selection Route (LSA-1,2,3,4,5 OSPF )

DR & BDR (LSA-1,2,3,4,5 OSPF )


INTERFACE CONFIGURATION

R1(config)# int f0/0
R1(config-if)# ip address 12.0.0.1 255.0.0.0
R1(config-if# no shutdown
R1(config)# int f1/0
R1(config-if)# ip address 14.0.0.1 255.0.0.0
R1(config-if# no shutdown

R2(config)# int f0/0
R2(config-if)# ip address 12.0.0.2 255.0.0.0
R2(config-if# no shutdown
R2(config)# int f1/0
R2(config-if)# ip address 15.0.0.1 255.0.0.0
R2(config-if# no shutdown

ABR-1(config)# int f1/0
ABR-1(config-if)# ip address 14.0.0.2 255.0.0.0
ABR-1(config-if# no shutdown
ABR-1(config)# int f0/0
ABR-1(config-if)# ip address 16.0.0.1 255.0.0.0
ABR-1(config-if# no shutdown
ABR-1(config)# int f2/0
ABR-1(config-if)# ip address 23.0.0.1 255.0.0.0
ABR-1(config-if# no shutdown


ABR-2(config)# int f0/0
ABR-2(config-if)# ip address 16.0.0.2 255.0.0.0
ABR-2(config-if# no shutdown
ABR-2(config)# int f1/0
ABR-2(config-if)# ip address 15.0.0.2 255.0.0.0
ABR-2(config-if# no shutdown
ABR-2(config)# int f2/0
ABR-2(config-if)# ip address 24.0.0.1 255.0.0.0
ABR-2(config-if# no shutdown

ASBR(config)# int f2/0
ASBR(config-if)# ip address 23.0.0.2 255.0.0.0
ASBR(config-if# no shutdown
ASBR(config)# int f1/0
ASBR(config-if)# ip address 25.0.0.1 255.0.0.0
ASBR(config-if# no shutdown
ASBR(config)# int f0/0
ASBR(config-if)# ip address 36.0.0.1 255.0.0.0
ASBR(config-if# no shutdown

R7(config)# int f0/0
R7(config-if)# ip address 36.0.0.2 255.0.0.0
R7config-if# no shutdown


CONFIGURATION OF PROTOCOL

R1(config)#router ospf 1
R1(config)#router id 1.1.1.1
R1(config-router)#network 12.0.0.0 0.0.0.255 area 0
R1(config-router)#network 14.0.0.0 0.0.0.255 area 0

R2(config)#router ospf 2
R1(config)#router id 2.2.2.2
R2(config-router)#network 12.0.0.0  0.0.0.255 area 0
R2(config-router)#network 15.0.0.0 0 .0.0.255 area 1


ABR-1(config)#router ospf 3
ABR-1(config)#router id 3.3.3.3
ABR-1(config-router)#network 14.0.0.0  0.0.0.255 area 0
ABR-1(config-router)#network 16.0.0.0  0.0.0.255 area 0
ABR-1(config-router)#network 23.0.0.0  0.0.255.255 area 1

ABR-2(config)#router ospf 4
ABR-2(config)#router id 4.4.4.4
ABR-2 (config-router)#network 15.0.0.0  0.0.0.255 area 0
ABR-2(config-router)#network 16.0.0.0  0.0.255.255 area 0
ABR-2(config-router)#network 24.0.0.0  0.0.255.255 area 1


ASBR(config)#router ospf 5
ASBR(config)#router id 5.5.5.5
ASBR (config-router)#network 25.0.0.0  0.0.0.255 area 1
ASBR (config-router)#network 24.0.0.0  0.0.0.255 area 1
ASBR (config-router)#network 23.0.0.0  0.0.0.255 area 1
ASBR(config)#router bgp 100
ASBR(config-router)#neighbour 36.0.0.2 remote-as 200
ASBR(config-router)network 36.0.0.0 mask 255.255.255.0



R6(config)#router ospf 1
R6(config)#router id 6.6.6.6
R6(config-router)#network 24.0.0.0 0.0.0.255 area 1
R6(config-router)#network 25.0.0.0 0.0.0.255 area 1
R6(config)#router bgp 100
R6(config-router)#neighbour 36.0.0.2 remote-as 200
R6(config-router)network 36.0.0.0 mask 255.255.255.0


R7(config)#router bgp 200
R7(config-router)#neighbour 36.0.0.1 remote-as 100
R7(config-router)network 36.0.0.0 mask 255.255.255.0











No comments:

Post a Comment