Re: [mpls-linux-general] ip rule and labelspace questions
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-02-19 03:57:37
|
There currently is not an instruction to do this. It is not hard to add (if you coded it up I would include it). All you have to do is set skb->vrf. There is a set_rx intructions that has not been exposed to userland. You could try modifing mplsadm.c to add support for set_rx. Jim On Wed, Feb 18, 2004 at 04:42:59PM +1100, Jon...@cs... wrote: > Dear all, >=20 > It would be much appreciated if you could help me out with these two > (newbie??) questions... >=20 > (1) Using mpls label to map incoming traffic into different vrf: >=20 > I haven't got linux-vrf-0.100 installed but was trying to use "standard" > policy routing in linux (e.g. ip rule add from ip_addr_A dev if_B table > vrf_C) to put incoming traffic into different VRFs. >=20 > Is it possible to use an mpls label (e.g. if_B =3D mpls0) to do the job?? > In the email archive 19/07/2001 subject "MPLS-Linux", James stated > "remember MPLS tunnel interfaces are unidirectional ... They only do TX > no RX". Does it means that I can't do something like "mplsadm -A -B -I > gen:123:0 -T mpls0" to make a mpls tunnel for incoming traffic?? >=20 > Otherwise, is there a way to map mpls label into different routing table > instances (e.g. using linux-vrf)?? >=20 > (2) Interface belonging to multiple labelspaces: >=20 > Is it possible to assign multiple labelspaces to an interface?? Or what > I am trying to do is again the original purpose of labelspace ;o) >=20 > Thanks for your considerations and valuable time... >=20 > Cheers, > Jonathan >=20 > =20 >=20 >=20 > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id438&op?k > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |