How To Install Iproute2 Ubuntu

Active1 year, 7 months ago

[iproute2_3.12.0-2.dsc] [iproute2_3.12.0.orig.tar.xz] [iproute2_3.12.0-2.debian.tar.xz] Maintainer: Ubuntu Core Developers (Mail Archive) Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly. Original Maintainers (usually from Debian): Debian iproute2 Maintainers Andreas Henriksson.

Trying to figure out how one can use iproute2 to manage static label-switched MPLS routes in Linux kernel 4.1.

I am aware iproute2 support for MPLS might be incomplete right now [2].

Can anyone please shed some light on what iproute2-4.1.1 is currently able to do?

This is what I have found so far:

Documentation/networking/mpls-sysctl.txt

/proc/sys/net/mpls/platform_labels /proc/sys/net/mpls/conf//input

Load mpls module

Find sysctl support

Enable mpls support

push??? (how to add prefix-to-push action?)

swap??? (how to add label-swap action?)

pop??? (how to add label-pop action?)

Ubuntu

???

show??? (how to display label-switched routes?)

???

Can someone help me out .Thanks in Advance.

user2798118user2798118

1 Answer

A little bit too late, but hope it helps somebody. You can find them here:

Routing 10.10.10.10/32 to 192.168.1.2 with label 100:

Label swapping 100 for 200 and sent to 192.168.2.2:

Decapsulating label 300 and delivering locally:

To show MPLS routes you can do:

How To Install Iproute2 Ubuntu Windows 7

If your iproute2 version doesn't support those commands, you can get it from here:

And then

Ubuntu Install Iproute2

bingenbingen
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

How To Install Ubuntu Windows

Not the answer you're looking for? Browse other questions tagged linuxlinux-kernelroutingnetlinkiproute or ask your own question.