In this video you will learn the basics of mpls and how to set up Mpls on EVE-ng.
Configurations:
!R1
en
config t
Hostname R1
no ip domain-lookup
wr
interface eth0/0
ip add 192.1.12.1 255.255.255.0
no shut
int loop 0
ip add 1.1.1.1 255.0.0.0
end
wr
!R2
en
config t
Hostname R2
no ip domain-lookup
wr
interface eth0/1
ip add 192.1.23.2 255.255.255.0
no shut
interface eth0/0
ip add 192.1.12.2 255.255.255.0
no shut
int loop 0
ip add 2.2.2.2 255.0.0.0
end
wr
!R3
en
config t
Hostname R3
no ip domain-lookup
wr
interface eth0/0
ip add 192.1.23.3 255.255.255.0
no shut
interface eth0/1
ip add 192.1.34.3 255.255.255.0
no shut
int loop 0
ip add 3.3.3.3 255.0.0.0
end
wr
!R4
en
config t
Hostname R4
no ip domain-lookup
wr
interface eth0/0
ip add 192.1.34.4 255.255.255.0
no shut
int loop 0
ip add 4.4.4.4 255.0.0.0
end
wr
================================================
Configure EIGRP on all Routers and R1 and R4 only on the inside interfaces.
!R1
config t
router eigrp 100
no auto-summary
network 1.0.0.0
network 192.1.12.0
end
wr
!R2
config t
router eigrp 100
no auto-summary
network 2.0.0.0
network 192.1.12.0
network 192.1.23.0
end
wr
!R3
config t
router eigrp 100
no auto-summary
network 3.0.0.0
network 192.1.34.0
network 192.1.23.0
end
wr
!R4
config t
router eigrp 100
no auto-summary
network 4.0.0.0
network 192.1.34.0
end
wr
============================================
configure mpls on the core routers
!R1
en
config t
mpls ldp router-id loopback 0
mpls label range 1000 1999
mpls label protocol Ldp
int eth0/0
mpls ip
!R2
en
config t
mpls ldp router-id loopback 0
mpls label range 2000 2999
mpls label protocol Ldp
int eth0/0
mpls ip
int eth0/1
mpls ip
end
wr
!R3
en
config t
mpls ldp router-id loopback 0
mpls label range 3000 3999
mpls label protocol Ldp
int eth0/0
mpls ip
int eth0/1
mpls ip
end
wr
!R4
en
config t
mpls ldp router-id loopback 0
mpls label range 4000 4999
mpls label protocol Ldp
int eth0/0
mpls ip
end
wr