OSPF hello-interval & DR선출,비선출 구분하여 전체통신가능하게 만들기

2016. 3. 14. 15:36네트워크


 R1


ena 

conf t

no ip do loo

line cons 0

exec-t 0

logg syn

exit


int s 1/0

encap fr

no fr inverse-arp

no shut

exit


int s 1/0.123 po

ip add 11.11.123.1 255.255.255.0

frame-relay interface-dlci 102

exit


int loo 0

ip add 1.1.1.1 255.255.255.0

exit


router ospf 1

network 11.11.123.1 0.0.0.0 area 0

network 1.1.1.1 0.0.0.0 area 0

exit


====================================================

R2


ena 

conf t

no ip do loo

line cons 0

exec-t 0

logg syn

exit


int s 1/0

encap fr

no fr inverse-arp

no shut

exit


int s 1/0.123 mul

ip add 11.11.123.2 255.255.255.0

frame-relay map ip 11.11.123.1 201 broadcast

frame-relay map ip 11.11.123.3 203 broadcast

exit


int loo 0

ip add 2.2.2.2 255.255.255.0

exit


router ospf 1

network 11.11.123.2 0.0.0.0 area 0

network 2.2.2.2 0.0.0.0 area 0

exit


int s 1/0.123

ip ospf network point-to-multipoint      ===> DR/BDR 비선출 모드로 바꿔준다.

exit


int s 1/0.123

ip ospf hello-interval 10                    ===> hello interval 조정해서 통신가능하게 만들기.

exit


====================================================

R3


ena 

conf t

no ip do loo

line cons 0

exec-t 0

logg syn

exit


int s 1/0

encap fr

no fr inverse-arp

no shut

exit


int s 1/0.123 po

ip add 11.11.123.3 255.255.255.0

frame-relay interface-dlci 302

exit


int s 1/0.34 mul

ip add 11.11.34.3 255.255.255.0

frame-relay map ip 11.11.34.4 304 broadcast

exit


int s 1/0.43 po

ip add 11.11.43.3 255.255.255.0

frame-relay interface-dlci 314

exit

exit


int loo 0

ip add 3.3.3.3 255.255.255.0

exit


router ospf 1

network 11.11.123.3 0.0.0.0 area 0

network 11.11.34.3 0.0.0.0 area 0

network 3.3.3.3 0.0.0.0 area 0

exit


====================================================

R4


ena 

conf t

no ip do loo

line cons 0

exec-t 0

logg syn

exit


int s 1/0

encap fr

no fr inverse-arp

no shut

exit


int s 1/0.34 mul

ip add 11.11.34.4 255.255.255.0

frame-relay map ip 11.11.34.3 403 broadcast

exit


int s 1/0.43 po

ip add 11.11.43.4 255.255.255.0

frame-relay interface-dlci 413

exit

exit


int loo 0

ip add 4.4.4.4 255.255.255.0

exit


router ospf 1

network 11.11.34.4 0.0.0.0 area 0

network 11.11.43.4 0.0.0.0 area 0

network 4.4.4.4 0.0.0.0 area 0

exit


router ospf 1

neighbor 11.11.34.3                             ====> NBMA이므로 neighbor 수동 설정

exit