CCNP(ROUTER)

16일차. OSPF의 네트워크타입에 따른 BR,BDR

컴공 2013. 6. 3. 09:31
반응형

R1
en
conf t
int loop 0
ip addr 16.16.1.1 255.255.255.0
ip ospf net point-to-point
int s1/0
no shut
encap frame
no frame-relay inverse-arp
int s1/0.123 p
ip addr 16.16.123.1 255.255.255.0
frame-relay interface-dlci 102
exi
router ospf 100
network 16.16.123.1 0.0.0.0 area 0
network 16.16.1.1 0.0.0.0 area 0
 
R2
en
conf t
int loop 0
ip addr 16.16.2.2 255.255.255.0
ip ospf net point-to-point
int s1/0
no shut
encap frame
no frame-relay inverse-arp
int s1/0.123 m
ip addr 16.16.123.2 255.255.255.0
frame-relay map ip 16.16.123.1 201 broadcast
frame-relay map ip 16.16.123.3 203 broadcast
ip ospf network point-to-multipoint
ip ospf hello-interval 10
ip ospf dead-interval 40
exi
router ospf 100
network 16.16.123.2 0.0.0.0 area 0
network 16.16.2.2 0.0.0.0 area 0

R3
en
conf t
int loop 0
ip addr 16.16.3.3 255.255.255.0
ip ospf net point-to-point
int s1/0
no shut
encap frame
no frame inverse-
int s1/0.123 p
ip addr 16.16.123.3 255.255.255.0
frame-relay interface-dlci 302
int s1/0.34 m
ip addr 16.16.34.1 255.255.255.0
frame-relay map ip 16.16.34.2 304
int s1/0.43 p
ip addr 16.16.43.1 255.255.255.0
frame-relay interface-dlci 314
exi
router ospf 100
network 16.16.123.3 0.0.0.0 area 0
network 16.16.3.3 0.0.0.0 area 0
network 16.16.34.1 0.0.0.0 area 0
network 16.16.43.1 0.0.0.0 area 0
neighbor 16.16.34.2 priority 0

R4
en
conf t
int loop 0
ip addr 16.16.4.4 255.255.255.0
ip ospf net point-to-point
int s1/0
no shut
encap frame
no frame inverse-
int s1/0.34 m
ip addr 16.16.34.2 255.255.255.0
frame map ip 16.16.34.1 403
int s1/0.43 p
ip addr 16.16.43.2 255.255.255.0
frame interface-dlci 413
exi
router ospf 100
network 16.16.34.2 0.0.0.0 area 0
network 16.16.43.2 0.0.0.0 area 0
network 16.16.4.4 0.0.0.0 area 0
neighbor 16.16.34.1 priority 0


ospf loop 가 *.*.*.*/32로 나와있는건 sub(하나로 인식)로 되어있어서 그렇다. stub가 아니라 네트워크 자체로 인식하게 하려면
int loop 0
ip ospf net point-to-point //네트워크로 인식하게 한다.

\\\\\\\\\\\\\\\\\\\\\\\\

R1
en
conf t
int loop 0
ip addr 20.1.1.1 255.255.255.0
ip ospf net point-to-point
int s1/0
ip addr 20.1.12.1 255.255.255.0
no shut
exi
router ospf 100
network 20.1.12.1 0.0.0.0 area 0
network 20.1.1.1 0.0.0.0 area 0

R2
en
conf t
int loop 0
ip addr 20.1.2.2 255.255.255.0
ip ospf net point-to-point
int s1/0
ip addr 20.1.12.2 255.255.255.0
no shut
router ospf 100
network 20.1.23.1 0.0.0.0 area 0
network 20.1.12.2 0.0.0.0 area 0
network 20.1.2.2 0.0.0.0 area 0
int f0/0
no shut
ip addr 20.1.23.1 255.255.255.0


R3
en
conf t
int loop 0
ip addr 20.1.3.3 255.255.255.0
ip ospf net point-to-point
int s1/0
encap frame
no frame inverse-arp
ip addr 20.1.34.1 255.255.255.0
no shut
frame map ip 20.1.34.2 304 broadcast
int f0/0
no shut
ip addr 20.1.23.2 255.255.255.0
exi
router ospf 100
network 20.1.23.2 0.0.0.0 area 0
network 20.1.34.1 0.0.0.0 area 0
network 20.1.3.3 0.0.0.0 area 0
neighbor 20.1.34.2 priority 0

R4
en
conf t
int loop 0
ip addr 20.1.4.4 255.255.255.0
ip ospf net point-to-point
int s1/0
encap frame
no frame inverse-arp
ip addr 20.1.34.2 255.255.255.0
no shut
frame map ip 20.1.34.1 403 broadcast
exi
router ospf 100
network 20.1.34.2 0.0.0.0 area 0
network 20.1.4.4 0.0.0.0 area 0
neighbor 20.1.34.1 priority 0


반응형

'CCNP(ROUTER)' 카테고리의 다른 글

18일차. ABR,ASBR 경로축약 및 OSPF 인증  (0) 2013.06.03
17일차 라우터의 STUB과 NSSA  (0) 2013.06.03
15일차 OSPF의 통신  (0) 2013.05.27
14강 EIGRP와 frame-relay  (0) 2013.05.27
13일차, EIGRP 개요.  (0) 2013.05.24