domingo, 27 de noviembre de 2011

Configuración Básica de EIGRP en redes Cisco

En este nuevo artículo vamos a mostrar como se ha configurado EIGRP en la red de la figura para tener conectividad total entre sus host ademas mostramos algunas de las características más importantes de éste protocolo. La red funciona después de aplicar pacientemente la configuración:

CONFIGURACION R1
R1>ena
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#no ip domain-lookup
R1(config)#interf f0/0
R1(config-if)#ip add 172.16.1.1 255.255.255.0
R1(config-if)#descr Conexin lan 1
R1(config-if)#no sh
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#exit
R1(config)#interf s0/0/0
R1(config-if)#ip add 172.16.3.1 255.255.255.252
R1(config-if)#desc DCE CONEXION R1 R2
R1(config-if)#no sh
R1(config-if)#clock rate 64000
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R1(config-if)#exit
R1(config)#interf s0/0/1
R1(config-if)#descr CONEXION R1 R3
R1(config-if)#ip add 192.168.10.5 255.255.255.252
R1(config-if)#no sh
R1(config-if)#clock rate 64000
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R1(config-if)#^Z
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#write
Building configuration...
[OK]

CONFIGURACION EIGRP EN R1
R1>ENA
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router eigrp 1
R1(config-router)#network 172.16.0.0
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.2 (Serial0/0/0) is up: new adjacency
R1(config-router)#net 192.168.10.4 0.0.0.3
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.6 (Serial0/0/1) is up: new adjacency
R1(config-router)#^Z
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#write
Building configuration...
[OK]
R1#

CONFIGURACION R2
R2>ena
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#interf f0/0
R2(config-if)#desc CONEXION LAN 2
R2(config-if)#ip add 172.16.2.1 255.255.255.0
R2(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#exit
R2(config)#interf s0/0/0
R2(config-if)#desc CONEXION R2 R1
R2(config-if)#ip add 172.16.3.2 255.255.255.252
R2(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2(config-if)#exit
R2(config)#interf s0/0/1
R2(config-if)#desc DCE CONEXION R2 R3
R2(config-if)#ip add 192.168.10.9 255.255.255.252
R2(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R2(config-if)#exit
R2(config)#interf loopback 1
R2(config-if)#
%LINK-5-CHANGED: Interface Loopback1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R2(config-if)#desc CONEXION VIRTUAL A ISP
R2(config-if)#ip add 10.1.1.1 255.255.255.252
R2(config-if)#no sh
R2(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
R2#
R2#write
Building configuration...
[OK]
R2#

CONFIGURACION EIGRP EN R2
R2>ENA
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#router eigrp 1
R2(config-router)#net 172.16.0.0
R2(config-router)#net 192.168.10.8 0.0.0.3
R2(config-router)#^Z
R2#
%SYS-5-CONFIG_I: Configured from console by console
R2#write
Building configuration...
[OK]
R2#

CONFIGURACION R3
R3>ena
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#interf f0/0
R3(config-if)#DESC CONEXION LAN 3
R3(config-if)#ip add 192.168.1.1 255.255.255.0
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#exit
R3(config)#interf s0/0/0
R3(config-if)#desc DCE CONEXION R3 R1
R3(config-if)#ip add 192.168.10.6 255.255.255.252
R3(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R3(config-if)#exit
R3(config)#interf s0/0/1
R3(config-if)#desc CONEXION R3 R2
R3(config-if)#ip add 192.168.10.10 255.255.255.252
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R3(config-if)#^Z
R3#
%SYS-5-CONFIG_I: Configured from console by console
R3#write
Building configuration...
[OK]
R3#

VISUALIZAR CARACTERISTICAS DE EIGRP
R1#sh ip eigrp neighbors
IP-EIGRP neighbors for process 1
H   Address         Interface      Hold Uptime    SRTT   RTO   Q   Seq
                                   (sec)          (ms)        Cnt  Num
0   172.16.3.2      Se0/0/0        10   00:11:25  40     1000  0   9
1   192.168.10.6    Se0/0/1        12   00:07:57  40     1000  0   6

R1#sh ip prot
Routing Protocol is "eigrp  1 "
  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
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
Redistributing: eigrp 1
  Automatic network summarization is in effect 
  Automatic address summarization:
    192.168.10.0/24 for FastEthernet0/0, Serial0/0/0
      Summarizing with metric 2169856
    172.16.0.0/16 for Serial0/0/1
      Summarizing with metric 28160
  Maximum path: 4
  Routing for Networks: 
     172.16.0.0
     192.168.10.4/30
  Routing Information Sources: 
    Gateway         Distance      Last Update
    172.16.3.2      90            2576536   
    192.168.10.6    90            2785064   
  Distance: internal 90 external 170

R1#sh ip route
     172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
D       172.16.0.0/16 is a summary, 00:08:59, Null0
C       172.16.1.0/24 is directly connected, FastEthernet0/0
D       172.16.2.0/24 [90/2172416] via 172.16.3.2, 00:12:27, Serial0/0/0
C       172.16.3.0/30 is directly connected, Serial0/0/0
D    192.168.1.0/24 [90/2172416] via 192.168.10.6, 00:08:59, Serial0/0/1
     192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks
D       192.168.10.0/24 is a summary, 00:08:59, Null0
C       192.168.10.4/30 is directly connected, Serial0/0/1
D       192.168.10.8/30 [90/2681856] via 192.168.10.6, 00:08:59, Serial0/0/1
R1#

R3#sh ip interf brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        192.168.1.1     YES manual up                    up
FastEthernet0/1        unassigned      YES unset  administratively down down
Serial0/0/0            192.168.10.6    YES manual up                    up
Serial0/0/1            192.168.10.10   YES manual up                    up
Vlan1                  unassigned      YES unset  administratively down down

R3#SH IP ROUTE
D    172.16.0.0/16 [90/2172416] via 192.168.10.9, 00:13:35, Serial0/0/1
                   [90/2172416] via 192.168.10.5, 00:10:50, Serial0/0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
     192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks
D       192.168.10.0/24 is a summary, 00:13:36, Null0
C       192.168.10.4/30 is directly connected, Serial0/0/0
C       192.168.10.8/30 is directly connected, Serial0/0/1

CONFIGURACION DE METRICAS:
R1(config)#interf s0/0/0
R1(config-if)#bandwidth 64
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.2 (Serial0/0/0) is down: interface down
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.2 (Serial0/0/0) is up: new adjacency
R1#sh interf s0/0/0
Serial0/0/0 is up, line protocol is up (connected)
  Hardware is HD64570
  Description: DCE CONEXION R1 R2
  Internet address is 172.16.3.1/30
  MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#interf s0/0/0
R2(config-if)#bandwidth 64
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) is down: interface down
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) is up: new adjacency
R2(config-if)#interf s0/0/1
R2(config-if)#bandwidth 1024
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.10 (Serial0/0/1) is down: interface down
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.10 (Serial0/0/1) is up: new adjacency
R2(config-if)#^Z
R2#
%SYS-5-CONFIG_I: Configured from console by console
R2#sh interf s0/0/0
Serial0/0/0 is up, line protocol is up (connected)
  Hardware is HD64570
  Description: CONEXION R2 R1
  Internet address is 172.16.3.2/30
  MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#interf s0/0/1
R3(config-if)#band 1024
R3(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.9 (Serial0/0/1) is down: interface down
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.9 (Serial0/0/1) is up: new adjacency
R3(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
R3#
R3#sh interf s0/0/1
Serial0/0/1 is up, line protocol is up (connected)
  Hardware is HD64570
  Description: CONEXION R3 R2
  Internet address is 192.168.10.10/30
  MTU 1500 bytes, BW 1024 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255

REGRESAR A LA METRICA POR DEFECTO
R1(config)#interf s0/0/0
R1(config-if)#no band
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.2 (Serial0/0/0) is down: interface down
R1(config-if)#inter
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.2 (Serial0/0/0) is up: new adjacency
f s0/0/1
R1(config-if)#no band
R1(config-if)#^Z
R1#
%SYS-5-CONFIG_I: Configured from console by console

VISUALIZAR LAS TABLAS DE TOPOLOGIA
R2#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 172.16.2.0/24, 1 successors, FD is 28160
         via Connected, FastEthernet0/0
P 172.16.3.0/30, 1 successors, FD is 2169856
         via Connected, Serial0/0/0
P 192.168.10.8/30, 1 successors, FD is 2169856
         via Connected, Serial0/0/1
P 172.16.0.0/16, 1 successors, FD is 28160
         via Summary (28160/0), Null0
P 192.168.10.0/24, 1 successors, FD is 2169856
         via Summary (2169856/0), Null0
P 192.168.1.0/24, 1 successors, FD is 2172416
         via 192.168.10.10 (2172416/28160), Serial0/0/1
P 172.16.1.0/24, 1 successors, FD is 2172416
         via 172.16.3.1 (2172416/28160), Serial0/0/0
P 192.168.10.4/30, 1 successors, FD is 2681856
         via 192.168.10.10 (2681856/2169856), Serial0/0/1

R2#sh ip eigrp topology 192.168.1.0
IP-EIGRP (AS 1): Topology entry for 192.168.1.0/24
  State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2172416
  Routing Descriptor Blocks:
  192.168.10.10 (Serial0/0/1), from 192.168.10.10, Send flag is 0x0
      Composite metric is (2172416/28160), Route is Internal
      Vector metric:
        Minimum bandwidth is 1544 Kbit
        Total delay is 20100 microseconds
        Reliability is 255/255
        Load is 1/255
        Minimum MTU is 1500
        Hop count is 1

CONFIGURACION RUTA ESTATICA Y PROPAGACION A TRAVES DE EIGRP
R2(config)#ip route 0.0.0.0 0.0.0.0 loopback 1
R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#router eigrp 1
R2(config-router)#redistribute static
R2(config-router)#
R1#sh ip route
     172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C       172.16.1.0/24 is directly connected, FastEthernet0/0
D       172.16.2.0/24 [90/2172416] via 172.16.3.2, 00:18:50, Serial0/0/0
C       172.16.3.0/30 is directly connected, Serial0/0/0
D    192.168.0.0/22 [90/2172416] via 192.168.10.6, 00:07:13, Serial0/0/1
     192.168.10.0/30 is subnetted, 2 subnets
C       192.168.10.4 is directly connected, Serial0/0/1
D       192.168.10.8 [90/2681856] via 172.16.3.2, 00:18:50, Serial0/0/0
                     [90/2681856] via 192.168.10.6, 00:07:13, Serial0/0/1
D*EX 0.0.0.0/0 [170/3449856] via 172.16.3.2, 00:00:14, Serial0/0/0
R1#

No hay comentarios:

Publicar un comentario

"Tu opinión es importante, gracias por comentar"