Laboratorio Mpls Y Pppoe En Gns3
Esta es la topología, el R1 es el PE1, R2 es el P, el R3 es el PE2.
los R4 y 5 son CE.
Entre los P están por fastethernet y con los CE por seriales.
Ya venía una configuración pronta para no perder el tiempo configurando las interfaces y el ospf.
PE1
PE1#sh run
Building configuration...
Current configuration : 956 bytes
!
version 12.4service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.100.100.2 255.255.255.255
!
interfaceFastEthernet0/0
ip address 10.0.0.2 255.255.255.252
duplex auto
speed auto
!
interface Serial0/0
ip address 192.168.0.1 255.255.255.252
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
!
router ospf 1
router-id 10.100.100.2
log-adjacency-changes
network 10.0.0.00.255.255.255 area 0
!
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
P
P#sh run
Building configuration...
Current configuration : 817 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
noservice password-encryption
!
hostname P
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.100.100.1 255.255.255.255
!
interface FastEthernet0/0
ip address 10.0.0.1 255.255.255.252
duplex auto
speed auto
!interface FastEthernet0/1
ip address 10.0.0.5 255.255.255.252
duplex auto
speed auto
!
!
router ospf 1
router-id 10.100.100.1
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0
!
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
endPE2
PE2#sh run
Building configuration...
Current configuration : 956 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!!
!
!
!
!
!
!
interface Loopback0
ip address 10.100.100.3 255.255.255.255
!
interface FastEthernet0/0
ip address 10.0.0.6 255.255.255.252
duplex auto
speed auto
!
interface Serial0/0
ip address 192.168.1.1 255.255.255.252
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate2000000
!
!
router ospf 1
router-id 10.100.100.3
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0
!
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end------------------------------------------------------------------------------------------------------------------------------
Bien después de tener todo esto configurado lo primero es poner a funcionar mpls y ldp, para esto usamos
los comandos:
(config)#mpls label protocol ldp
(config)#mpls ldp neighbor (el vecino que tiene directamente conectado) passwort (el passwort)
Y después se habilita la interfaz por la que van ir las tramas etiquetadas,...
Regístrate para leer el documento completo.