IP설정 및 인터페이스 설정은 미리 한 상태에서 실습한다.

 

EIGRP 설정

R1

R1(config)#router eigrp 100
R1(config-router)#network 1.1.1.1 0.0.0.0
R1(config-router)#network 192.168.12.1 0.0.0.0
R1(config-router)#network 192.168.31.1 0.0.0.0

R2

R2(config)#router eigrp 100
R2(config-router)#network 2.2.2.1 0.0.0.0
R2(config-router)#network 192.168.12.2 0.0.0.0
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.12.1 (Serial0/0/1) is up: new adjacency

R2(config-router)#network 192.168.23.2 0.0.0.0

R3

R3(config)#router eigrp 100
R3(config-router)#network 3.3.3.1 0.0.0.0
R3(config-router)#network 192.168.31.3 0.0.0.0
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.31.1 (Serial0/0/0) is up: new adjacency

R3(config-router)#network 192.168.23.3 0.0.0.0
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.2 (Serial0/0/1) is up: new adjacency

 

EIGRP 확인

R1

R1#show ip route
Codes: L - local, 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, 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

     1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       1.1.1.0/24 is directly connected, GigabitEthernet0/0
L       1.1.1.1/32 is directly connected, GigabitEthernet0/0
     2.0.0.0/24 is subnetted, 1 subnets
D       2.2.2.0/24 [90/2172416] via 192.168.12.2, 00:01:46, Serial0/0/0
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0/24 [90/2172416] via 192.168.31.3, 00:00:39, Serial0/0/1
     192.168.12.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.12.0/24 is directly connected, Serial0/0/0
L       192.168.12.1/32 is directly connected, Serial0/0/0
D    192.168.23.0/24 [90/2681856] via 192.168.12.2, 00:01:34, Serial0/0/0
                     [90/2681856] via 192.168.31.3, 00:00:32, Serial0/0/1
     192.168.31.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.31.0/24 is directly connected, Serial0/0/1
L       192.168.31.1/32 is directly connected, Serial0/0/1

R2

R2#show ip route
Codes: L - local, 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, 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

     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0/24 [90/2172416] via 192.168.12.1, 00:02:11, Serial0/0/1
     2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       2.2.2.0/24 is directly connected, GigabitEthernet0/0
L       2.2.2.1/32 is directly connected, GigabitEthernet0/0
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0/24 [90/2172416] via 192.168.23.3, 00:00:57, Serial0/0/0
     192.168.12.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.12.0/24 is directly connected, Serial0/0/1
L       192.168.12.2/32 is directly connected, Serial0/0/1
     192.168.23.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.23.0/24 is directly connected, Serial0/0/0
L       192.168.23.2/32 is directly connected, Serial0/0/0
D    192.168.31.0/24 [90/2681856] via 192.168.12.1, 00:02:11, Serial0/0/1
                     [90/2681856] via 192.168.23.3, 00:00:57, Serial0/0/0

R3

R3#show ip route 
Codes: L - local, 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, 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

     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0/24 [90/2172416] via 192.168.31.1, 00:01:23, Serial0/0/0
     2.0.0.0/24 is subnetted, 1 subnets
D       2.2.2.0/24 [90/2172416] via 192.168.23.2, 00:01:16, Serial0/0/1
     3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       3.3.3.0/24 is directly connected, GigabitEthernet0/0
L       3.3.3.1/32 is directly connected, GigabitEthernet0/0
D    192.168.12.0/24 [90/2681856] via 192.168.31.1, 00:01:23, Serial0/0/0
                     [90/2681856] via 192.168.23.2, 00:01:16, Serial0/0/1
     192.168.23.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.23.0/24 is directly connected, Serial0/0/1
L       192.168.23.3/32 is directly connected, Serial0/0/1
     192.168.31.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.31.0/24 is directly connected, Serial0/0/0
L       192.168.31.3/32 is directly connected, Serial0/0/0

 

neighbor table 확인

R1#show ip protocols

Routing Protocol is "eigrp  100 " 
  Outgoing update filter list for all interfaces is not set 
  Incoming update filter list for all interfaces is not set 
  Default networks flagged in outgoing updates  
  Default networks accepted from incoming updates 
  Redistributing: eigrp 100
  EIGRP-IPv4 Protocol for AS(100)
    Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
    NSF-aware route hold timer is 240
    Router-ID: 1.1.1.1
    Topology : 0 (base)
      Active Timer: 3 min
      Distance: internal 90 external 170
      Maximum path: 4
      Maximum hopcount 100
      Maximum metric variance 1

  Automatic Summarization: disabled
  Automatic address summarization: 
  Maximum path: 4
  Routing for Networks:  
     1.1.1.1/32
     192.168.12.1/32
     192.168.31.1/32
  Routing Information Sources:  
    Gateway         Distance      Last Update 
    192.168.12.2    90            285519     
    192.168.31.3    90            352241     
  Distance: internal 90 external 170

 

topology table 확인

R1#show ip eigrp topology
IP-EIGRP Topology Table for AS 100/ID(192.168.31.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - Reply status

P 1.1.1.0/24, 1 successors, FD is 5120
         via Connected, GigabitEthernet0/0
P 2.2.2.0/24, 1 successors, FD is 2172416
         via 192.168.12.2 (2172416/5120), Serial0/0/0
P 3.3.3.0/24, 1 successors, FD is 2172416
         via 192.168.31.3 (2172416/5120), Serial0/0/1
P 192.168.12.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/0
P 192.168.23.0/24, 2 successors, FD is 2681856
         via 192.168.12.2 (2681856/2169856), Serial0/0/0
         via 192.168.31.3 (2681856/2169856), Serial0/0/1
P 192.168.31.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/1

Bandwidth 수정

bandwidth 를 512로 줄이고 라우팅 information을 확인

R1에서 R3까지 Bandwidth 수정

R1#show interface s0/0/1
Serial0/0/1 is up, line protocol is up (connected)
  Hardware is HD64570
  Internet address is 192.168.31.1/24
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation HDLC, loopback not set, keepalive set (10 sec)
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 1158 kilobits/sec
  5 minute input rate 104 bits/sec, 0 packets/sec
  5 minute output rate 104 bits/sec, 0 packets/sec
     82 packets input, 4865 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     82 packets output, 4847 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

 

Bandwidth 수정

R1

R1(config)#int s0/0/1
R1(config-if)#bandwid
R1(config-if)#bandwidth 512
R1(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.31.3 (Serial0/0/1) is down: interface down
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.31.3 (Serial0/0/1) is up: new adjacency

R1(config-if)#do show int s0/0/1
Serial0/0/1 is up, line protocol is up (connected)
  Hardware is HD64570
  Internet address is 192.168.31.1/24
  MTU 1500 bytes, BW 512 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation HDLC, loopback not set, keepalive set (10 sec)
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 384 kilobits/sec
  5 minute input rate 105 bits/sec, 0 packets/sec
  5 minute output rate 105 bits/sec, 0 packets/sec
     129 packets input, 7712 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     129 packets output, 7656 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

 

R3 Bandwidth 수정

R3(config)#int s0/0/0
R3(config-if)#bandwidth 512
R3(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.31.1 (Serial0/0/0) is down: interface down

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.31.1 (Serial0/0/0) is up: new adjacency

R3(config-if)#do show int s0/0/0
Serial0/0/0 is up, line protocol is up (connected)
  Hardware is HD64570
  Internet address is 192.168.31.3/24
  MTU 1500 bytes, BW 512 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation HDLC, loopback not set, keepalive set (10 sec)
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 384 kilobits/sec
  5 minute input rate 106 bits/sec, 0 packets/sec
  5 minute output rate 104 bits/sec, 0 packets/sec
     146 packets input, 8933 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     138 packets output, 8207 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

 

R1에서 EIGRP를 확인하면 23번대 네트워크가 사라진 것을 확인할 수 있다.

R1#show ip route eigrp
     2.0.0.0/24 is subnetted, 1 subnets
D       2.2.2.0 [90/2172416] via 192.168.12.2, 00:23:40, Serial0/0/0
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [90/2684416] via 192.168.12.2, 00:15:05, Serial0/0/0
     192.168.12.0/24 is variably subnetted, 2 subnets, 2 masks
D    192.168.23.0/24 [90/2681856] via 192.168.12.2, 00:23:40, Serial0/0/0

EIGRP 설정

R1

R1(config)#router eigrp 100
R1(config-router)#network 1.1.1.1 0.0.0.0
R1(config-router)#network 192.168.12.1 0.0.0.0
R1(config-router)#network 192.168.41.1 0.0.0.0

R2

R2(config)#router eigrp 100
R2(config-router)#network 192.168.12.2 0.0.0.0
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.12.1 (Serial0/0/1) is up: new adjacency

R2(config-router)#network 192.168.23.2 0.0.0.0

R3

R3(config)#router eigrp 100
R3(config-router)#network 3.3.3.1 0.0.0.0
R3(config-router)#network 192.168.23.3 0.0.0.0
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.2 (Serial0/0/1) is up: new adjacency

R3(config-router)#network 192.168.34.3 0.0.0.0

R4

R4(config)#router eigrp 100
R4(config-router)#network 192.168.34.4 0.0.0.0
R4(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.34.3 (Serial0/0/1) is up: new adjacency

R4(config-router)#network 192.168.41.4 0.0.0.0
R4(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.41.1 (Serial0/0/0) is up: new adjacency

 

EIGRP 확인

R1#show ip route
Codes: L - local, 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, 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

     1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       1.1.1.0/24 is directly connected, GigabitEthernet0/0
L       1.1.1.1/32 is directly connected, GigabitEthernet0/0
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0/24 [90/2684416] via 192.168.12.2, 00:09:46, Serial0/0/0
                   [90/2684416] via 192.168.41.4, 00:08:45, Serial0/0/1
     192.168.12.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.12.0/24 is directly connected, Serial0/0/0
L       192.168.12.1/32 is directly connected, Serial0/0/0
D    192.168.23.0/24 [90/2681856] via 192.168.12.2, 00:10:22, Serial0/0/0
D    192.168.34.0/24 [90/2681856] via 192.168.41.4, 00:08:45, Serial0/0/1
     192.168.41.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.41.0/24 is directly connected, Serial0/0/1
L       192.168.41.1/32 is directly connected, Serial0/0/1

 

eigrp 토폴로지 확인

R1#show ip eigrp topology 
IP-EIGRP Topology Table for AS 100/ID(192.168.41.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - Reply status

P 1.1.1.0/24, 1 successors, FD is 5120
         via Connected, GigabitEthernet0/0
P 3.3.3.0/24, 2 successors, FD is 2684416
         via 192.168.12.2 (2684416/2172416), Serial0/0/0
         via 192.168.41.4 (2684416/2172416), Serial0/0/1
P 192.168.12.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/0
P 192.168.23.0/24, 1 successors, FD is 2681856
         via 192.168.12.2 (2681856/2169856), Serial0/0/0
P 192.168.34.0/24, 1 successors, FD is 2681856
         via 192.168.41.4 (2681856/2169856), Serial0/0/1
P 192.168.41.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/1

3.3.3.0으로 갈 경우 192.168.12.2 / 192.168.41.4 둘다 BW가 2684416으로 같다. 어디로 가든 상관이 없다.

R2-R3 의 BW를 2M로 늘리면 비용은 같다. BW가 작은 경로로 설정되기 때문이다.


Bandwidth 증가

R2

R2(config)#int s0/0/0
R2(config-if)#bandwidth 2048
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.3 (Serial0/0/0) is down: interface down

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.3 (Serial0/0/0) is up: new adjacency

R3

R3(config)#int s0/0/1
R3(config-if)#bandwidth 2048
R3(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.2 (Serial0/0/1) is down: interface down

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.2 (Serial0/0/1) is up: new adjacency

 

eigrp의 토폴로지를 확인하면 3.3.3.0으로 갈 경우 192.168.12.2 / 192.168.41.4 BW가 변한 것을 확인할 수 있다.

R1#show ip eigrp topology 
IP-EIGRP Topology Table for AS 100/ID(192.168.41.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - Reply status

P 1.1.1.0/24, 1 successors, FD is 5120
         via Connected, GigabitEthernet0/0
P 3.3.3.0/24, 2 successors, FD is 2684416
         via 192.168.41.4 (2684416/2172416), Serial0/0/1
         via 192.168.12.2 (2684416/1764352), Serial0/0/0
P 192.168.12.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/0
P 192.168.23.0/24, 1 successors, FD is 2681856
         via 192.168.12.2 (2681856/1761792), Serial0/0/0
P 192.168.34.0/24, 1 successors, FD is 2681856
         via 192.168.41.4 (2681856/2169856), Serial0/0/1
P 192.168.41.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/1

Bandwidth 감소

R2

R2(config)#int s0/0/0
R2(config-if)#bandwidth 512
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.3 (Serial0/0/0) is down: interface down

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.3 (Serial0/0/0) is up: new adjacency

R3

R3(config)#int s0/0/1
R3(config-if)#bandwidth 512
R3(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.2 (Serial0/0/1) is down: interface down

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.23.2 (Serial0/0/1) is up: new adjacency

 

EIGRP 토폴로지를 확인하면 3.3.3.0 네트워크로 가는 경로 중 192.168.12.2 네트워크가 없는 것을 확인할 수 있다.

R1#show ip eigrp topology 
IP-EIGRP Topology Table for AS 100/ID(192.168.41.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - Reply status

P 1.1.1.0/24, 1 successors, FD is 5120
         via Connected, GigabitEthernet0/0
P 3.3.3.0/24, 1 successors, FD is 2684416
         via 192.168.41.4 (2684416/2172416), Serial0/0/1
P 192.168.12.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/0
P 192.168.23.0/24, 1 successors, FD is 6023936
         via 192.168.12.2 (6023936/5511936), Serial0/0/0
P 192.168.34.0/24, 1 successors, FD is 2681856
         via 192.168.41.4 (2681856/2169856), Serial0/0/1
P 192.168.41.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/1

+ Recent posts