PBR └ TCP/IP ROUTING

PBR
Packet의 출발지 주소 확인 후 해당 next-hop으로 전달해준다

  1. 기술
    (config)# route-map {name}
    (config-route-map)# match ip address {ACL번호}
    (config-route-map)# set ip next-hop {next-hop IP address}
    (config)# access-list {ACL번호} permit host {IP address}
    - 나머지 Packet은 폐기하고 싶을 떄
    (config)# route-map {name} permit {Sequence No}
    (config-route-map)# set int null0
    - 나머지 Packet은 지정된 next-hop으로 보낼 때
    (config)# route-map {name} permit {Sequence No}
    (config-route-map)# set ip default next-hop {next-hop IP address}

  2. 적용
    (config)# int {들어오는 interface}
    (config-if)# ip policy Route-map {name}
  # 조건에 부합되지 않는 Packet은 Routing Table을 확인 후 목적지 주소로 보낸다

 
    
  

공유하기 버튼

 

재분배(Redistribute) └ TCP/IP ROUTING

재분배(Redistritube)
  서로 다른 Routing Protocol의 정보를 교환

RIP으로 재분배할 때 Metric Default(Seed Metric)는 16
EIGRP로 재분배할 때 Metric Default(Seed Metric)는 무한대
(보통 연결구간이 Serial일 때 Bandwidth = 1544, Delay = 2000, load = 1, Reliability=255, MTU=1500)
OSPF로 재분배할 때 Metirc Default(Seed Metric)는 20
(단 BGP를 OSPF로 재분배할 때는 Metric Default(Seed Metric)는 1

단일지점 재분배
하나의 라우터에서 재분배

                    ASBR
R1-------------R2-------------R3


복수지점 재분배
두개 이상의 라우터에서 재분배 
                 ASBR
                    R4
                 ASBR  
R1-----------R2--------------R3

단방향 재분배
R1-----------R2--------------R3
RIP         <--------------    OSPF

양방향 재분배
R1-----------R2--------------R3
RIP     <-------------->       OSPF


OSPF, EIGRP, IS-IS를 RIP으로 재분배
ASBR에서
  (config)#
router rip
  (config-router)#
redistribute ospf {Process ID} metric {Metric 값(15이내)}
  (config-router)# default-metric {Metric값}     --> Routing Protocol 상관없이 Metric값 입력
  (config-router)# redistribute ospf {Process ID} metric {Metric 값} match internal    --> 내부정보만 넘김(O) 
  (config-router)# redistribute ospf {Process ID} metric {Metric 값} match external   --> 외부정보만 넘김(O N1, O N2, O E1, O E2)

이 때, 문제가 생기는데 RIP이 대규모 Routing 정보를 가지게 되면
  1. CPU, Bandwidth 소모율이 높아진다.
해결을 위해 
  - Passive-interface 지정(Broadcast를 보내지 않는 interface지정)
  - Summary 설정
  - Distribute-list 설정         
  - Route-map 설정 (Distribute-list의 단점 보완, Distribute-list를 걸게되면 ASBR자체도 경로를 Deny하기 때문)
    

RIP, EIGRP, IS-IS를 OSPF로 재분배
ASBR에서
  (config)# router ospf {Process ID}
  (config-router)# redistribute rip subnets      --> Default가 Classful하게 넘기므로 Classless 정보도 같이 넘김

RIP, OSPF, IS-IS를 EIGRP로 재분배
ASBR에서
  (config)# router eigrp {AS번호}
  (config-router)# redistribute rip metric {k1} {k2} {k4} {k3} {k5}    --> metric을 주지 않으면 무한대로 들어가므로 metric값 지정
  (config-router)# redistribute rip metric {k1} {k2} {k4} {k3} {k5} route-map {name}   --> 넘길 정보 필터링


Route-Map 
재분배 시 정보를 넘겨줄 때 Filtering
  1. 기술
     (config)#route-map {name} {permit|deny} {sequence No}
       # 맨 마지막 줄엔 Route-map {name} {deny} any가 생략되어진다
     (config-route-map)# match ip address {ACL번호}         -> match는 조건을 건다, 해당 ip address가 조건에 맞으면
     (config-route-map)# match interface {interface}     -> 해당 interface의 network이면
     (config-route-map)# match tag {tag번호}   -> 넘어오는 패킷에 해당 tag번호가 붙으면
     (config-route-map)# match ip address prefix-list {name}  -> 해당 prefix-list의 ip address가 조건에 맞으면
     (config-route-map)# match ip address {ACL번호} {ACL번호} {ACL번호}  -> ip addres 중에 기술한 ACL번호 중 하나만 맞으면
       # match는 기술한 모든 조건이 만족해야 작동한다
     (config-route-map)# set metric {metric값}  -> 위의 조건이 맞으면 설정한 metric값을 줌
     (config-route-map)# set metric tag {tag값}  -> 위의 조건이 맞으면 설정한 tag값을 붙임
     (config-route-map)# set route-type {number}  -> 위의 조건이 맞으면 설정한 route-type으로 작동
       # 만약 조건(match)이 설정되지 않는다면 모든 ip address가 set으로 설정한대로 작동

  2. 적용
     (config)# router rip
     (config-router)# redistribute ospf {process ID} metric {metric값} route-map {기술시 정의한 name}



ACCESS-LIST와 ROUTE-MAP 비교
  ACCESS-LIST                       ROUTE-MAP
   packet/path                            path 
      위->아래                    위->아래(Sequence No 순)
추가/수정/삭제 불가                추가/수정/삭제 가능
맨마지막 deny any             맨마지막 deny any
                              ACL로 적용시 ACL은 무조건 Permit이 되어야함(Route-MAP이 Permit/Deny를 결정)


광고하지 않은 Network을 재분배할때
  (config-router)# redistribute connected    -> 모든 Connected Network을 재분배
  (config-router)# redistribute connected route-map {이름}  
  (config)# route-map {name} permit {sequence No}   -> Permit 10은 Default로 들어가므로 생략해도 됨
  (config-route-map)#match ip addr {ACL번호}
  (config-route-map)# match int {interface}
  (config)# route-map {name} deny {Sequence No}    -> 생략해도 되지만 기술하면 Deny된 Packet 수를 알 수 있음
  (config)# access-list 10 permit {IP address} {Wildcard Mask}


복수 지점 재분배와 양방향 재분배 시 설정

  1. AD값 조정을 이용한 최적경로 재선출
    RIP을 받아올 때 
    (config)# router ospf {Process ID}
    (config-router)#distance {AD값} {출발지N/I} {출발지W/M} {ACL번호}
    (config)# access-list {ACL번호} permit {N/I} {W/M}
    EIGRP를 받아올 때
    (config)# router eigrp {AS번호}
    (config-router)# distance eigrp {내부AD} {외부AD}
    OSPF를 받아올 때
    (config)# router ospf {Process ID}
    (config-route)# distance ospf intra {AD} inter {AD} ex {AD}
    # 단, AD값은 전파되지 않는다. 해당 Router에서만 적용

  2. Tag값을 이용한 Looping 막기
    # set을 먼저하면 모든 path가 설정되므로 deny 할 path부터 match해줘야한다
    (config)# router rip
    (config-router)# redistribute ospf 1 metric {metric값} route-map {name}
    (config)# route-map {name} deny {sequence No}
    (config-route-map)# match tag {tag번호} 
    (config)# route-map {name} permit {sequence No}
    (config-route-map)# set tag {tag번호} ospf          --> ospf로 들어오는 정보는 해당 tag번호 할당
 
        
재분배시 Metric이 없어도 되는 경우
  1. Static을 재분배 하는 경우
      (config)# ip route 0.0.0.0 0.0.0.0 null0
      (config)# router rip
      (config-router)# redistribute static
  2. Connected를 재분배하는 경우
      (config)#router rip
      (config-route)# redistribute connected
  3. EIGRP에서 EIGRP를 재분배하는 경우
      (config)# router eigrp 1
      (config-route)# redistribute eigrp 2

공유하기 버튼

 

OSPF(2) └ TCP/IP ROUTING

OSPF 7단계

R1-------------------------------------------------R2
Hello(224.0.0.5) ->
     down state

1. 인접조건 비교
2. DR/BDR 선출
3. Neighbor 표시
                                     <- Hello(224.0.0.5)
                                            init state
1. 인접조건 비교
2. DR/BDR 선출
3. Neighbor 맺음(2way state단계 -DR other도 거침)

1. 누가 먼저 DBD를 던질 것인가 결정?(Router ID가 큰 쪽에서 던짐, 큰쪽을 Master, 작은쪽을 Slave)
    exstart state
                                      <-----------DBD
                                        exchange state
LSAck --------->
1. DBD가 없을 때 LSR로 요청, LSU로 받고, LSACK보냄
2. DBD가 있을 때 Sequence Number 확인하여 누가 더 최신정보인지 확인
   (둘다 1이면 무시, DR이 높다면 DR이 LSR->LSU->LSACK, DR이 낮다면 DR이 LSU->LSACK)
        loading state
                 
완료
⑦ full state


OSPF 인증
 1. Neighbor 인증(Plain, MD5)
  - MD5 인증 설정 Command(Next-Hop 끼리)
   (config)# int {interface}
   (config-if)# ip ospf authentification message-digest
   (config-if)# ip ospf message-digest-key {key num} md5 {Key-string}

 2. Area 인증(Plain, MD5)
  - MD5 인증 설정(같은 Area 안의 모든 Router끼리)
   (config)# int {interface}
   (config-if)# ip ospf message-digest-key {key num} md5 {Key-string}
   (config)# router ospf {Process 번호}
   (config-router)# area {AS번호} authentification message-digest

 3. 키 값 암호화
   (config)# service password-encryption
  *문제점 : no 명령을 통해 지울 수 없고 강력한 암호화는 아니다


Area안에 너무 많은 Router가 존재한다면,
 1. LSA Flooding으로 인한 불필요한 정보를 많이 전송
 2. SPF Algorithm의 잦은 계산이 이루어짐
 3. LSDB의 크기가 커짐
 4. Routing Table이 커짐
이 때 해결법으로 1,2에 대하여 
 1. Area를 나눈다 → LSA Flooding과 SPF 계산 범위를 줄일 수 있음
 2. Summary 한다(ABR, ASBR에서 가능) → 
   - ABR Summary
     #Routing Table에 O,C로 표기된것만 가능
      (config)#router ospf {Process ID}
      (config-router)# area {number} range {Network ID} {Subnet Mask}
   - ASBR Summary
     (config)#router ospf {Process ID}
     (config-router)# summary-address {Network ID} {Subnet Mask}
   - Default로 Routing Table 전송
     (config)# router ospf {Process ID}
     (config-router)# default-information originate   -> 반드시 자신의 Routing Table에 Default가 있어야함  
     (config-router)# default-information originate always  -> 자신의 Routing Table에 Default가 없으면 만들어서 전송3,4에 대하여
  1. Stub 
   - Area 단위로 구성한다
   - Cisco 전용
   - Stub로 설정된 Area로 재분배 불가
   - Stub로 설정된 Area로 ASBR이 존재하지 않음
   - Stub로 설정된 Area로 Virtual-link 설정 불가
   - LSA1,2,3 은 받아들이며 LSA 4,5는 받아들이지 않음
   - Stub로 설정된 Area의 ABR Router에서 자동으로 default를 던져준다.
   - Stub로 설정된 Area의 모든 Router에서 설정
     (config)# router ospf {Process ID}
     (config-router)# area {Num} stub

  2. Totally-Stub
   - Area 단위로 구성한다
   - Cisco 전용
   - Stub로 설정된 Area로 재분배 불가
   - Stub로 설정된 Area로 ASBR이 존재하지 않음
   - Stub로 설정된 Area로 Virtual-link 설정 불가
   - LSA 1,2는 받아들이며 3,4,5는 받아들이지 않음
   - Totally-Stub로 설정된 Area의 ABR Router에서 자동으로 default를 던져준다
   - ABR Router의 설정
     (config)#router ospf {Process ID}
     (config-router)# area {Num} stub no-summary
    - 비ABR Router의 설정
     (config)# router ospf {Process ID}
     (config-router)# area {num} stub

  3. NSSA
   - 표준 Protocol
   - NSSA로 설정된 Area로 재분배 가능(O N1, O N2로 표기)
   - NSSA로 설정된 Area로 ASBR 가능
   - NSSA로 설정된 Area로 Virutal-link 설정 불가
   - LSA 1,2,3,7은 받아들이며 4,5는 받아들이지 않음
   - 자동으로 default를 생성하지 않으므로 default를 수동으로 생성하여야함
   - NSSA로 설정된 area의 모든 Router
     (config)# router ospf {Process ID}
     (config-router) area {num} nssa

  4. Totally-NSSA
   - 표준 Protocol
   - NSSA로 설정된 Area로 재분배 가능(O N1, O N2로 표기)
   - NSSA로 설정된 Area로 ASBR 가능
   - NSSA로 설정된 Area로 Virutal-link 설정 불가
   - LSA 1,2,7은 받아들이며 3,4,5는 받아들이지 않음
   - Totally-Stub로 설정된 area의 ABR Router에서 default 생성
   - ABR Router 설정
     (config)#router ospf {Process ID}
     (config-router)# area {num} nssa no-summary
   - 비ABR Router 설정
     (config)# router ospf {Process ID}
     (config-router)# area {num} nssa
   - NSSA 수동 Default 생성(ABR Router에서 설정)
     (config)# router ospf {Process ID}
     (config-router)# area {num} nssa default-information originate 
   - 재분배를 받지 않는 area 설정
     (config)# router ospf {Process ID}
     (config-router)# area 12 nssa no-summary no-redistribute


LSA(Link State Advertisement)

1. Type별 분류
   - Type 1   Hello
   - Type 2   DBD
   - Type 3   LSR
   - Type 4   LSU
   - Type 5   LSACK

2. LSA 분류
   - LSA 1    같은 Area안에 정보를 주고 받을 때, Router-link, Routing Table에는 O로 표기
   - LSA 2    같은 Area안에서 DR이 DR other에게 줄 때, Network-link, Routing Table에는 O로 표기
   - LSA 3    서로 다른 Area간에 정보를 주고 받을 때, Summary-link, Routing Table에는 O IA로 표기
   - LSA 4    ASBR의 정보, ASBR Summary, Routing Table에는 O IA로 표기
   - LSA 5    다른 Routing Protocol의 정보가 OSPF로 들어올 때, External-link, Routing Table에는 O E1 또는 O E2로 표기
   - LSA 6
   - LSA 7
   - LSA 8
   - LSA 9~11   예약

3. LSA 사용 이유
  - LSDB와 Routing Table의 크기를 줄이기 위해(Stub, Total-Stub, NSSA, Total-NSSA를 사용)


OSPF Backbone Area에 근접하지 못한 Router 해결방법
 1. Virtual-Link : 없어져야 할 Area의 ABR Router에서 설정
   (config)# router ospf {Process ID}
   (config-router)# area {없어져야할 number} virutal-link {고립된 Router 방향에 인접한 Router ID}
   (config)# router ospf {Process ID}
   (config-router)# area {없어져야 할 number} virutal-link {반대방향의 Router ID}
  * 문제점 : Backbone Area에 Area 인증이 되어있다면 Virtual-link도 Area인증 필요
 2. Virutal-link Area 인증
  (config)# router ospf {Process ID}
  (config-router)# area 0 authentification message-digest
  (config-router)# area {없어져야할 number} virtual-link {상대방 Router ID} message-digest-key {key num} md5 {Key-string}
  (config)# router ospf {Process ID}
  (config-router)# area 0 authentification message-digest
  (config-router)# area {없어져야할 number} virtual-link {상대방 Router ID} message-digest-key {key num} md5 {Key-string}


DBD를 Prefix로 막기
  (config)# router ospf {Process ID}
  (config-router)# area {num} filter-list prefix-list {name} {in|out}
  (config)# ip prefix-list {name} {permit|deny} {network ID/prefix} ge {시작 prefix} le {끝 prefix}
  (config)# ip prefix-list {name} {permit|deny} 0.0.0.0/0

공유하기 버튼

 

OSPF └ TCP/IP ROUTING

OSPF / EIGRP / RIP 비교

                             OSPF                                      EIGRP                                     RIP                  
방식
              link-state(SPF Algorithm)        distance-vector                      distance-vector
Vendor              표준 Protocol                           CISCO전용                           표준 Protocol
Protocol           IP Packet only            다중 Protocol(IP,IPX, Appletalk등)    IP Packet Only
사용 Protocol     OSPF(89, ACK)                       EIGRP(88,ACK)                       UDP(520)
표기방식     O, O IA, O E1, O E2, O N1, O N2      D, D Ex, D*                                 R
AD값                       110                                    90, 170, 5                                 120
Metric            Cost(10^8/int bw)                      K Value                          Hop Count(MAX 15)
Max. Path               4 ~ 6                                   4 ~ 6                                       4 ~ 6
Table     Neighbor, Database, Routing    Neighbor, Topology, Routing    Rip database, Routing
Update           Triggered Update               Triggered Update                   주기적인 Update(30초)
Packet      Hello, DBD, LSR, LSU, LSACK     Hello, Update, Query, Reply, ACK


OSPF Packet
  1. Hello 
    인접 관계 성립, Multicast(224.0.0.5, 224.0.0.6)
    DR → DR Other 224.0.0.5
    DR Other → DR  224.0.0.6
    인접 조건 : ⓐ 같은 Area 안에 존재
                    ⓑ Hello / Dead Interval 값이 같아야함
                    ⓒ 인증 값이 같아야함
                    ⓓ Stub가 존재
                    ⓔ MTU 값이 같아야 함
  2. DBD
     Database의 요약 정보(EIGRP의 Topology와 같음)를 인접 Router에 던짐
  3. LSR(Link-State Request)
     DBD에서 없는 정보를 요청
  4. LSU(Link-State Update)
     LSR에 대한 응답 Packet
  5. LSACK(Link-State Acknowledge)
     LSU에 대한 응답 Packet으로 DBD를 던져줌)

   R1 ------------------------------------------ R2
    ① Hello ----->                    <------ Hello
    ② DBD ------>                     DBD에 없는 정보가 있다면
    ③                                      <------ LSR
    ④ LSU ------>
    ⑤                                      <------ LSACK
    ⑥                      자신의 Database 확인 후 최적경로를 Routing Table로 Update
    ⑦ Hello ----->                    <------ Hello  (DBD에 모든 정보가 있다면)
 


Table 확인 Command
  1. Interface 정보 확인
     router# show ip ospf interface
  2. Neighbor 정보 확인
     router# show ip ospf neighbor
  3. Database 정보 확인
     router# show ip ospf database
  4. Routing 최적경로 정보 확인
     router# show ip route ospf


Demand-Circuit 설정
  (config-if)# ip ospf demand-circuit


Link-State에 따른 Hello/Dead interval, Neighbor
 1. point-to-point   = 10초/40초, 자동
 2. broadcast (switch)   = 10초/40초, 자동
 3. NBMA (frame-relay s0/0, s0/0.12 multicast)  = 30초/120초, 수동
  * 반드시 수동으로 Neighbor 맺어줘야함
   ⓐ Router ID가 큰 쪽에서 Neighbor 설정
      (config)#Router ospf {Processor ID(1~65535)}
      (config-router)# Router-ID 1.1.1.1(수동 설정)
      설정이 없다면 Loop 주소 중에 숫자가 가장 큰 IP
      Loopback이 없다면 내가 가지고 있는 IP 중에 숫자가 가장 큰 IP
      이후 인접 Routerd에서
      (config)# Router ospf {Processor ID}
      (config-router)# neighbor {인접 Router IP}
      장점 : 추가적인 정보 생성 X
      단점 : 매우 느리게 Neighbor 생성
   ⓑ Interface-type 변경
      (config-if)# ip ospf network point-to-multipoint
      장점 : 매우 빠르게 Neighbor 생성
      단점 : 추가적인 정보 생성
 4. Point-to-Multipoint  = 30초/120초, 자동, NBMA 구간에서 자동으로 neighbor를 맺게 하기 위한 논리적 Link-State
 
* Loopback의 경우 ospf의 Link-state에 포함이 되지 않으므로 IP로 광고를 하게 됨
   OSPF 내에서는 문제가 없으나 OSPF, BGP, MPLS에서 문제가 발생하므로 Interface Type을 바꿔주어야 함.
   (config-if)# ip ospf network point-to-point


DR/BDR/DR Other
 1. DR 선출 조건
   - Priority가 큰 값 Point-to-Point(0), Point-to-Multipoint(0), Broadcast(1), NBMA(1)
     Priority 값 바꾸기
     (config-if)# ip ospf priority {number}
   - Router ID가 큰 값
   - IP가 가장 큰 값
 2. DR과 BDR, DR Other들은 반드시 인접해야있어야 한다.
  * Hub and Spoke 구조에서는 Hub가 DR이 되고, Spoke가 DR Other가 되어야한다.
 3. 하나의 Network안에는 하나의 DR, BDR 선출

OSPF 설정 Command
  (config)# router ospf {Processor ID}
  (config-router)# router-id 1.1.1.1                 -> 라우터 ID 지정
  (config-router)# network {IP} {Wildcard Mask} area {Number}           -> IP로 광고
  (config-router)# network {Network ID} {Wildcard Mask} area {Number}          -> Network로 광고
  (config-router)

OSPF 계층적 구조(Area 구성)
  1. Area 0를 Backbone Area라고 하며 반드시 존재하여야 함
  2. 하나의 Area안에 50~100개 Router를 권장
  3. 다른 Area는 반드시 Area 0 와 인접해야함
  4. 두개 이상의 Area정보를 가지고있는 Router를 ABR(Area Border Router)라고 함
  5. 두개 이상의 라우팅 프로토콜을 가지고 있는 Router를 ASBR(Autonomous System Border Router)이라고 함




공유하기 버튼

 

EIGRP └ TCP/IP ROUTING

EIGRP 와 RIP 비교

                                    EIGRP                                                                  RIP
방식               distance-vector + Link-state                                        distance vector
Vendor                       Cisco 전용                                                         표준 Protocol
지원형식       다중Protocol(IP,IPX, Appletalk 등)                           IP Packet(Routed Protocol)
Protocol                     EIGRP 88                                                             UDP 520
표시형식(AD)        D(내부정보, 90), DEX(외부정보,170)                               R(120)
                           D*(Summary정보, 5)
METRIC      Bandwidth+Load+Delay+Reliablity+MTU                 Hop Count(Maximum 15)
                                 = K-Value
                  기본적으로 Bandwidth + Delay값만 계산(IGRP)
                  Bandwidth = 10^7 / interface bandwidth
                  Delay = 출발지~목적지 Delay 합 / 10
                  * EIGRP METRIC = IGRP METRIC x 256
UPDATE                Triggered Update                                            주기적인 Update(30초)
저장방식        Neighbor Table(이웃한 Router의 정보)                  Rip Database(모든경로), Routing Table(최적경로)
                    Topology Table(모든 경로)
                    Routing Table(최적 경로)


EIGRP의 5가지 Packet
  1. Hello Packet = 인접성 확인/유지, 224.0.0.10(목적지주소)
      인접조건 : 1. AS번호가 같아야함, 2. K-Value, 3. Hello/Dead Interval
  2. Update = 자신이 가진 정보를 던져줌, Hello 받고 던지는 Update는 Unicast, 나머지 Update는 Multicast로 던짐
  3. Query = 장애 발생시 Topology table에 Backup경로 여부 확인, Backup 경로가 없으면 Query를 보냄
  4. Reply = Query의 응답 Packet(Unicast)
  5. Ack = Update, Query, Reply 확인신호(Unicast)

* SIA = Query를 보냈는데 Reply나 ack를 수신하지 못하면 3분동안 16회 Query를 보낸다. 그래도 받지 못하면 Neighbor를 끊어버림
* RTO = SIA할 때 Query와 다음 Query를 보내는 Interval
* SRTT = Query, Reply, Update 시 ACK가 오는 평균 시간

SIA현상 방지법
  1. EIGRP 범위 축소(Query 범위 축소)
  2. 3분안에 응답해야하는 것을 확대
     (config-route)#timer active-time {minutes}
  3. Summary
     (config-if)#ip summary-address eigrp {AS번호} {Network ID} {Subnet Mask}
  4. EIGRP Router를 Stub로 설정(Stub로 설정된 Router로 Query를 보내지 않음)
     (config-route)#eigrp stub   -> 자신의 Connected와 Summary만 던짐
     (config-route)#eigrp stub redistribute   -> 자신의 Connected, Summary 모두 안보냄
     (config-route)#eigrp stub connected summary redistribute   ->   Connected, Summary, 재분배까지 모두 보냄
     (config-route)#eigrp stub receive-only   -> 던지지 않고 받기만 하겠다 
  5. Dual Algorithm = 최적경로와 차선경로 미리 선출, 수렴속도가 빠름
       - FD(Feasible distance) : 출발지에서 목적지까지의 Metric 합
       - AD(Advertise Distance) : 출발지의 next-hop Router에서 목적지까지의 MEtric 합
       - Successor : 최적경로
       - Feasible Succesor : 차선경로 or 백업 경로 , Succesor의 FD보다 작은 AD값
  6. Unequal load-balancing  = Metric값이 틀려도 Load분산하라
    선출조건 : 1. Feasible Succesor여야 함
                   2. Succesor FD > Feasible Succesor FD
                       (config-route)# variance {곱할 수}
 
Split Horizon 설정
(config-if)# no ip split-horizon eigrp {AS번호}
 
Metric 값 산출 방식 설정
(config)#router eigrp {AS번호}
(config-router)#no auto-summary
(config-router)#metric weights 0 {K1(Bandwidth)} {K2(Load)} {K3(Delay)} {K4(Reliability)} {K5(MTU)}
                                                             0/1                    0/1             0/1                 0/1                   0/1

Routing 정보 확인 Command
  - Neighbor Table 확인 : show ip eigrp neighbor
  - Topology Table 확인 : show ip eigrp topology
  - EIGRP로 광고된 나의 인터페이스 확인 : show ip eigrp interface

EIGRP 설정
(config)#router eigrp {AS 번호}
(config-route)#no auto-summary
(config-route)#network {classful network ID}    -> Classful하게 광고 (비추천)
(config-route)#network {IP} {Wildcard mask}    -> IP로 광고
(config-route)#network {network ID} {Wildcard Mask}    -> Network으로 광고
(config-route)#neighbor {IP} {interface}     -> Unicast로 통신, Passive-interface 쓰면 안됨

공유하기 버튼

 

1 2 3 4 5 6 7 8 9 10 다음



통계 위젯 (블랙)

5154
255
47137

영어단어