BIRD - Config Support for RFC 3107 - Carrying Label Information in BGP

Thiruvazhiyan Lakshmanan TL0041926 at TechMahindra.com
Fri Jun 15 16:27:52 CEST 2018


Thanks for your reply.

When I tried to add " ip route add 192.168.1.0/24 encap mpls 100 via inet 10.10.101.1" I get "Error: either "to" is duplicate, or "encap" is a garbage."

root at ubuntu4-4-VM1:/proc/sys/net# ip route add 192.168.1.0/24 encap mpls 100 via inet 10.10.101.1
Error: either "to" is duplicate, or "encap" is a garbage.
root at ubuntu4-4-VM1:/proc/sys/net#

and "ip route show" command do not show any labels to the route's output,

root at ubuntu4-4-VM1:/proc/sys/net# ip route show
default via 135.21.13.161 dev ens3 onlink
1.0.0.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.1.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.2.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.3.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.4.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.5.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.6.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.7.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.8.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
1.0.9.0/24 via 10.10.101.1 dev bond0.11  proto bird  metric 32
10.10.101.0/24 dev bond0.11  proto kernel  scope link  src 10.10.101.2
10.10.101.0/24 dev bond0.11  proto bird  scope link  metric 32
135.21.13.160/28 dev ens3  proto kernel  scope link  src 135.21.13.165
135.21.13.160/28 dev ens3  proto bird  scope link  metric 32
root at ubuntu4-4-VM1:/proc/sys/net#

we have following kernel version, does it require any additional Kernel tool.

root at ubuntu4-4-VM1:/proc/sys/net# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial
root at ubuntu4-4-VM1:/proc/sys/net# uname -r
4.4.0-119-generic
root at ubuntu4-4-VM1:/proc/sys/net#

Regards, 
Thiruvazhiyan L


-----Original Message-----
From: Ondrej Zajicek [mailto:santiago at crfreenet.org] 
Sent: Thursday, June 14, 2018 5:43 PM
To: Thiruvazhiyan Lakshmanan
Cc: bird-users at network.cz
Subject: Re: BIRD - Config Support for RFC 3107 - Carrying Label Information in BGP

On Thu, Jun 14, 2018 at 06:13:57PM +0000, Thiruvazhiyan Lakshmanan wrote:
> Thanks Ondrej,
> 
> With your suggested changes, I notice both Kernel and BGP uses single
> table (master4) and both have the routes. However, the routes shown in
> the bird has labels attached to them, the routes shown in Kernel table do
> not show the labels to them.

Hi

You could also check if you have proper kernel and tools.

If you add the route manually:

  ip route add 192.168.1.0/24 encap mpls 100 via inet 10.10.101.1

You should check if yuo see it with label using 'ip route show'.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
============================================================================================================================

Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html <http://www.techmahindra.com/Disclaimer.html> externally http://tim.techmahindra.com/tim/disclaimer.html <http://tim.techmahindra.com/tim/disclaimer.html> internally within TechMahindra.

============================================================================================================================




More information about the Bird-users mailing list