EX 1. Broadcast 환경
- OSPF 1, AREA 0
R1
R1 sh runBuilding configuration...
Current configuration : 1696 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
ip address 1.1.123.1 255.255.255.0
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.1.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R1 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.1.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.1.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.2.2 110 00:03:40
1.1.3.3 110 00:03:40
Distance: (default is 110)
R1 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.2.2 1 FULL/DR 00:00:33 1.1.123.2 Ethernet2/0
1.1.3.3 1 FULL/BDR 00:00:37 1.1.123.3 Ethernet2/0
R1 sh ip ospf database
OSPF Router with ID (1.1.1.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 230 0x80000003 0x001BF1 2
1.1.2.2 1.1.2.2 312 0x80000003 0x0026DF 2
1.1.3.3 1.1.3.3 311 0x80000003 0x0031CD 2
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
1.1.123.2 1.1.2.2 230 0x80000002 0x00EEAE
R1 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.1.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Ethernet2/0 is up, line protocol is up
Internet Address 1.1.123.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DROTHER, Priority 1
Designated Router (ID) 1.1.2.2, Interface address 1.1.123.2
Backup Designated router (ID) 1.1.3.3, Interface address 1.1.123.3
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:01
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 1.1.2.2 (Designated Router)
Adjacent with neighbor 1.1.3.3 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R1 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.1.1/24 1 LOOP 0/0
Et2/0 1 0 1.1.123.1/24 10 DROTH 2/2
R1 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 1.1.3.3/32 [110/11] via 1.1.123.3, 00:03:40, Ethernet2/0
O 1.1.2.2/32 [110/11] via 1.1.123.2, 00:03:40, Ethernet2/0
C 1.1.1.0/24 is directly connected, Loopback0
C 1.1.123.0/24 is directly connected, Ethernet2/0
R2
R2 sh runBuilding configuration...
Current configuration : 1696 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
ip address 1.1.123.2 255.255.255.0
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.2.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R2 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.2.2
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.2.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.1.1 110 00:03:47
1.1.3.3 110 00:05:09
Distance: (default is 110)
R2 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/DROTHER 00:00:38 1.1.123.1 Ethernet2/0
1.1.3.3 1 FULL/BDR 00:00:34 1.1.123.3 Ethernet2/0
R2 sh ip ospf database
OSPF Router with ID (1.1.2.2) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 234 0x80000003 0x001BF1 2
1.1.2.2 1.1.2.2 314 0x80000003 0x0026DF 2
1.1.3.3 1.1.3.3 315 0x80000003 0x0031CD 2
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
1.1.123.2 1.1.2.2 232 0x80000002 0x00EEAE
R2 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.2.2/24, Area 0
Process ID 1, Router ID 1.1.2.2, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Ethernet2/0 is up, line protocol is up
Internet Address 1.1.123.2/24, Area 0
Process ID 1, Router ID 1.1.2.2, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.2.2, Interface address 1.1.123.2
Backup Designated router (ID) 1.1.3.3, Interface address 1.1.123.3
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:08
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 1.1.1.1
Adjacent with neighbor 1.1.3.3 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R2 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.2.2/24 1 LOOP 0/0
Et2/0 1 0 1.1.123.2/24 10 DR 2/2
R2 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 1.1.3.3/32 [110/11] via 1.1.123.3, 00:05:10, Ethernet2/0
O 1.1.1.1/32 [110/11] via 1.1.123.1, 00:03:48, Ethernet2/0
C 1.1.2.0/24 is directly connected, Loopback0
C 1.1.123.0/24 is directly connected, Ethernet2/0
R3
R3 sh runBuilding configuration...
Current configuration : 1696 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.3.3 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
ip address 1.1.123.3 255.255.255.0
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.3.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R3 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.3.3
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.3.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.1.1 110 00:03:53
1.1.2.2 110 00:05:09
Distance: (default is 110)
R3 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/DROTHER 00:00:35 1.1.123.1 Ethernet2/0
1.1.2.2 1 FULL/DR 00:00:36 1.1.123.2 Ethernet2/0
R3 sh ip ospf database
OSPF Router with ID (1.1.3.3) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 237 0x80000003 0x001BF1 2
1.1.2.2 1.1.2.2 318 0x80000003 0x0026DF 2
1.1.3.3 1.1.3.3 317 0x80000003 0x0031CD 2
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
1.1.123.2 1.1.2.2 236 0x80000002 0x00EEAE
R3 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.3.3/24, Area 0
Process ID 1, Router ID 1.1.3.3, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Ethernet2/0 is up, line protocol is up
Internet Address 1.1.123.3/24, Area 0
Process ID 1, Router ID 1.1.3.3, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 1.1.2.2, Interface address 1.1.123.2
Backup Designated router (ID) 1.1.3.3, Interface address 1.1.123.3
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:00
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 1.1.1.1
Adjacent with neighbor 1.1.2.2 (Designated Router)
Suppress hello for 0 neighbor(s)
R3 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.3.3/24 1 LOOP 0/0
Et2/0 1 0 1.1.123.3/24 10 BDR 2/2
R3 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 1.1.2.2/32 [110/11] via 1.1.123.2, 00:05:10, Ethernet2/0
O 1.1.1.1/32 [110/11] via 1.1.123.1, 00:03:54, Ethernet2/0
C 1.1.3.0/24 is directly connected, Loopback0
C 1.1.123.0/24 is directly connected, Ethernet2/0
EX 2. Non-Broadcast 환경
- OSPF 1, AREA0
- 모든 frame relay 가상 포트는 multipoint 형식으로 설정
- Non-Broadcast환경 --> 패킷을 전달조차 하지 않음. --> Unicast 통신이 필요함. --> neighbor를 직접 설정해야 함.
- DR/BDR은 area내의 모든 라우터와 직접 연결 되어야 하므로 R1이 DR, BDR은 없음
--> Priority 조정 필요.
R1
R1 sh runBuilding configuration...
Current configuration : 1925 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.10 multipoint
ip address 1.1.123.1 255.255.255.0
snmp trap link-status
frame-relay map ip 1.1.123.3 103 broadcast
frame-relay map ip 1.1.123.2 102 broadcast
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.1.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
neighbor 1.1.123.2
neighbor 1.1.123.3
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R1 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.1.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.1.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.2.2 110 00:02:01
1.1.3.3 110 00:02:58
Distance: (default is 110)
R1 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.2.2 0 FULL/DROTHER 00:01:53 1.1.123.2 Serial1/0.10
1.1.3.3 0 FULL/DROTHER 00:01:47 1.1.123.3 Serial1/0.10
R1 sh ip ospf database
OSPF Router with ID (1.1.1.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 126 0x80000008 0x000B79 3
1.1.2.2 1.1.2.2 166 0x8000000A 0x002259 3
1.1.3.3 1.1.3.3 149 0x8000000A 0x006909 3
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
1.1.123.1 1.1.1.1 126 0x80000001 0x001091
1.1.123.2 1.1.2.2 171 0x80000004 0x005A4D
1.1.123.3 1.1.3.3 183 0x80000001 0x005C49
R1 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.1.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Serial1/0.10 is up, line protocol is up
Internet Address 1.1.123.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type NON_BROADCAST, Cost: 64
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 1.1.123.1
No backup designated router on this network
Old designated Router (ID) 1.1.3.3, Interface address 1.1.123.3
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
oob-resync timeout 120
Hello due in 00:00:25
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 1.1.2.2
Adjacent with neighbor 1.1.3.3
Suppress hello for 0 neighbor(s)
R1 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.1.1/24 1 LOOP 0/0
Se1/0.10 1 0 1.1.123.1/24 64 DR 2/2
R1 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 1.1.3.3/32 [110/65] via 1.1.123.3, 00:02:58, Serial1/0.10
O 1.1.2.2/32 [110/65] via 1.1.123.2, 00:02:02, Serial1/0.10
C 1.1.1.0/24 is directly connected, Loopback0
C 1.1.123.0/24 is directly connected, Serial1/0.10
R2
R2 sh runBuilding configuration...
Current configuration : 1861 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.10 multipoint
ip address 1.1.123.2 255.255.255.0
ip ospf priority 0
snmp trap link-status
frame-relay map ip 1.1.123.1 210 broadcast
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.2.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R2 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.2.2
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.2.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.1.1 110 00:02:04
1.1.3.3 110 00:02:04
Distance: (default is 110)
R2 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
N/A 0 ATTEMPT/DROTHER - 1.1.123.3 Serial1/0.10
1.1.1.1 1 FULL/DR 00:01:52 1.1.123.1 Serial1/0.10
R2 sh ip ospf database
OSPF Router with ID (1.1.2.2) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 131 0x80000008 0x000B79 3
1.1.2.2 1.1.2.2 169 0x8000000A 0x002259 3
1.1.3.3 1.1.3.3 153 0x8000000A 0x006909 3
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
1.1.123.1 1.1.1.1 131 0x80000001 0x001091
1.1.123.2 1.1.2.2 174 0x80000004 0x005A4D
1.1.123.3 1.1.3.3 187 0x80000001 0x005C49
R2 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.2.2/24, Area 0
Process ID 1, Router ID 1.1.2.2, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Serial1/0.10 is up, line protocol is up
Internet Address 1.1.123.2/24, Area 0
Process ID 1, Router ID 1.1.2.2, Network Type NON_BROADCAST, Cost: 64
Transmit Delay is 1 sec, State DROTHER, Priority 0
Designated Router (ID) 1.1.1.1, Interface address 1.1.123.1
No backup designated router on this network
Old designated Router (ID) 1.1.2.2, Interface address 1.1.123.2
Flush timer for old DR LSA due in 00:00:09
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
oob-resync timeout 120
Hello due in 00:00:17
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 1.1.1.1 (Designated Router)
Suppress hello for 0 neighbor(s)
R2 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.2.2/24 1 LOOP 0/0
Se1/0.10 1 0 1.1.123.2/24 64 DROTH 1/1
R2 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 1.1.3.3/32 [110/65] via 1.1.123.3, 00:02:05, Serial1/0.10
O 1.1.1.1/32 [110/65] via 1.1.123.1, 00:02:05, Serial1/0.10
C 1.1.2.0/24 is directly connected, Loopback0
C 1.1.123.0/24 is directly connected, Serial1/0.10
R3
R3 sh runBuilding configuration...
Current configuration : 1861 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.3.3 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.10 multipoint
ip address 1.1.123.3 255.255.255.0
ip ospf priority 0
snmp trap link-status
frame-relay map ip 1.1.123.1 310 broadcast
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.3.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R3 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.3.3
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.3.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.1.1 110 00:03:05
1.1.2.2 110 00:02:08
Distance: (default is 110)
R3 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
N/A 0 ATTEMPT/DROTHER - 1.1.123.2 Serial1/0.10
1.1.1.1 1 FULL/DR 00:01:49 1.1.123.1 Serial1/0.10
R3 sh ip ospf database
OSPF Router with ID (1.1.3.3) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 134 0x80000008 0x000B79 3
1.1.2.2 1.1.2.2 174 0x8000000A 0x002259 3
1.1.3.3 1.1.3.3 155 0x8000000A 0x006909 3
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
1.1.123.1 1.1.1.1 134 0x80000001 0x001091
1.1.123.2 1.1.2.2 179 0x80000004 0x005A4D
1.1.123.3 1.1.3.3 190 0x80000001 0x005C49
R3 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.3.3/24, Area 0
Process ID 1, Router ID 1.1.3.3, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Serial1/0.10 is up, line protocol is up
Internet Address 1.1.123.3/24, Area 0
Process ID 1, Router ID 1.1.3.3, Network Type NON_BROADCAST, Cost: 64
Transmit Delay is 1 sec, State DROTHER, Priority 0
Designated Router (ID) 1.1.1.1, Interface address 1.1.123.1
No backup designated router on this network
Old designated Router (ID) 1.1.3.3, Interface address 1.1.123.3
Flush timer for old DR LSA due in 00:00:23
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
oob-resync timeout 120
Hello due in 00:00:09
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 1.1.1.1 (Designated Router)
Suppress hello for 0 neighbor(s)
R3 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.3.3/24 1 LOOP 0/0
Se1/0.10 1 0 1.1.123.3/24 64 DROTH 1/1
R3 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 1.1.2.2/32 [110/65] via 1.1.123.2, 00:02:09, Serial1/0.10
O 1.1.1.1/32 [110/65] via 1.1.123.1, 00:03:06, Serial1/0.10
C 1.1.3.0/24 is directly connected, Loopback0
C 1.1.123.0/24 is directly connected, Serial1/0.10
EX 3. Point To Multipoint
- OSPF 1, AREA0
- R1 frame relay 가상 포트는 multipoint 형식으로 설정, R2~3는 Point to point 형식으로 설정
- Non-Broadcast환경 --> 패킷을 전달조차 하지 않음. --> Unicast 통신이 필요함. --> neighbor를 직접 설정해야 함.
- R2, R3는 Point To Point , R1은 Non-Broadcast네트워크로 인식하므로 R1에서 point to multipoint로 변경필요
- point to point 와 point to multipoint의 interval이 다르기에 Neighbor관계가 맺어지지 않음(P2P : 10s, P2M : 30s)
--> R1의 interval을 변경 - Priority를 변경하지 않아도 DR/BDR을 선출하지 않음.
- R2와 R3는 정보를 Advertisement 할 필요가 없으므로 Neighbor 관계를 맺지 않아도 무방.
R1
R1 sh runBuilding configuration...
Current configuration : 1989 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.10 multipoint
ip address 1.1.123.1 255.255.255.0
ip ospf network point-to-multipoint
ip ospf hello-interval 10
snmp trap link-status
frame-relay map ip 1.1.123.3 103 broadcast
frame-relay map ip 1.1.123.2 102 broadcast
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.1.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
neighbor 1.1.123.2
neighbor 1.1.123.3
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R1 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.1.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.1.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.2.2 110 00:00:40
1.1.3.3 110 00:00:40
Distance: (default is 110)
R1 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.2.2 0 FULL/ - 00:00:32 1.1.123.2 Serial1/0.10
1.1.3.3 0 FULL/ - 00:00:31 1.1.123.3 Serial1/0.10
R1 sh ip ospf database
OSPF Router with ID (1.1.1.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 55 0x80000003 0x007479 4
1.1.2.2 1.1.2.2 51 0x80000004 0x0089F3 3
1.1.3.3 1.1.3.3 51 0x80000004 0x0094E1 3
R1 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.1.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Serial1/0.10 is up, line protocol is up
Internet Address 1.1.123.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_MULTIPOINT, Cost: 64
Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:00
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 1.1.2.2
Adjacent with neighbor 1.1.3.3
Suppress hello for 0 neighbor(s)
R1 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.1.1/24 1 LOOP 0/0
Se1/0.10 1 0 1.1.123.1/24 64 P2MP 2/2
R1 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 1.1.3.3/32 [110/65] via 1.1.123.3, 00:00:51, Serial1/0.10
O 1.1.2.2/32 [110/65] via 1.1.123.2, 00:00:41, Serial1/0.10
C 1.1.1.0/24 is directly connected, Loopback0
C 1.1.123.0/24 is directly connected, Serial1/0.10
R2
R2 sh runBuilding configuration...
Current configuration : 1836 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.10 point-to-point
ip address 1.1.123.2 255.255.255.0
snmp trap link-status
frame-relay interface-dlci 210
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.2.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R2 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.2.2
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.2.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.3.3 110 00:00:44
1.1.1.1 110 00:00:44
Distance: (default is 110)
R2 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 0 FULL/ - 00:00:36 1.1.123.1 Serial1/0.10
R2 sh ip ospf database
OSPF Router with ID (1.1.2.2) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 60 0x80000003 0x007479 4
1.1.2.2 1.1.2.2 54 0x80000004 0x0089F3 3
1.1.3.3 1.1.3.3 56 0x80000004 0x0094E1 3
R2 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.2.2/24, Area 0
Process ID 1, Router ID 1.1.2.2, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Serial1/0.10 is up, line protocol is up
Internet Address 1.1.123.2/24, Area 0
Process ID 1, Router ID 1.1.2.2, Network Type POINT_TO_POINT, Cost: 64
Transmit Delay is 1 sec, State POINT_TO_POINT
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:06
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R2 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.2.2/24 1 LOOP 0/0
Se1/0.10 1 0 1.1.123.2/24 64 P2P 1/1
R2 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O 1.1.3.3/32 [110/129] via 1.1.123.1, 00:00:45, Serial1/0.10
O 1.1.1.1/32 [110/65] via 1.1.123.1, 00:00:45, Serial1/0.10
C 1.1.2.0/24 is directly connected, Loopback0
O 1.1.123.1/32 [110/64] via 1.1.123.1, 00:00:45, Serial1/0.10
C 1.1.123.0/24 is directly connected, Serial1/0.10
R3
R3 sh runBuilding configuration...
Current configuration : 1836 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.3.3 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.10 point-to-point
ip address 1.1.123.3 255.255.255.0
snmp trap link-status
frame-relay interface-dlci 310
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.3.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R3 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.3.3
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.3.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.2.2 110 00:00:48
1.1.1.1 110 00:00:58
Distance: (default is 110)
R3 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 0 FULL/ - 00:00:32 1.1.123.1 Serial1/0.10
R3 sh ip ospf database
OSPF Router with ID (1.1.3.3) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 64 0x80000003 0x007479 4
1.1.2.2 1.1.2.2 60 0x80000004 0x0089F3 3
1.1.3.3 1.1.3.3 58 0x80000004 0x0094E1 3
R3 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.3.3/24, Area 0
Process ID 1, Router ID 1.1.3.3, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Serial1/0.10 is up, line protocol is up
Internet Address 1.1.123.3/24, Area 0
Process ID 1, Router ID 1.1.3.3, Network Type POINT_TO_POINT, Cost: 64
Transmit Delay is 1 sec, State POINT_TO_POINT
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:01
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R3 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.3.3/24 1 LOOP 0/0
Se1/0.10 1 0 1.1.123.3/24 64 P2P 1/1
R3 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O 1.1.2.2/32 [110/129] via 1.1.123.1, 00:00:49, Serial1/0.10
O 1.1.1.1/32 [110/65] via 1.1.123.1, 00:00:59, Serial1/0.10
C 1.1.3.0/24 is directly connected, Loopback0
O 1.1.123.1/32 [110/64] via 1.1.123.1, 00:00:59, Serial1/0.10
C 1.1.123.0/24 is directly connected, Serial1/0.10
EX 4. Point to Point
sdfsdfsdfs
sdfa
sdf
asdf
sadf
- DR / BDR이 필요 없음.
- 모든 Frame relay 가상 인터페이스는 Point to Point 로 설정
R1
R1 sh runBuilding configuration...
Current configuration : 1835 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.10 point-to-point
ip address 1.1.123.1 255.255.255.0
snmp trap link-status
frame-relay interface-dlci 45
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.1.0 0.0.0.255 area 0
network 1.1.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R1 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.1.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.1.0 0.0.0.255 area 0
1.1.123.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
2.2.2.2 110 00:06:10
Distance: (default is 110)
R1 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 0 FULL/ - 00:00:36 1.1.123.2 Serial1/0.10
R1 sh ip ospf database
OSPF Router with ID (1.1.1.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 370 0x80000005 0x00CEB0 3
2.2.2.2 2.2.2.2 375 0x80000004 0x006E09 3
R1 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 1.1.1.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Serial1/0.10 is up, line protocol is up
Internet Address 1.1.123.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_POINT, Cost: 64
Transmit Delay is 1 sec, State POINT_TO_POINT
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:03
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 2.2.2.2
Suppress hello for 0 neighbor(s)
R1 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 1.1.1.1/24 1 LOOP 0/0
Se1/0.10 1 0 1.1.123.1/24 64 P2P 1/1
R1 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 2 subnets
C 1.1.1.0 is directly connected, Loopback0
C 1.1.123.0 is directly connected, Serial1/0.10
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/65] via 1.1.123.2, 00:06:10, Serial1/0.10
R2
R2 sh runBuilding configuration...
Current configuration : 1835 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R5
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.10 point-to-point
ip address 1.1.123.2 255.255.255.0
snmp trap link-status
frame-relay interface-dlci 54
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.123.0 0.0.0.255 area 0
network 2.2.2.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
no cdp log mismatch duplex
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R2 sh ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 2.2.2.2
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
1.1.123.0 0.0.0.255 area 0
2.2.2.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway Distance Last Update
1.1.1.1 110 00:06:13
Distance: (default is 110)
R2 sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 0 FULL/ - 00:00:39 1.1.123.1 Serial1/0.10
R2 sh ip ospf database
OSPF Router with ID (2.2.2.2) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 374 0x80000005 0x00CEB0 3
2.2.2.2 2.2.2.2 378 0x80000004 0x006E09 3
R2 sh ip ospf int
Loopback0 is up, line protocol is up
Internet Address 2.2.2.2/24, Area 0
Process ID 1, Router ID 2.2.2.2, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Serial1/0.10 is up, line protocol is up
Internet Address 1.1.123.2/24, Area 0
Process ID 1, Router ID 2.2.2.2, Network Type POINT_TO_POINT, Cost: 64
Transmit Delay is 1 sec, State POINT_TO_POINT
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:02
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R2 sh ip ospf int bri
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 0 2.2.2.2/24 1 LOOP 0/0
Se1/0.10 1 0 1.1.123.2/24 64 P2P 1/1
R2 sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O 1.1.1.1/32 [110/65] via 1.1.123.1, 00:06:14, Serial1/0.10
C 1.1.123.0/24 is directly connected, Serial1/0.10
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
'네트워크 및 서버 > 네트워크' 카테고리의 다른 글
OSPF Demand Circuit (0) | 2024.11.20 |
---|---|
OSPF Transit Area 이론 및 실습 (0) | 2024.11.20 |
OSPF (2) (0) | 2024.10.31 |
OSPF 실습(2) (1) | 2024.10.31 |
OSPF실습 (1) (0) | 2024.10.30 |