Configuración de OSPF en routers CISCO mediante el software GNS3
COMANDOS UTILIZADOS EN LA CONFIGURACIÓN
R1
conf t
int e0/1
ip add 192.168.20.1 255.255.255.0
no shut
exit
int e0/2
ip add 192.168.10.1 255.255.255.0
no shut
exit
int e0/3
ip add 192.168.11.1 255.255.255.0
no shut
exit
int e1/0
ip add 192.168.12.1 255.255.255.0
no shut
exit
router ospf 10
router-id 1.1.1.1
network 192.168.20.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.255 area 0
network 192.168.11.0 0.0.0.255 area 0
network 192.168.12.0 0.0.0.255 area 0
exit
=================================
R2
conf t
int e0/0
ip add 192.168.20.2 255.255.255.0
no shut
exit
int e0/2
ip add 192.168.31.1 255.255.255.0
no shut
exit
int e0/3
ip add 192.168.32.1 255.255.255.0
no shut
exit
int e0/1
ip add 192.168.30.1 255.255.255.0
no shut
exit
router ospf 10
router-id 2.2.2.2
network 192.168.20.0 0.0.0.255 area 0
network 192.168.30.0 0.0.0.255 area 0
network 192.168.31.0 0.0.0.255 area 0
network 192.168.32.0 0.0.0.255 area 0
exit
==============================
R3
conf t
int e0/0
ip add 192.168.30.2 255.255.255.0
no shut
exit
int e0/1
ip add 192.168.35.1 255.255.255.0
no shut
exit
router ospf 10
router-id 3.3.3.3
network 192.168.35.0 0.0.0.255 area 0
network 192.168.30.0 0.0.0.255 area 0
exit
===========================
R4
conf t
int e0/0
ip add 192.168.31.2 255.255.255.0
no shut
exit
int e0/1
ip add 192.168.36.1 255.255.255.0
no shut
exit
router ospf 10
router-id 4.4.4.4
network 192.168.31.0 0.0.0.255 area 0
network 192.168.36.0 0.0.0.255 area 0
exit
=================================
R5
conf t
int e0/0
ip add 192.168.32.2 255.255.255.0
no shut
exit
int e0/1
ip add 192.168.37.1 255.255.255.0
no shut
exit
router ospf 10
router-id 5.5.5.5
network 192.168.32.0 0.0.0.255 area 0
network 192.168.37.0 0.0.0.255 area 0
exit
==================================
R6
conf t
int e0/0
ip add 192.168.35.2 255.255.255.0
no shut
exit
int e0/1
ip add 192.168.36.2 255.255.255.0
no shut
exit
int e0/2
ip add 192.168.37.2 255.255.255.0
no shut
exit
int e0/3
ip add 192.168.40.1 255.255.255.0
no shut
exit
router ospf 10
router-id 6.6.6.6
network 192.168.35.0 0.0.0.255 area 0
network 192.168.36.0 0.0.0.255 area 0
network 192.168.37.0 0.0.0.255 area 0
network 192.168.40.0 0.0.0.255 area 0
exit
===================================
W1
ifconfig eth0 192.168.10.2 netmask 255.255.255.0
route add default gw 192.168.10.1
W2
ifconfig eth0 192.168.11.2 netmask 255.255.255.0
route add default gw 192.168.11.1
W3
ifconfig eth0 192.168.12.2 netmask 255.255.255.0
route add default gw 192.168.12.1
SERVER
ifconfig eth0 192.168.40.2 netmask 255.255.255.0
route add default gw 192.168.40.1
Comments
Post a Comment