MobiQuo Analizando RIP con Netgui - docencia de la ETSIT-URJC

Analizando RIP con
Netgui
MobiQuo
NetLAB
Escenario de red
pc2
pc1
13.0.0.2
10.0.0.2
10.0.0.0/24
10.0.0.1
13.0.0.1
r1
r2
11.0.0.1
13.0.0.0/24
r3
11.0.0.2
11.0.0.0/24
12.0.0.2
12.0.0.1
12.0.0.0/24
NetLAB
1
Escenario de red
NetLAB
Configuración de red en
pc1 y pc2


PC1
/etc/network/interfaces


auto eth0
iface eth0 inet static
address 10.0.0.2
network 10.0.0.0
netmask 255.255.255.0
broadcast 10.0.0.255
gateway 10.0.0.1
PC2
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 13.0.0.2
network 13.0.0.0
netmask 255.255.255.0
broadcast 13.0.0.255
gateway 13.0.0.1
Cargar configuración: /etc/init.d/networking restart
NetLAB
2
Configuración de red en
r1, r2 y r3


R2
R1
/etc/network/interfaces /etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.0.0.1
network 10.0.0.0
netmask 255.255.255.0
broadcast 10.0.0.255
auto eth1
iface eth1 inet static
address 11.0.0.1
network 11.0.0.0
netmask 255.255.255.0
broadcast 11.0.0.255
auto eth0
iface eth0 inet static
address 11.0.0.2
network 11.0.0.0
netmask 255.255.255.0
broadcast 11.0.0.255
auto eth1
iface eth1 inet static
address 12.0.0.2
network 12.0.0.0
netmask 255.255.255.0
broadcast 12.0.0.255
R3
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 12.0.0.1
network 12.0.0.0
netmask 255.255.255.0
broadcast 12.0.0.255
auto eth1
iface eth1 inet static
address 13.0.0.1
network 13.0.0.0
netmask 255.255.255.0
broadcast 13.0.0.255
Cargar configuración: /etc/init.d/networking restart
NetLAB
Configuración de red en r1
NetLAB
3
Configuración de red en r2
NetLAB
Configuración de red en r3
NetLAB
4
Configuración zebra en
r1, r2 y r3


R1
/etc/zebra/daemons
zebra=yes
bgpd=no
ospfd=no
ospf6d=no
ripd=yes
ripngd=no
R2
/etc/zebra/daemons
zebra=yes
bgpd=no
ospfd=no
ospf6d=no
ripd=yes
ripngd=no
R3
/etc/zebra/daemons
zebra=yes
bgpd=no
ospfd=no
ospf6d=no
ripd=yes
ripngd=no
NetLAB
Configuración RIP en
r1, r2 y r3


R1
/etc/zebra/ripd.conf
router rip-r1
network 10.0.0.0/24
network 11.0.0.0/24
R2
/etc/zebra/ripd.conf
router rip-r2
network 11.0.0.0/24
network 12.0.0.0/24
R3
/etc/zebra/ripd.conf
router rip-r3
network 12.0.0.0/24
network 13.0.0.0/24
Arrancar zebra: /etc/init.d/zebra start
NetLAB
5
Monitorización


Monitorizar la red
11.0.0.0/24, desde R1:
tcpdump -i eth1 -w
cap-r1 &


Monitorizar la red
12.0.0.0/24, desde R3:
tcpdump -i eth0 -w
cap-r3 &
NetLAB
Monitorización 11.0.0.0/24
NetLAB
6
Monitorización 12.0.0.0/24
NetLAB
Configuración de red en r1
NetLAB
7
Configuración de red en r2
NetLAB
Configuración de red en r3
NetLAB
8