본문으로 바로가기

[GNS] IGRP 라우팅 프로토콜 실습

category NetworkGNS 3년 전

IGRP 라우팅 프로토콜

  • IGRP 라우팅 프로토콜 특성
    • 라우팅 프로토콜
    • 다이나믹 프로토콜
    • 내부용 라우팅 프로토콜(IGP)
    • 디스턴스 벡터 라우팅 프로토콜
    • 시스코 라우터에서만 사용 가능
    • RIP와 동일하게 VLSM을 지원하지 못함
    • 최근 IGRP를 확장한 EIGRP 사용
  • IGRP 라우팅 프로토콜에서 경로 결정 요소
    • 대역폭
    • Delay
    • Reliability - 목적지까지 제대로 도착한 패킷과 에러가 발생한 패킷의 비율
    • Load(부하)
    • MTU(Maximum Transmission Unit)
  • IGRP 구성 명령어
    • router igrp <autonomous system number(AS번호)>
    • network network-number
  • 해당 인터페이스로는 igrp를 제외하는 명령어
    • passive-interface Ethernet 0/0

IGRP 예제

후니의 쉽게 쓴 CISCO 네트워킹 Vol.2 49p

현재 설치한 버전에서는 igrp를 지원하지 않는 것으로 보여 igrp를 완전히 대체하는 eigrp로 실습을 진행하기 때문에 만약 igrp가 가능한 라우터에서는 eigrp 대신 igrp로 변경하여 입력하시면 됩니다.

예제 구성

  • AS 번호는 200

host 설정

// PC 1
# ip 203.240.100.10 /24 203.240.100.1

// PC 2
# ip 203.240.200.10 /24 203.240.200.1

RouterA 설정

# conf t
# interface eth0/0
# no shutdown
# ip address 203.210.100.1 255.255.255.0
# interface serial 2/0
# no shutdown
# ip address 203.210.150.1 255.255.255.0
# router eigrp 200
# network 203.210.100.0
# network 203.210.150.0

RouterB 설정

# conf t
# interface eth0/0
# no shutdown
# ip address 203.210.200.1 255.255.255.0
# interface serial 2/0
# no shutdown
# ip address 203.210.150.1 255.255.255.0
# router eigrp 200
# network 203.210.200.0
# network 203.210.150.0

연결 확인

  • PC1에서 PC2로 핑

IGRP 예제-2

후니의 쉽게 쓴 CISCO 네트워킹 Vol.2 55p

예제 구성

  • AS 200

host 설정

// PC1
# ip 150.150.1.10 /16 150.150.1.1
// PC2
# ip 210.240.10.10 /24 210.240.10.1
// PC3
# ip 172.70.100.10 /24 172.70.100.1

RouterC 설정

# conf t
# interface eth 0/0
# no shutdown
# ip address 150.150.1.1 255.255.0.0
# interface serial 2/0
# no shutdown
# ip address 203.210.200.2 255.255.255.0
# router eigrp 200
# network 150.150.0.0
# network 203.210.200.0

RouterA 설정

# conf t
# interface eth 0/0
# no shutdown
# ip address 210.240.10.1 255.255.255.0
# interface serial 2/0
# no shutdown
# ip address 203.210.100.1 255.255.255.0
# interface serial 2/1
# no shutdown
# ip address 203.210.200.1 255.255.255.0
# router eigrp 200
# network 210.240.10.0
# network 203.210.100.0
# network 203.210.200.0

RouterB 설정

# conf t
# interface eth 0/0
# no shutdown
# ip address 172.70.100.1 255.255.255.0
# interface serial 2/0
# no shutdown
# ip address 203.210.100.2 255.255.255.0
# router eigrp 200
# network 203.210.100.0
# network 172.70.100.0

설정 확인

  • show ip route
  • show running-config
  • show interface
  • show ip protocol
  • show ip interface
  • 최대 홉 카운트 변경
# conf t
# router eigrp 200
# metric maximum-hops 255

디버그

  • debug ip igrp
  • 마지막에는 항상 디버그 명령을 꺼야됨
    • u all

연결 확인

  • PC1에서 PC2
    • ping 210.240.10.10

  • PC1에서 PC3
    • ping 172.70.100.10