[143927] in North American Network Operators' Group
Re: VRF/MPLS on Linux
daemon@ATHENA.MIT.EDU (Brian Raaen)
Tue Aug 23 10:44:01 2011
Date: Tue, 23 Aug 2011 10:43:20 -0400
From: Brian Raaen <nanog@rhemasound.org>
To: Jared Mauch <jared@puck.nether.net>
In-Reply-To: <FF18ACB5-42C4-4E45-B6AA-E55846B2B718@puck.nether.net>
Cc: nanog@nanog.org
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
Jared,
Thank you for your reply. The one issue I have is how can I label traffic to match a given table (i.e. ping VRF or snmp VRF). I don't see any way this can be done with normal BSD sockets, finding a way to get my application to 'color' the traffic has been a little evasive. The developers I am working with are using Mule for their data collection. I would really prefer to add an MPLS tag to mark the traffic, but I will investigate what I can do using the Linux routing features and 802.1q tags.
---
Brian Raaen
Network Architect
braaen@zcorum.com
On Tue, Aug 23, 2011 at 09:50:30AM -0400, Jared Mauch wrote:
>
> On Aug 23, 2011, at 9:45 AM, nanog@rhemasound.org wrote:
>
> > While I have found some information on a project called linux-mpls I am having a hard time finding any solid VRF framework for Linux. I have a monitoring system that needs check devices that sit in overlapping private ip space, and I was wondering if there is anyway I could use some kind or VRF type solution that would allow me to label the "site" the traffic is intended for. The upstream router supports VRF/MPLS, but I need to know how I can get the server to label the traffic. I would appreciate any input.
>
> In linux, you can manage the different routing tables.
>
> You can do this with the iptables + iproute2 series of commands. The tables 254/255 are the main and local tables.
>
> You shouldn't have too much trouble finding information via google on how to manage your needs.
>
> - Jared