Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Router5:
C 192.168.1.0/24 is directly connected, FastEthernet0/0
C 192.168.2.0/24 is directly connected, Serial2/0
R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:02, Serial2/0
R 192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:02, Serial2/0
R 192.168.5.0/24 [120/2] via 192.168.2.2, 00:00:02, Serial2/0
R 192.168.6.0/24 [120/2] via 192.168.2.2, 00:00:02, Serial2/0
R 192.168.7.0/24 [120/3] via 192.168.2.2, 00:00:02, Serial2/0
R 192.168.8.0/24 [120/3] via 192.168.2.2, 00:00:02, Serial2/0
R 192.168.9.0/24 [120/4] via 192.168.2.2, 00:00:02, Serial2/0
Router1:
R 192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:15, Serial2/0
C 192.168.2.0/24 is directly connected, Serial2/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
C 192.168.4.0/24 is directly connected, Serial3/0
R 192.168.5.0/24 [120/1] via 192.168.4.2, 00:00:11, Serial3/0
R 192.168.6.0/24 [120/1] via 192.168.4.2, 00:00:11, Serial3/0
R 192.168.7.0/24 [120/2] via 192.168.4.2, 00:00:11, Serial3/0
R 192.168.8.0/24 [120/2] via 192.168.4.2, 00:00:11, Serial3/0
R 192.168.9.0/24 [120/3] via 192.168.4.2, 00:00:11, Serial3/0
Router2:
R 192.168.1.0/24 [120/2] via 192.168.4.1, 00:00:13, Serial2/0
R 192.168.2.0/24 [120/1] via 192.168.4.1, 00:00:13, Serial2/0
R 192.168.3.0/24 [120/1] via 192.168.4.1, 00:00:13, Serial2/0
C 192.168.4.0/24 is directly connected, Serial2/0
C 192.168.5.0/24 is directly connected, FastEthernet0/0
C 192.168.6.0/24 is directly connected, Serial3/0
R 192.168.7.0/24 [120/1] via 192.168.6.2, 00:00:12, Serial3/0
R 192.168.8.0/24 [120/1] via 192.168.6.2, 00:00:12, Serial3/0
R 192.168.9.0/24 [120/2] via 192.168.6.2, 00:00:12, Serial3/0
Router3:
R 192.168.1.0/24 [120/3] via 192.168.6.1, 00:00:09, Serial2/0
R 192.168.2.0/24 [120/2] via 192.168.6.1, 00:00:09, Serial2/0
R 192.168.3.0/24 [120/2] via 192.168.6.1, 00:00:09, Serial2/0
R 192.168.4.0/24 [120/1] via 192.168.6.1, 00:00:09, Serial2/0
R 192.168.5.0/24 [120/1] via 192.168.6.1, 00:00:09, Serial2/0
C 192.168.6.0/24 is directly connected, Serial2/0
C 192.168.7.0/24 is directly connected, FastEthernet0/0
C 192.168.8.0/24 is directly connected, Serial3/0
R 192.168.9.0/24 [120/1] via 192.168.8.2, 00:00:17, Serial3/0
Router4:
R 192.168.1.0/24 [120/4] via 192.168.8.1, 00:00:05, Serial2/0
R 192.168.2.0/24 [120/3] via 192.168.8.1, 00:00:05, Serial2/0
R 192.168.3.0/24 [120/3] via 192.168.8.1, 00:00:05, Serial2/0
R 192.168.4.0/24 [120/2] via 192.168.8.1, 00:00:05, Serial2/0
R 192.168.5.0/24 [120/2] via 192.168.8.1, 00:00:05, Serial2/0
R 192.168.6.0/24 [120/1] via 192.168.8.1, 00:00:05, Serial2/0
R 192.168.7.0/24 [120/1] via 192.168.8.1, 00:00:05, Serial2/0
C 192.168.8.0/24 is directly connected, Serial2/0
C 192.168.9.0/24 is directly connected, FastEthernet0/0
Router#debug ip rip
RIP protocol debugging is on
Router#RIP: received v1 update from 192.168.4.1 on Serial2/0
192.168.1.0 in 2 hops
192.168.2.0 in 1 hops
192.168.3.0 in 1 hops
RIP: received v1 update from 192.168.6.2 on Serial3/0
192.168.7.0 in 1 hops
192.168.8.0 in 1 hops
192.168.9.0 in 2 hops
RIP: sending v1 update to 255.255.255.255 via Serial2/0 (192.168.4.2)
RIP: build update entries
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.5.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via Serial3/0 (192.168.6.1)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
Router#undebug all
All possible debugging has been turned off
Porque, a cada puerto de entrada del router 2 van las redes por las que se conectan a él
(la configuración de los saltos) y son distintas redes. La única igual es la red común por
a la que han de llegar la 192.168.5.0
a. Comprobar que rutas recibe el router 2 del router 1 y del router 3.
Router#debug ip rip
RIP protocol debugging is on
Router#RIP: received v1 update from 192.168.4.1 on Serial2/0
192.168.1.0 in 2 hops
192.168.2.0 in 1 hops
192.168.3.0 in 1 hops
RIP: received v1 update from 192.168.6.2 on Serial3/0
192.168.7.0 in 1 hops
192.168.8.0 in 1 hops
192.168.9.0 in 2 hops
RIP: sending v1 update to 255.255.255.255 via Serial2/0 (192.168.4.2)
RIP: build update entries
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.5.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via Serial3/0 (192.168.6.1)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
Router#undebug all
All possible debugging has been turned off
b. De acuerdo con el resultado de los dos apartados anteriores. ¿Se está
usando el horizonte dividido para evitar bucles? ¿por qué? Después
de realizar la actividad puede quitar el debug ip rip.
Router 5:
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
no ip split-horizon
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 192.168.2.1 255.255.255.0
no ip split-horizon
clock rate 2000000
Router 1:
interface FastEthernet0/0
ip address 192.168.3.2 255.255.255.0
no ip split-horizon
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 192.168.2.2 255.255.255.0
no ip split-horizon
!
interface Serial3/0
ip address 192.168.4.1 255.255.255.0
no ip split-horizon
clock rate 2000000
!
Router 2:
interface FastEthernet0/0
ip address 192.168.5.2 255.255.255.0
no ip split-horizon
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 192.168.4.2 255.255.255.0
no ip split-horizon
!
interface Serial3/0
ip address 192.168.6.1 255.255.255.0
no ip split-horizon
clock rate 2000000
!
Router 3:
interface FastEthernet0/0
ip address 192.168.7.2 255.255.255.0
no ip split-horizon
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 192.168.6.2 255.255.255.0
no ip split-horizon
!
interface Serial3/0
ip address 192.168.8.1 255.255.255.0
no ip split-horizon
clock rate 2000000
!
Router 4:
interface Serial2/0
ip address 192.168.8.2 255.255.255.0
no ip split-horizon
!
interface Serial3/0
no ip address
no ip split-horizon
clock rate 2000000
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
network 192.168.8.0
network 192.168.9.0
!
5. Realizar un debug Ip rip en el router 2 y comprobar que rutas envía el
router al router 3, comprobar que rutas envía el router 2 al router 1. ¿Por
qué no envía las mismas rutas?
Router#debug ip rip
RIP protocol debugging is on
Router#RIP: received v1 update from 192.168.4.1 on Serial2/0
192.168.1.0 in 2 hops
192.168.2.0 in 1 hops
192.168.3.0 in 1 hops
192.168.4.0 in 1 hops
192.168.5.0 in 2 hops
192.168.6.0 in 2 hops
192.168.7.0 in 3 hops
192.168.8.0 in 3 hops
192.168.9.0 in 4 hops
RIP: sending v1 update to 255.255.255.255 via Serial2/0 (192.168.4.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.5.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via Serial3/0 (192.168.6.1)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: received v1 update from 192.168.6.2 on Serial3/0
192.168.1.0 in 4 hops
192.168.2.0 in 3 hops
192.168.3.0 in 3 hops
192.168.4.0 in 2 hops
192.168.5.0 in 2 hops
192.168.6.0 in 1 hops
192.168.7.0 in 1 hops
192.168.8.0 in 1 hops
192.168.9.0 in 2 hops
Router#undebug all
All possible debugging has been turned off
Sique envía a las mismas rutas como hemos comprobado
Router#debug ip rip
RIP protocol debugging is on
Router#RIP: received v1 update from 192.168.4.1 on Serial2/0
192.168.1.0 in 2 hops
192.168.2.0 in 1 hops
192.168.3.0 in 1 hops
192.168.4.0 in 1 hops
192.168.5.0 in 2 hops
192.168.6.0 in 2 hops
192.168.7.0 in 3 hops
192.168.8.0 in 3 hops
192.168.9.0 in 4 hops
RIP: sending v1 update to 255.255.255.255 via Serial2/0 (192.168.4.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.5.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via Serial3/0 (192.168.6.1)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: received v1 update from 192.168.6.2 on Serial3/0
192.168.1.0 in 4 hops
192.168.2.0 in 3 hops
192.168.3.0 in 3 hops
192.168.4.0 in 2 hops
192.168.5.0 in 2 hops
192.168.6.0 in 1 hops
192.168.7.0 in 1 hops
192.168.8.0 in 1 hops
192.168.9.0 in 2 hops
Router#undebug all
All possible debugging has been turned off
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#passive-interface f0/0
a. Comprobar que no se publican rutas en el router 2 por la interfaz
fastethernet 0/0 después de poner el comando passive interface y
que antes de poner el comando, si que se publicaban.
Antes:
Router#debug ip rip
RIP protocol debugging is on
Router#RIP: received v1 update from 192.168.4.1 on Serial2/0
192.168.1.0 in 2 hops
192.168.2.0 in 1 hops
192.168.3.0 in 1 hops
192.168.4.0 in 1 hops
192.168.5.0 in 2 hops
192.168.6.0 in 2 hops
192.168.7.0 in 3 hops
192.168.8.0 in 3 hops
192.168.9.0 in 4 hops
RIP: sending v1 update to 255.255.255.255 via Serial2/0 (192.168.4.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.5.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via Serial3/0 (192.168.6.1)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: received v1 update from 192.168.6.2 on Serial3/0
192.168.1.0 in 4 hops
192.168.2.0 in 3 hops
192.168.3.0 in 3 hops
192.168.4.0 in 2 hops
192.168.5.0 in 2 hops
192.168.6.0 in 1 hops
192.168.7.0 in 1 hops
192.168.8.0 in 1 hops
192.168.9.0 in 2 hops
Router#undebug all
All possible debugging has been turned off
APLICO EL COMANDO:
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#passive-interface f0/0
Despues:
Router#debug ip rip
RIP protocol debugging is on
Router#RIP: sending v1 update to 255.255.255.255 via Serial2/0 (192.168.4.2)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: sending v1 update to 255.255.255.255 via Serial3/0 (192.168.6.1)
RIP: build update entries
network 192.168.1.0 metric 3
network 192.168.2.0 metric 2
network 192.168.3.0 metric 2
network 192.168.4.0 metric 1
network 192.168.5.0 metric 1
network 192.168.6.0 metric 1
network 192.168.7.0 metric 2
network 192.168.8.0 metric 2
network 192.168.9.0 metric 3
RIP: received v1 update from 192.168.4.1 on Serial2/0
192.168.1.0 in 2 hops
192.168.2.0 in 1 hops
192.168.3.0 in 1 hops
192.168.4.0 in 1 hops
192.168.5.0 in 2 hops
192.168.6.0 in 2 hops
192.168.7.0 in 3 hops
192.168.8.0 in 3 hops
192.168.9.0 in 4 hops
RIP: received v1 update from 192.168.6.2 on Serial3/0
192.168.1.0 in 4 hops
192.168.2.0 in 3 hops
192.168.3.0 in 3 hops
192.168.4.0 in 2 hops
192.168.5.0 in 2 hops
192.168.6.0 in 1 hops
192.168.7.0 in 1 hops
192.168.8.0 in 1 hops
192.168.9.0 in 2 hops
Router#undebug all
All possible debugging has been turned off
Antes:
Router#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 22 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
Serial2/0 1 2 1
FastEthernet0/0 1 2 1
Serial3/0 1 2 1
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.4.0
192.168.5.0
192.168.6.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
192.168.4.1 120 00:00:25
192.168.6.2 120 00:00:11
Distance: (default is 120)
Router#
Después:
Router# show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 28 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
Serial2/0 1 2 1
Serial3/0 1 2 1
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.4.0
192.168.5.0
192.168.6.0
Passive Interface(s):
FastEthernet0/0
Routing Information Sources:
Gateway Distance Last Update
192.168.4.1 120 00:00:20
192.168.6.2 120 00:00:19
Distance: (default is 120)
Router#