Sie sind auf Seite 1von 2

// Configuración de equipos

##########################
# R1 #
##########################
ena
conf t
int e1/0
ip add 192.168.10.1 255.255.255.0
no sh
int e1/1
ip add 10.2.3.1 255.255.255.252
mpls ip
no sh
exit
router ospf 1
network 192.168.10.0 0.0.0.255 area 0
network 10.2.3.0 0.0.0.3 area 0

##########################
# R2 #
##########################
ena
conf t
int e1/0
ip add 10.2.3.2 255.255.255.252
mpls ip
no sh
exit
int e1/1
ip add 10.3.4.1 255.255.255.252
mpls ip
no sh
exit
router ospf 1
network 10.2.3.0 0.0.0.3 area 0
network 10.3.4.0 0.0.0.3 area 0

##########################
# R3 #
##########################
ena
conf t
int e1/0
ip add 10.3.4.2 255.255.255.252
mpls ip
no sh
exit
int e1/1
ip add 10.4.5.1 255.255.255.252
mpls ip
no sh
exit
router ospf 1
network 10.3.4.0 0.0.0.3 area 0
network 10.4.5.0 0.0.0.3 area 0

##########################
# R4 #
##########################
ena
conf t
int e1/0
ip add 10.4.5.2 255.255.255.252
mpls ip
no sh
exit
int e1/1
ip add 192.168.20.1 255.255.255.0
no sh
router ospf 1
network 10.4.5.0 0.0.0.3 area 0
network 192.168.20.0 0.0.0.255 area 0

host
pc1 ip 192.168.10.11 255.255.255.0 192.168.10.1
pc1 ip 192.168.20.11 255.255.255.0 192.168.20.1

show mpls interface

Das könnte Ihnen auch gefallen