Consecuencias de la mala configuración de la distancia administrativa

Fecha: 13/9/2012 Clase: Exploration 2 (CCNA 2) módulo 4

 

Escenario

 

Se trata de investigar las consecuencias de la mala configuración de la distancia administrativa

(AD) en un escenario multi protocolo (RIP e EIGRP) y evaluar cual es el protocolo elegido

para agregarse a la tabla de enrutamiento y sus consecuencias.

 

Se asume mala praxis del administrador de los equipos para llegar a esta situación.

 

Este escenario se simuló en Packet Tracer

 

Escenario disponible en: ftp://ftp.vilarrasa.com.ar/ (user y pass: ccna)

 

 

Router_1#sh ip prot (verificamos configuración)

 

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

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

Redistributing: eigrp 100

  Automatic network summarization is not in effect 

  Maximum path: 4

  Routing for Networks: 

     10.0.0.0/30 (sólo EIGRP)

     192.168.1.0

     192.168.0.0

  Routing Information Sources: 

    Gateway         Distance      Last Update

    10.0.0.2        100           781046    

  Distance: internal 100 external 170

 

Routing Protocol is "rip"

Sending updates every 30 seconds, next due in 9 seconds

Invalid after 180 seconds, hold down 180, flushed after 240

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Redistributing: rip

Default version control: send version 1, receive any version

  Interface             Send  Recv  Triggered RIP  Key-chain

Automatic network summarization is in effect

Maximum path: 4

Routing for Networks:

       192.168.0.0

       192.168.1.0

Passive Interface(s):

       FastEthernet0/0

Routing Information Sources:

       Gateway         Distance      Last Update

       192.168.1.2          100      00:03:59

       10.0.0.2             100      00:04:25

Distance: 100 (default is 120)

Router 1#

 

Router_2#sh ip prot (verificamos configuración)

 

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

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

Redistributing: eigrp 100

  Automatic network summarization is not in effect 

  Maximum path: 4

  Routing for Networks: 

     10.0.0.0/30 (sólo EIGRP)

     192.168.3.0

     192.168.1.0

  Routing Information Sources: 

    Gateway         Distance      Last Update

    10.0.0.1        100           1519656   

  Distance: internal 100 external 170

 

Routing Protocol is "rip"

Sending updates every 30 seconds, next due in 19 seconds

Invalid after 180 seconds, hold down 180, flushed after 240

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Redistributing: rip, static

Default version control: send version 1, receive any version

  Interface             Send  Recv  Triggered RIP  Key-chain

  FastEthernet0/0       1     2 1  

Automatic network summarization is in effect

Maximum path: 4

Routing for Networks:

       192.168.1.0

       192.168.3.0

Passive Interface(s):

Routing Information Sources:

       Gateway         Distance      Last Update

       192.168.1.1          100      00:04:21

       10.0.0.1             100      00:04:49

Distance: 100 (default is 120)

Router_2#

 

Router_1#sh ip route (verificamos)

---resumido---

 

Gateway of last resort is 192.168.1.2 to network 0.0.0.0

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/1

C    192.168.0.0/24 is directly connected, FastEthernet0/0

D    192.168.3.0/24 [100/2172416] via 10.0.0.2, 00:04:38, Serial0/0/1

R*   0.0.0.0/0 [120/5] via 192.168.1.2, 00:00:19, Serial0/0/0

Router_1#

 

Router_2#sh ip route (verificamos)

---resumido---

 

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/1

D    192.168.0.0/24 [100/2172416] via 10.0.0.1, 00:03:52, Serial0/0/1

C    192.168.3.0/24 is directly connected, FastEthernet0/0

C    192.168.4.0/24 is directly connected, Serial0/1/0

S*   0.0.0.0/0 is directly connected, Serial0/1/0

Router_2#

 

Agregamos enlace (tanto RIP como EIGRP)

 

 

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

 

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

 

Router_1#sh ip route (verificamos, ver métrica RIP mas baja que EIGRP)

---resumido---

 

Gateway of last resort is 192.168.1.2 to network 0.0.0.0

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/1

C    192.168.0.0/24 is directly connected, FastEthernet0/0

C    192.168.1.0/24 is directly connected, Serial0/0/0

R    192.168.3.0/24 [100/1] via 192.168.1.2, 00:00:05, Serial0/0/0

R*   0.0.0.0/0 [120/5] via 192.168.1.2, 00:00:19, Serial0/0/0

Router_1#

 

Configuramos AD RIP por defecto

 

Router_2#conf t

Router_2(config)#router rip

Router_2(config-router)#no distance 100 (volvemos a 120)

Router_2(config-router)#^Z

Router_2#

 

Router_1#conf t

Router_1(config)#router rip

Router_1(config-router)#no distance 100 (volvemos a 120)

Router_1(config-router)#^Z

Router_1#

 

Router_1#sh ip route (verificamos, ver métrica mas alta que RIP, pero gana por AD baja)

---resumido---

 

Gateway of last resort is 192.168.1.2 to network 0.0.0.0

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/1

C    192.168.0.0/24 is directly connected, FastEthernet0/0

C    192.168.1.0/24 is directly connected, Serial0/0/0

D    192.168.3.0/24 [100/2172416] via 10.0.0.2, 00:17:23, Serial0/0/1

                    [100/2172416] via 192.168.1.2, 00:08:09, Serial0/0/0

R*   0.0.0.0/0 [120/5] via 192.168.1.2, 00:00:19, Serial0/0/0 (sólo vía RIP)

Router_1#

 

Configuraciones de equipos

 

Router_1#sh runn

Building configuration...

---resumido---

!

hostname Router_1

!

interface FastEthernet0/0

 ip address 192.168.0.1 255.255.255.0

!

interface Serial0/0/0

 ip address 192.168.1.1 255.255.255.0

 clock rate 4000000

!

interface Serial0/0/1

 ip address 10.0.0.1 255.255.255.252

 clock rate 4000000

!

router eigrp 100

 distance eigrp 100 170

 network 10.0.0.0 0.0.0.3

 network 192.168.1.0

 network 192.168.0.0

 no auto-summary

!

router rip

 passive-interface FastEthernet0/0

 network 192.168.0.0

 network 192.168.1.0

 distance 100

!

ip classless

!

end

 

Router_2#sh runn

---resumido---

!

hostname Router_2

!

interface FastEthernet0/0

 ip address 192.168.3.1 255.255.255.0

!

interface Serial0/0/0

 ip address 192.168.1.2 255.255.255.0

!

interface Serial0/0/1

 ip address 10.0.0.2 255.255.255.252

!

interface Serial0/1/0

 ip address 192.168.4.1 255.255.255.0

!

router eigrp 100

 distance eigrp 100 170

 network 10.0.0.0 0.0.0.3

 network 192.168.3.0

 network 192.168.1.0

 no auto-summary

!

router rip

 redistribute static metric 5

 network 192.168.1.0

 network 192.168.3.0

 distance 100

!

ip classless

ip route 0.0.0.0 0.0.0.0 Serial0/1/0

!

end

 

(2012) Networking  for hard times

Rosario, Argentina