Re: VRF/MPLS on Linux

2011-08-26 Thread Brian Raaen
I want to thank everyone for their input and I have gleened many useful ideas from this discussion. Hopefully some standard like BSD sockets will be written for routing realms/vrfs, then let the fun begin. It appears that the Java based framework our developers used can not be extended to allow

Re: VRF/MPLS on Linux

2011-08-24 Thread Hannes Frederic Sowa
On Wed, Aug 24, 2011 at 7:37 PM, Jussi Peltola wrote: > Or exec your commands wrapped in route -T$TABLE exec $* FYI, on linux you can use 'ip netns exec'. The subcommand is rather new and you will only find it in the git repository. Greetings, Hannes

Re: VRF/MPLS on Linux

2011-08-24 Thread Simon Perreault
On 2011-08-24 13:37, Jussi Peltola wrote: >> Just FYI: on OpenBSD you can set the VRF (aka "routing table" or >> "routing domain") per socket with code like this: >> >> int s, table; >> s = socket(...); >> table = 123; >> setsockopt(s, IPPROTO_IP, SO_RTABLE, &table, sizeof(table)); >> > >

Re: VRF/MPLS on Linux

2011-08-24 Thread Jussi Peltola
On Wed, Aug 24, 2011 at 09:18:29AM -0400, Simon Perreault wrote: > On 2011-08-24 06:06, Brian Raaen wrote: > > The only issue with this is that the Linux box is not acting as a > > router, but as the egress devices. I'm trying to figure out how to > > properly get my application to 'color' the tra

Re: VRF/MPLS on Linux

2011-08-24 Thread Eduardo Schoedler
Em 24/08/2011, às 11:28, Jared Mauch escreveu: > > On Aug 24, 2011, at 6:06 AM, Brian Raaen wrote: > >> The only issue with this is that the Linux box is not acting as a router, >> but as the egress devices. I'm trying to figure out how to properly get my >> application to 'color' the traffi

Re: VRF/MPLS on Linux

2011-08-24 Thread Jared Mauch
On Aug 24, 2011, at 6:06 AM, Brian Raaen wrote: > The only issue with this is that the Linux box is not acting as a router, but > as the egress devices. I'm trying to figure out how to properly get my > application to 'color' the traffic. standard BSD sockets appear to have no > concept of '

Re: VRF/MPLS on Linux

2011-08-24 Thread Simon Perreault
On 2011-08-24 06:06, Brian Raaen wrote: > The only issue with this is that the Linux box is not acting as a > router, but as the egress devices. I'm trying to figure out how to > properly get my application to 'color' the traffic. standard BSD > sockets appear to have no concept of 'Labels'. Jus

Re: VRF/MPLS on Linux

2011-08-24 Thread Hannes Frederic Sowa
On Wed, Aug 24, 2011 at 10:06 AM, Brian Raaen wrote: > The only issue with this is that the Linux box is not acting as a router, but > as the egress devices.  I'm trying to figure out how to properly get my > application to 'color' the traffic.  standard BSD sockets appear to have no > concept

Re: VRF/MPLS on Linux

2011-08-24 Thread Brian Raaen
The only issue with this is that the Linux box is not acting as a router, but as the egress devices. I'm trying to figure out how to properly get my application to 'color' the traffic. standard BSD sockets appear to have no concept of 'Labels'. Still seeing what I can do to match the traffic.

Re: VRF/MPLS on Linux

2011-08-23 Thread Glen Turner
On Tue, 2011-08-23 at 13:45 +, na...@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. The Linux kernel as shipped by Linus supports multiple routing tables and allows you to forward

Re: VRF/MPLS on Linux

2011-08-23 Thread Mike Jones
On 23 August 2011 14:45, 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 th

Re: VRF/MPLS on Linux

2011-08-23 Thread Dan White
On 23/08/11 13:45 +, na...@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 wonde

Re: VRF/MPLS on Linux

2011-08-23 Thread Sergey V . Lobanov
Hello, I implemented it via dot1q vlans+iproute2+iptables. Description can be found at http://forum.nag.ru/forum/index.php?showtopic=57082&st=0&p=501082&#entry501082 . Please use the Google translator to translate from Russian to English. 23.08.2011, 17:45, na...@rhemasound.org: > While I have

RE: VRF/MPLS on Linux

2011-08-23 Thread Nathan Eisenberg
> 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. >

Re: VRF/MPLS on Linux

2011-08-23 Thread Brian Raaen
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 deve

Re: VRF/MPLS on Linux

2011-08-23 Thread Denys Fedoryshchenko
On Tue, 23 Aug 2011 09:50:30 -0400, Jared Mauch wrote: On Aug 23, 2011, at 9:45 AM, na...@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 dev

Re: VRF/MPLS on Linux

2011-08-23 Thread Jared Mauch
On Aug 23, 2011, at 9:45 AM, na...@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,

VRF/MPLS on Linux

2011-08-23 Thread nanog
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