뭉게뭉게 엔지니어

OSPF_Multi Area 실습 본문

☁ 실습 해보기/Packet Tracer

OSPF_Multi Area 실습

어푸어푸🌊 2022. 6. 16. 00:00

loopback interface 작성하기]

1. 인터페이스에서 주소 제거
R02(config)#int f0/0
R02(config-if)#no ip address

2. 주소 정보 확인 
R02#sh ip int br
Interface              IP-Address      OK? Method Status                Protocol 
FastEthernet0/0        unassigned      YES manual up                    down 
FastEthernet1/0        unassigned      YES unset  administratively down down 
Serial2/0              2.2.2.2         YES manual up                    up 
Serial3/0              3.3.3.2         YES manual up                    up 
FastEthernet4/0        unassigned      YES unset  administratively down down 
FastEthernet5/0        unassigned      YES unset  administratively down down

3. 루프백 인터페이스 진입 
R02(config)#int lo ?
  <0-2147483647>  Loopback interface number
R02(config)#int lo 0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R02(config-if)#ip address 192.168.2.254 255.255.255.0
R02(config-if)#no shutdown

4. 주소 정보 다시 확인
R02#sh ip interface brief 
Interface              IP-Address      OK? Method Status                Protocol 
FastEthernet0/0        unassigned      YES manual up                    down 
FastEthernet1/0        unassigned      YES unset  administratively down down 
Serial2/0              2.2.2.2         YES manual up                    up 
Serial3/0              3.3.3.2         YES manual up                    up 
FastEthernet4/0        unassigned      YES unset  administratively down down 
FastEthernet5/0        unassigned      YES unset  administratively down down 
Loopback0              192.168.2.254   YES manual up                    up

5. 나머지 라우터도 loopback interface 적용 
R03(config-if)#int lo 0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R03(config-if)#ip address 192.168.3.254 255.255.255.0
R03(config-if)#no shutdown

R01(config)#int f0/0
R01(config-if)#no ip address 
R01(config-if)#int lo 0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R01(config-if)#ip ad 192.168.1.254 255.255.255.0
R01(config-if)#no sh
1. 추가된 인터페이스 area 등록
R01(config)#router ospf 1
R01(config-router)#network 11.11.11.10 0.0.0.0 area 0

2. passive interface 제거
R01(config)#router ospf 1
R01(config-router)#no passive-interface f0/0

3. 새 area 의 IR 
R11(config)#router ospf 1
R11(config-router)#network 12.12.12.12 0.0.0.0 area 1
R11(config-router)#network 13.13.13.12 0.0.0.0 area 1

R12(config)#router ospf 1
R12(config-router)#network 14.14.14.13 0.0.0.0 area 1
R12(config-router)#network 13.13.13.13 0.0.0.0 area 1

ABR_01(config)#router ospf 1
ABR_01(config-router)#network 12.12.12.11 0.0.0.0 area 1
ABR_01(config-router)#network 14.14.14.11 0.0.0.0 area 1
ABR_01(config-router)#network 11.11.11.11 0.0.0.0 area 0

 

Routing Table 확인]

R11#sh ip route 
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

O IA 1.0.0.0/8 [110/1953] via 12.12.12.11, 00:01:50, Serial2/0
O IA 2.0.0.0/8 [110/781] via 12.12.12.11, 00:01:50, Serial2/0
O IA 3.0.0.0/8 [110/1171] via 12.12.12.11, 00:01:50, Serial2/0
O IA 11.0.0.0/8 [110/391] via 12.12.12.11, 00:03:45, Serial2/0
C    12.0.0.0/8 is directly connected, Serial2/0
C    13.0.0.0/8 is directly connected, Serial3/0
O    14.0.0.0/8 [110/780] via 12.12.12.11, 00:04:10, Serial2/0
     192.168.1.0/32 is subnetted, 1 subnets
O IA    192.168.1.254 [110/392] via 12.12.12.11, 00:01:50, Serial2/0
     192.168.2.0/32 is subnetted, 1 subnets
O IA    192.168.2.254 [110/782] via 12.12.12.11, 00:01:50, Serial2/0
     192.168.3.0/32 is subnetted, 1 subnets
O IA    192.168.3.254 [110/1172] via 12.12.12.11, 00:01:50, Serial2/0
Routing 테이블 summary]

1. ABR
ABR_01(config)#router ospf 1
ABR_01(config-router)#area 1 stub no-summary 

2. IR (Area 내부 라우터)
R11(config)#router ospf 1
R11(config-router)#area 1 stub 

R12(config)#router ospf 1
R12(config-router)#area 1 stub 

3. IR 에서 Routing Table 확인 
R11#sh ip route 
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       *** - candidate default**, U - per-user static route, o - ODR
       P - periodic downloaded static route

C    12.0.0.0/8 is directly connected, Serial2/0
C    13.0.0.0/8 is directly connected, Serial3/0
O    14.0.0.0/8 [110/780] via 12.12.12.11, 00:00:24, Serial2/0
**O*IA 0.0.0.0/0 [110/391] via 12.12.12.11, 00:00:24, Serial2/0  
  ㄴinterArea 방향 을 Default 라우트로 처리!!!
R03(config)#router ospf 1
R03(config-router)#network 21.21.21.20 0.0.0.0 area 0

ABR_02(config)#router ospf 1
ABR_02(config-router)#network 21.21.21.21 0.0.0.0 area 0
ABR_02(config-router)#network 22.22.22.21 0.0.0.0 area 2
ABR_02(config-router)#network 24.24.24.21 0.0.0.0 area 2

'☁ 실습 해보기 > Packet Tracer' 카테고리의 다른 글

VLAN_Sub interface 설정  (0) 2022.06.16
VLAN_Native LAN 실습  (0) 2022.06.16
Static Routing & Default Routing & RIP 실습  (0) 2022.06.15
OSPF 실습  (0) 2022.06.15
RIP 실습  (0) 2022.06.14
Comments