For the Horde!!

검색어 : Study (41)

  1. EIGRP 라우팅 2014.11.12
  2. DV 라우팅 2014.11.12
  3. 라우팅 프로토콜 3 2014.11.12
  4. 초기설정 2014.11.12

EIGRP 라우팅

 

 R1

 interface Loopback0
  ip address 1.1.1.1 255.255.255.0
 !
 interface FastEthernet0/0
  ip address 1.1.12.1 255.255.255.0
  duplex auto
  speed auto
 !
 router eigrp 1                                      // conf# router eigrp 1 (1 - 65535)
  network 1.1.1.0 0.0.0.255                     // conf-router# network 
  network 1.1.12.0 0.0.0.255
  network 1.1.13.0 0.0.0.255
  auto-summary
 !

R1# sh ip eigrp nei
IP-EIGRP neighbors for process 1
H   Address      Interface   Hold   Uptime  SRTT   RTO   Q   Seq
                                                (sec)   (ms)    Cnt  Num
0   1.1.12.2        Fa0/0        12    00:20:01   40     1000    0    20
1   1.1.13.2        Se0/0/0     12    00:18:30   40     1000    0    16

 

R1#sh ip route 
         1.0.0.0/24 is subnetted, 8 subnets
C       1.1.1.0 is directly connected, Loopback0
D       1.1.2.0 [90/156160] via 1.1.12.2, 00:21:32, FastEthernet0/0
D       1.1.3.0 [90/2297856] via 1.1.13.2, 00:20:02, Serial0/0/0
D       1.1.4.0 [90/2809856] via 1.1.13.2, 00:18:27, Serial0/0/0
C       1.1.12.0 is directly connected, FastEthernet0/0
C       1.1.13.0 is directly connected, Serial0/0/0
D       1.1.23.0 [90/2172416] via 1.1.12.2, 00:21:32, FastEthernet0/0
D       1.1.34.0 [90/2681856] via 1.1.13.2, 00:20:02, Serial0/0/0

 

R1#sh ip eigrp topology
IP-EIGRP Topology Table for AS 1

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

P 1.1.12.0/24, 1 successors, FD is 28160
         via Connected, FastEthernet0/0
P 1.1.13.0/24, 1 successors, FD is 2169856
         via Connected, Serial0/0/0
P 1.1.1.0/24, 1 successors, FD is 128256
         via Connected, Loopback0
P 1.1.23.0/24, 1 successors, FD is 2172416
         via 1.1.12.2 (2172416/2169856), FastEthernet0/0
         via 1.1.13.2 (2681856/2169856), Serial0/0/0
P 1.1.2.0/24, 1 successors, FD is 156160
         via 1.1.12.2 (156160/128256), FastEthernet0/0
P 1.1.34.0/24, 1 successors, FD is 2681856
         via 1.1.13.2 (2681856/2169856), Serial0/0/0
P 1.1.3.0/24, 1 successors, FD is 2297856
         via 1.1.13.2 (2297856/128256), Serial0/0/0
P 1.1.4.0/24, 1 successors, FD is 2809856
         via 1.1.13.2 (2809856/2297856), Serial0/0/0

 

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

2014. 11. 17. OSPF  (0) 2014.11.17
EIGRP 라우팅 세팅  (2) 2014.11.13
DV 라우팅  (0) 2014.11.12
초기설정  (0) 2014.11.12
스태틱 라우팅 명령어  (0) 2014.11.10
   

DV 라우팅

 

 

 R1 

 interface Loopback0
  ip address 200.1.1.1 255.255.255.0
 !
 interface Serial0/0/0
  ip address 192.168.1.1 255.255.255.252
  clock rate 2000000
 !
 router rip
  version 2
  network 192.168.1.0
  network 200.1.1.0
  no auto-summary
 !

 Seoul#sh ip route

      192.168.1.0/30 is subnetted, 5 subnets
 C    192.168.1.0 is directly connected, Serial0/0/0
 R    192.168.1.4 [120/1] via 192.168.1.2, 00:00:05, Serial0/0/0
 R    192.168.1.8 [120/1] via 192.168.1.2, 00:00:05, Serial0/0/0
 R    192.168.1.12 [120/2] via 192.168.1.2, 00:00:05, Serial0/0/0
 R    192.168.1.16 [120/2] via 192.168.1.2, 00:00:05, Serial0/0/0

 C    200.1.1.0/24 is directly connected, Loopback0
 R    200.1.2.0/24 [120/1] via 192.168.1.2, 00:00:05, Serial0/0/0
 R    200.1.3.0/24 [120/2] via 192.168.1.2, 00:00:05, Serial0/0/0
 R    200.1.4.0/24 [120/2] via 192.168.1.2, 00:00:05, Serial0/0/0
 R    200.1.5.0/24 [120/3] via 192.168.1.2, 00:00:05, Serial0/0/0

 

 

 R2 

 interface Loopback0
  ip address 200.1.2.1 255.255.255.0
 !
 interface Serial0/0/0
  ip address 192.168.1.9 255.255.255.252
  clock rate 2000000
 !
 interface Serial0/0/1
  ip address 192.168.1.5 255.255.255.252
  clock rate 2000000
 !
 interface Serial0/2/0
  ip address 192.168.1.2 255.255.255.252
 !
 router rip
  version 2
  network 192.168.1.0
  network 200.1.2.0
  no auto-summary
 !

  Daejeon# sh ip route
      192.168.1.0/30 is subnetted, 5 subnets
 C   192.168.1.0 is directly connected, Serial0/2/0
 C   192.168.1.4 is directly connected, Serial0/0/1
 C   192.168.1.8 is directly connected, Serial0/0/0
 R   192.168.1.12 [120/1] via 192.168.1.10, 00:00:18, Serial0/0/0
 R   192.168.1.16 [120/1] via 192.168.1.10, 00:00:18, Serial0/0/0
 R   200.1.1.0/24 [120/1] via 192.168.1.1, 00:00:03, Serial0/2/0

 C   200.1.2.0/24 is directly connected, Loopback0
 R   200.1.3.0/24 [120/1] via 192.168.1.6, 00:00:25, Serial0/0/1
 R   200.1.4.0/24 [120/1] via 192.168.1.10, 00:00:18, Serial0/0/0
 R    200.1.5.0/24 [120/2] via 192.168.1.10, 00:00:18, Serial0/0/0

 

 

 R3

 interface Loopback0
  ip address 200.1.3.1 255.255.255.0
 !
 interface Serial0/0/0
  ip address 192.168.1.6 255.255.255.252
 !
 router rip
  version 2
  network 192.168.1.0
  network 200.1.3.0
  no auto-summary
 !

 Gwangju#sh ip route
       192.168.1.0/30 is subnetted, 5 subnets
 R    192.168.1.0 [120/1] via 192.168.1.5, 00:00:10, Serial0/0/0
 C    192.168.1.4 is directly connected, Serial0/0/0
 R    192.168.1.8 [120/1] via 192.168.1.5, 00:00:10, Serial0/0/0
 R    192.168.1.12 [120/2] via 192.168.1.5, 00:00:10, Serial0/0/0
 R    192.168.1.16 [120/2] via 192.168.1.5, 00:00:10, Serial0/0/0
 R    200.1.1.0/24 [120/2] via 192.168.1.5, 00:00:10, Serial0/0/0
 R    200.1.2.0/24 [120/1] via 192.168.1.5, 00:00:10, Serial0/0/0
 C    200.1.3.0/24 is directly connected, Loopback0
 R    200.1.4.0/24 [120/2] via 192.168.1.5, 00:00:10, Serial0/0/0
 R    200.1.5.0/24 [120/3] via 192.168.1.5, 00:00:10, Serial0/0/0

 

 

 R4

 interface Loopback0
  ip address 200.1.4.1 255.255.255.0
 !
 interface Serial0/0/0
  ip address 192.168.1.10 255.255.255.252
 !
 interface Serial0/2/0
  ip address 192.168.1.13 255.255.255.252
  clock rate 2000000
 !
 interface Serial0/2/1
  ip address 192.168.1.17 255.255.255.252
  clock rate 2000000
 !
 router rip
  version 2
  network 192.168.1.0
  network 200.1.4.0
  no auto-summary

 Busan#sh ip route 

       192.168.1.0/30 is subnetted, 5 subnets
 R    192.168.1.0 [120/1] via 192.168.1.9, 00:00:11, Serial0/0/0
 R    192.168.1.4 [120/1] via 192.168.1.9, 00:00:11, Serial0/0/0
 C    192.168.1.8 is directly connected, Serial0/0/0
 C    192.168.1.12 is directly connected, Serial0/2/0
 C    192.168.1.16 is directly connected, Serial0/2/1
 R    200.1.1.0/24 [120/2] via 192.168.1.9, 00:00:11, Serial0/0/0
 R    200.1.2.0/24 [120/1] via 192.168.1.9, 00:00:11, Serial0/0/0
 R    200.1.3.0/24 [120/2] via 192.168.1.9, 00:00:11, Serial0/0/0
 C    200.1.4.0/24 is directly connected, Loopback0
 R    200.1.5.0/24 [120/1] via 192.168.1.14, 00:00:01, Serial0/2/0
                   [120/1] via 192.168.1.18, 00:00:01, Serial0/2/1

 

 

 R5

 interface Loopback0
  ip address 200.1.5.1 255.255.255.0
 !

 interface Serial0/0/0
  ip address 192.168.1.14 255.255.255.252
 !
 interface Serial0/0/1
  ip address 192.168.1.18 255.255.255.252
 !

 router rip
  version 2
  network 192.168.1.0
  network 200.1.5.0
  no auto-summary
 !

 Jeju#sh ip route

       192.168.1.0/30 is subnetted, 5 subnets
 R    192.168.1.0 [120/2] via 192.168.1.17, 00:00:19, Serial0/0/1
                       [120/2] via 192.168.1.13, 00:00:19, Serial0/0/0
 R    192.168.1.4 [120/2] via 192.168.1.17, 00:00:19, Serial0/0/1
                       [120/2] via 192.168.1.13, 00:00:19, Serial0/0/0
 R    192.168.1.8 [120/1] via 192.168.1.17, 00:00:19, Serial0/0/1
                       [120/1] via 192.168.1.13, 00:00:19, Serial0/0/0
 C    192.168.1.12 is directly connected, Serial0/0/0
 C    192.168.1.16 is directly connected, Serial0/0/1
 R    200.1.1.0/24 [120/3] via 192.168.1.17, 00:00:19, Serial0/0/1
                        [120/3] via 192.168.1.13, 00:00:19, Serial0/0/0
 R    200.1.2.0/24 [120/2] via 192.168.1.17, 00:00:19, Serial0/0/1
                        [120/2] via 192.168.1.13, 00:00:19, Serial0/0/0
 R    200.1.3.0/24 [120/3] via 192.168.1.13, 00:00:19, Serial0/0/0
                        [120/3] via 192.168.1.17, 00:00:19, Serial0/0/1
 R    200.1.4.0/24 [120/1] via 192.168.1.17, 00:00:19, Serial0/0/1
                         [120/1] via 192.168.1.13, 00:00:19, Serial0/0/0
 C    200.1.5.0/24 is directly connected, Loopback0

 

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

EIGRP 라우팅 세팅  (2) 2014.11.13
EIGRP 라우팅  (0) 2014.11.12
초기설정  (0) 2014.11.12
스태틱 라우팅 명령어  (0) 2014.11.10
스태틱 라우팅  (0) 2014.11.10
   

라우팅 프로토콜 3

 Distance Vector - loop

 Hop Count 제한
   - 무한 루프를 방지하기 위해서는 홉카운트의 수를 제한한다. 최대 15

 Split Horizon
   - 라우팅 업데이트 정보를 받은 방향으로는 역으로 다시 정보를 보내지

     않는다는 규칙을 이용

 Route poisoning
   - 네트워크가 다운이 되면 인접 라우터들에게 메트릭 값을 16으로하여

     정보를 보내 네트워크가 다운 상태임을 알린다

 Poison reverse
   - route poisoning를 받은 라우터는 자신의 RIP database를 살펴보아

     대체 경로가 없을 경우 정보를 보낸 라우터에게 poison reverse를 보냄

 Hold down time
   - 다운 상태로 유지한 시간
   - 홀드 다운 되어잇는 시간동안에는 업데이트를 받지 않지만, 메트릭값이

     더 좋은 업데이트가 들어오면 업데이트를 한다. 

 Trigger update
   - 변경이 감지되면 라우터는 즉시 업데이트 메시지를 인접 라우터에 보냄 

 

 Classful

  - 라우팅 업데이트시 서브넷 마스크를 미포함
  - 정보를 보내지 않은 프로토콜로 VLSM을 미지원
  - 해당하는 프로토콜은 RIPv1과 IGRP가있다.

  - RIPv1에서는 no auto-summary가 작동이 안된다.

 Classless

  - 라우팅 업데이트시 서브넷 마스크를 포함
  - 정보를 포함하는 프로토콜로 VLSM을 지원
  - 해당하는 프로토콜은 RIPv2, EIGRP, OSPF, IS-IS, BGP가 있다.

 

 RIP

  - 홉 수를 이용하여 경로 선택
  - 정보 전송은 UDP 520 포트를 이용
  - 업데이트 메시지는 30초 마다 발송된다.
  - 최대 6개 동일 경로 비용까지 load-balancing을 지원 (default = 4)

  - RIPv1에서 같은 클래스의 경우 더 큰 서브넷의 정보를 인식 후 적용한다.

 

 EIGRP 

 - 시스코 전용 라우팅 프로토콜이다

 - DV와 LS의 장점을 결합한 Hybrid이다.

 - Rapid convergence를 위하여 DUAL(Diffusing update ALgorithm)을 사용한다

 - Bandwidth 적게 사용한다.

 - 주기적인 업데이트 X

 - 라우팅 정보가 필요한 라우터에만 업데이트 (Multicast update)

 - 토폴로지 database에서 최적의 path를 찾아내므로 100% loop free routing protocol이다.

 - VLSM과 비규칙적네트워크(Discontiguous network)를 지원

 - IGRP와 호환성이 있다.

 

 Successor

 - Destination에 대한 Primary Route이다. 라우팅 테이블에 유지된다.

 Feasible Successor 

 - Destination에 대한 Backup Route이다.
 - Feasible Successor는 Successor와 동시에 선택되는데 Topology Table에 보유 된다.
 - Destination에 대해서 여러 개의 Feasible Successor를 보유할 수 있다. 

 

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

2014. 11. 17. OSPF  (0) 2014.11.17
라우팅 프로토콜 4  (0) 2014.11.13
라우팅 프로토콜 2  (0) 2014.11.11
2014. 11. 10. 테스트  (0) 2014.11.10
라우팅 프로토콜  (0) 2014.11.10
   

초기설정

!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!router pre-config!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
enable
config terminal
no ip domain-lookup

interface serial 1/0
   encapsulation frame-relay
   no frame-relay inverse-arp
   no shutdown

 

alias exec c configure terminal
alias exec i show ip route
alias exec r show running
alias exec b show ip int brief

 

line console 0
   logging synchronous
   exec-timeout 0 0


line vty 0 4
   password cisco
   login
   exit


hostname
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-


-=-=-=-=-=-라우터 립-=-=-=-=-=-
router rip
no auto-summary
version 2
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-

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

EIGRP 라우팅  (0) 2014.11.12
DV 라우팅  (0) 2014.11.12
스태틱 라우팅 명령어  (0) 2014.11.10
스태틱 라우팅  (0) 2014.11.10
2014. 11. 06. Routing  (0) 2014.11.06
   
1 ··· 4 5 6 7 8 9 10 11