Hello,
I've following setup:
Host machine is Ubuntu 16.04 LTS (Linux OS 4.15.0-58-generic #64~16.04.1-Ubuntu SMP Wed Aug 7 14:10:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux). Installed docker on it ( Version: 18.09.7). Also have GNS3 simulator (2.1.21).
Pulled FRR image from Docker (docker pull frrouting/frr)
MPLS modules (mpls_iptunnel mpls_router) are enabled on host machine. Also enabled following in /etc/sysctl.conf on host machine:
# Enable MPLS Label processing on all interfaces
net.mpls.platform_labels=100000
net.mpls.conf.lo.input=1
net.mpls.conf.enp0s25.input=1
net.mpls.conf.docker0.input = 1
A simple MPLS 3 x router topology

Everything works fine like OSPF, ISIS, BGP. However, when I enable MPLS LDP on interconnecting interfaces, frr-1 can not ping frr-3 loopback and vide versa. I've done packer captures and it seems that frr-1 and frr-3 both send the correct MPLS labelled packets but frr-2 keeps dropping them. Don't know why its like that. Here is the configs:
hostname frr-1
!
!
interface eth0
ip address 10.1.1.1/30
ip ospf network point-to-point
!
interface lo
ip address 1.1.1.1/32
!
!
!
router ospf
network 0.0.0.0/0 area 0
!
mpls ldp
router-id 1.1.1.1
!
address-family ipv4
discovery transport-address 1.1.1.1
!
interface eth0
!
interface lo
!
exit-address-family
!
!
line vty
exec-timeout 0 0
!
end
hostname frr-2
!
interface eth0
ip address 10.1.1.2/30
ip ospf network point-to-point
!
interface eth1
ip address 10.1.1.5/30
ip ospf network point-to-point
!
interface lo
ip address 1.1.1.2/32
!
router ospf
network 0.0.0.0/0 area 0
!
mpls ldp
router-id 1.1.1.2
!
address-family ipv4
discovery transport-address 1.1.1.2
!
interface eth1
!
interface eth0
!
interface lo
!
exit-address-family
!
line vty
!
end
hostname frr-3
!
!
interface eth1
ip address 10.1.1.6/30
ip ospf network point-to-point
!
interface lo
ip address 1.1.1.3/32
!
!
!
router ospf
network 0.0.0.0/0 area 0
!
mpls ldp
router-id 1.1.1.3
!
address-family ipv4
discovery transport-address 1.1.1.3
!
interface eth1
!
interface lo
!
exit-address-family
!
!
line vty
exec-timeout 0 0
!
end
Please suggest where can I look to fix it.
Hello,
I've following setup:
Host machine is Ubuntu 16.04 LTS (Linux OS 4.15.0-58-generic #64~16.04.1-Ubuntu SMP Wed Aug 7 14:10:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux). Installed docker on it ( Version: 18.09.7). Also have GNS3 simulator (2.1.21).
Pulled FRR image from Docker (docker pull frrouting/frr)
MPLS modules (mpls_iptunnel mpls_router) are enabled on host machine. Also enabled following in /etc/sysctl.conf on host machine:
A simple MPLS 3 x router topology
Everything works fine like OSPF, ISIS, BGP. However, when I enable MPLS LDP on interconnecting interfaces, frr-1 can not ping frr-3 loopback and vide versa. I've done packer captures and it seems that frr-1 and frr-3 both send the correct MPLS labelled packets but frr-2 keeps dropping them. Don't know why its like that. Here is the configs:
Please suggest where can I look to fix it.