For the Horde!!

2014. 11. 17. OSPF

 

 R2 (D) 

Daejeon#sh ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
10.1.1.1          0   FULL/  -        00:00:31    10.1.12.1       Serial0/0/0
10.1.3.1          0   FULL/  -        00:00:31    10.1.12.6       Serial0/0/1
10.1.4.1          0   FULL/  -        00:00:31    10.1.12.10      Serial0/1/0

 - Neighbor ID : 라우터ID

 R2 (D)

Daejeon#sh ip ospf interface s0/0/0
Serial0/0/0 is up, line protocol is up
  Internet address is 10.1.12.2/30, Area 0
  Process ID 1, Router ID 10.1.2.1, Network Type POINT-TO-POINT, Cost: 64
  Transmit Delay is 1 sec, State POINT-TO-POINT, Priority 0
  No designated router on this network
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:06
  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 10.1.1.1
  Suppress hello for 0 neighbor(s)

 

 

 R1 (S)

!
interface Loopback0
 ip address 10.1.1.1 255.255.255.0
!

interface Serial0/0/0
 ip address 10.1.12.1 255.255.255.252
!

router ospf 1
 router-id 10.1.1.1
 log-adjacency-changes
 network 10.1.1.0 0.0.0.255 area 1
 network 10.1.12.0 0.0.0.3 area 0
!

!

Seoul#sh ip route 
     10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
C       10.1.1.0/24 is directly connected, Loopback0
O       10.1.2.1/32 [110/65] via 10.1.12.2, 00:00:46, Serial0/0/0
O IA    10.1.3.1/32 [110/129] via 10.1.12.2, 00:00:46, Serial0/0/0
O IA    10.1.4.1/32 [110/129] via 10.1.12.2, 00:00:46, Serial0/0/0
O IA    10.1.5.1/32 [110/130] via 10.1.12.2, 00:00:46, Serial0/0/0
C       10.1.12.0/30 is directly connected, Serial0/0/0
O       10.1.12.4/30 [110/128] via 10.1.12.2, 00:00:46, Serial0/0/0
O       10.1.12.8/30 [110/128] via 10.1.12.2, 00:00:46, Serial0/0/0
O IA    10.1.12.12/30 [110/129] via 10.1.12.2, 00:00:46, Serial0/0/0

!

 O : OSPF

 IA : inter area의 약자로 Area 들끼리 주고 받은 경로라는 뜻이다

 

 R2 (D)

!
interface Loopback0
 ip address 10.1.2.1 255.255.255.0
!

interface Serial0/0/0
 ip address 10.1.12.2 255.255.255.252
 clock rate 64000
!
interface Serial0/0/1
 ip address 10.1.12.5 255.255.255.252
 clock rate 64000
!
interface Serial0/1/0
 ip address 10.1.12.9 255.255.255.252
 clock rate 64000
!

router ospf 1
 router-id 10.1.2.1
 log-adjacency-changes
 network 10.1.2.0 0.0.0.255 area 0
 network 10.1.12.0 0.0.0.3 area 0
 network 10.1.12.4 0.0.0.3 area 0
 network 10.1.12.8 0.0.0.3 area 0

!

!

Daejeon#sh ip route 

     10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
O IA    10.1.1.1/32 [110/65] via 10.1.12.1, 00:34:23, Serial0/0/0
C       10.1.2.0/24 is directly connected, Loopback0
O IA    10.1.3.1/32 [110/65] via 10.1.12.6, 00:34:23, Serial0/0/1
O IA    10.1.4.1/32 [110/65] via 10.1.12.10, 00:34:23, Serial0/1/0
O IA    10.1.5.1/32 [110/66] via 10.1.12.10, 00:34:23, Serial0/1/0
C       10.1.12.0/30 is directly connected, Serial0/0/0
C       10.1.12.4/30 is directly connected, Serial0/0/1
C       10.1.12.8/30 is directly connected, Serial0/1/0
O IA    10.1.12.12/30 [110/65] via 10.1.12.10, 00:34:23, Serial0/1/0

!

 

 R3 (G) 

!
interface Loopback0
 ip address 10.1.3.1 255.255.255.0
!

interface Serial0/0/0
 ip address 10.1.12.6 255.255.255.252
!

router ospf 1
 router-id 10.1.3.1
 log-adjacency-changes
 network 10.1.3.0 0.0.0.255 area 2
 network 10.1.12.4 0.0.0.3 area 0
!

!

Gwangju#sh ip route

     10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
O IA    10.1.1.1/32 [110/129] via 10.1.12.5, 00:35:37, Serial0/0/0
O       10.1.2.1/32 [110/65] via 10.1.12.5, 00:35:37, Serial0/0/0
C       10.1.3.0/24 is directly connected, Loopback0
O IA    10.1.4.1/32 [110/129] via 10.1.12.5, 00:35:37, Serial0/0/0
O IA    10.1.5.1/32 [110/130] via 10.1.12.5, 00:35:37, Serial0/0/0
O       10.1.12.0/30 [110/128] via 10.1.12.5, 00:35:37, Serial0/0/0
C       10.1.12.4/30 is directly connected, Serial0/0/0
O       10.1.12.8/30 [110/128] via 10.1.12.5, 00:35:37, Serial0/0/0
O IA    10.1.12.12/30 [110/129] via 10.1.12.5, 00:35:37, Serial0/0/0

!

 

 R4 (B)

!
interface Loopback0
 ip address 10.1.4.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 10.1.12.13 255.255.255.252
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 10.1.12.10 255.255.255.252
!

router ospf 1
 log-adjacency-changes
 network 10.1.4.0 0.0.0.255 area 3
 network 10.1.12.12 0.0.0.3 area 3
 network 10.1.12.8 0.0.0.3 area 0
!

!

Busan#sh ip route 
     10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
O IA    10.1.1.1/32 [110/129] via 10.1.12.9, 00:37:14, Serial0/0/0
O       10.1.2.1/32 [110/65] via 10.1.12.9, 00:37:14, Serial0/0/0
O IA    10.1.3.1/32 [110/129] via 10.1.12.9, 00:37:14, Serial0/0/0
C       10.1.4.0/24 is directly connected, Loopback0
O       10.1.5.1/32 [110/2] via 10.1.12.14, 00:39:56, FastEthernet0/0
O       10.1.12.0/30 [110/128] via 10.1.12.9, 00:37:14, Serial0/0/0
O       10.1.12.4/30 [110/128] via 10.1.12.9, 00:37:14, Serial0/0/0
C       10.1.12.8/30 is directly connected, Serial0/0/0
C       10.1.12.12/30 is directly connected, FastEthernet0/0

!

 

 R5 (J)

!
interface Loopback0
 ip address 10.1.5.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 10.1.12.14 255.255.255.252
 duplex auto
 speed auto
!

router ospf 1
 log-adjacency-changes
 network 10.1.5.0 0.0.0.255 area 3
 network 10.1.12.12 0.0.0.3 area 3
!

!

Jeju# 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
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, 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

     10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
O IA    10.1.1.1/32 [110/130] via 10.1.12.13, 00:38:11, FastEthernet0/0
O IA    10.1.2.1/32 [110/66] via 10.1.12.13, 00:38:11, FastEthernet0/0
O IA    10.1.3.1/32 [110/130] via 10.1.12.13, 00:38:11, FastEthernet0/0
O       10.1.4.1/32 [110/2] via 10.1.12.13, 00:40:55, FastEthernet0/0
C       10.1.5.0/24 is directly connected, Loopback0
O IA    10.1.12.0/30 [110/129] via 10.1.12.13, 00:38:11, FastEthernet0/0
O IA    10.1.12.4/30 [110/129] via 10.1.12.13, 00:38:11, FastEthernet0/0
O IA    10.1.12.8/30 [110/65] via 10.1.12.13, 00:40:55, FastEthernet0/0
C       10.1.12.12/30 is directly connected, FastEthernet0/0

!

 

'Study > Cisco' 카테고리의 다른 글

2014. 11. 19. Access-List 실습 ( VTY )  (0) 2014.11.19
2014. 11. 18. Access-List 실습  (0) 2014.11.18
EIGRP 라우팅 세팅  (2) 2014.11.13
EIGRP 라우팅  (0) 2014.11.12
DV 라우팅  (0) 2014.11.12