linux-vrf-general Mailing List for Virtual Routing and Forwarding for Linux (Page 5)
Status: Beta
Brought to you by:
jleu
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(3) |
Nov
|
Dec
(1) |
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2006 |
Jan
(14) |
Feb
|
Mar
(5) |
Apr
(12) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(7) |
Oct
(1) |
Nov
(3) |
Dec
(2) |
| 2007 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(6) |
Jul
(5) |
Aug
(9) |
Sep
(2) |
Oct
(15) |
Nov
(4) |
Dec
|
| 2008 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
(12) |
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Steffen M. <sm...@us...> - 2006-01-09 15:21:00
|
Hi, On Wed, 4 Jan 2006, =C0=CC=C1=A4=C8=A3 wrote: > Is it possible one interface can belong to several VR instances > like eth0 on VRF 0, 1, and 2? I only have experience with VRF 0.100 but I think it should be the same in= =20 all versions: No, I don't think it is possible to have one network device= =20 in multiple VRF instances. What would be the semantics of such a=20 configuration? I mean, the device and its VRF ID specify for each incoming= =20 frame by which VRF instance it should be processed. So if you would have=20 more than exactly one ID, which VRF instance should process the frame?=20 Maybe cloning the frame for each instance and thus having some kind of=20 multicast would be possible. I guess, it depends on what you are trying to= =20 achieve. Regards, Steffen. |
|
From: Steffen M. <sm...@us...> - 2006-01-09 15:20:53
|
Hi, On Sun, 8 Jan 2006, Lee Jeong Ho wrote: > Is there any one who knows how many vr instances are supported by > linux vrf? > > in my case I cannot add "ip vrf add 8" and beyond. > 8 is the maximum? No, the maximum is compile time configurable and 8 is the default. Please see this former posting on the same topic: http://sourceforge.net/mailarchive/forum.php?thread_id=7755288&forum_id=142 Regards, Steffen. |
|
From: Lee J. H. <jeo...@co...> - 2006-01-08 11:22:11
|
RGVhciwgYWxsLg0KSXMgdGhlcmUgYW55IG9uZSB3aG8ga25vd3MgaG93IG1hbnkgdnIgaW5zdGFu Y2VzIGFyZSBzdXBwb3J0ZWQgYnkNCmxpbnV4IHZyZj8NCg0KaW4gbXkgY2FzZSBJIGNhbm5vdCBh ZGQgImlwIHZyZiBhZGQgOCIgYW5kIGJleW9uZC4NCjggaXMgdGhlIG1heGltdW0/DQoNCi1KZW9u ZyBIby4NCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0gDQpGcm9tOiAiR2FycnkgR2xlbmRv d24iIDxna2dAZ214LmRlPg0KVG86ICJSaWNoIERBZGRpbyIgPHJpY2hfZGFkZGlvQHlhaG9vLmNv bT4NCkNjOiA8TGludXgtdnJmLWdlbmVyYWxAbGlzdHMuc291cmNlZm9yZ2UubmV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nkbi5jb20vP2FkX2lk PTc2MzcmYWxsb2NfaWQ9MTY4NjUmb3A9Y2xpY2sNCj4gX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX18NCj4gTGludXgtdnJmLWdlbmVyYWwgbWFpbGluZyBsaXN0 DQo+IExpbnV4LXZyZi1nZW5lcmFsQGxpc3RzLnNvdXJjZWZvcmdlLm5ldA0KPiBodHRwczovL2xp c3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0aW5mby9saW51eC12cmYtZ2VuZXJhbA0KPg== |
|
From: Garry G. <gk...@gm...> - 2006-01-07 12:16:12
|
Rich DAddio wrote: > I have been on this list for about a year(I think) and there hasn't been > much action. > > However, lately there does seem to be more interest. > > Testing and contributing might give it some life?? I'd pitch in with some testing efforts, maybe even some supportive programming, but I'm pretty tight on spare time ... -garry |
|
From: Rich D. <ric...@ya...> - 2006-01-05 15:00:50
|
I have been on this list for about a year(I think) and there hasn't been much action. However, lately there does seem to be more interest. Testing and contributing might give it some life?? Best Regards, Rich D Garry <gk...@gm...> wrote: Just a (maybe) stupid question - is linux-vrf still alive? The main info-page linux-vrf.sourceforge.net is like 1 1/2 years old, sourceforge itself doesn't even find it as a project, nor does freshmeat. I'm still looking for a decent way of terminating customer MPLS VRFs on a firewall that will actually work - everything I have found to date was just a POS. Even the Lucent Brick we shelled out quit a bit of $$$ is missing BASIC features without which it is not much more than a brick ... (maybe that's why they chose the name???) I need VRF support in Linux, even if I don't run MPLS but only VLANs, as customers tend to have overlapping unrouted address space... :( Tnx, -gg ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Linux-vrf-general mailing list Lin...@li... https://lists.sourceforge.net/lists/listinfo/linux-vrf-general --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add phot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09PT09PT09PT09DQo+IMfgurnH0SDH9sDnsKEg wcG02SENCj4gDQo+IGRydW5rZW40bXlsaWZlQGhvdG1haWwuY29tICjBtrDmx/YpDQo+IA0KPiAN Cj4gDQo+IA0KPj5Gcm9tOiDAzMGkyKMgPGplb25naG9sZWVAY29zbW9zLmthaXN0LmFjLmtyPg0K Pj5UbzogPExpbnV4LXZyZi1nZW5lcmFsQGxpc3RzLnNvdXJjZWZvcmdlLm5ldD4NCj4+U3ViamVj dDogW0xpbnV4LXZyZi1nZW5lcmFsXSBRdWVzaW9uIG9uIFZSRg0KPj5EYXRlOiBUaHUsIDUgSmFu IDIwMDYgMTU6NDA6MDIgKzA5MDANCj4+DQo+PkhpIGFsbC4NCj4+DQo+PkxpbnV4IFZSRiBjYW4g c3VwcG9ydCBNUExTPw0KPj4NCj4+SSBtZWFuIHRoYXQgb25lIFZSRiBydW4gemVicmEsIGFuZCBh bm90aGVyIFZSRiBydW4gTVBMUyBMRFAgb3IgUlNWUC1URT8NCj4+DQo+PlRoYW5rcw0KPj4tIEpl b25nIEhvLg0KPg== |
|
From: Garry <gk...@gm...> - 2006-01-05 07:58:49
|
Just a (maybe) stupid question - is linux-vrf still alive? The main info-page linux-vrf.sourceforge.net is like 1 1/2 years old, sourceforge itself doesn't even find it as a project, nor does freshmeat. I'm still looking for a decent way of terminating customer MPLS VRFs on a firewall that will actually work - everything I have found to date was just a POS. Even the Lucent Brick we shelled out quit a bit of $$$ is missing BASIC features without which it is not much more than a brick ... (maybe that's why they chose the name???) I need VRF support in Linux, even if I don't run MPLS but only VLANs, as customers tend to have overlapping unrouted address space... :( Tnx, -gg |
|
From: Cho K. H. <dru...@ho...> - 2006-01-05 07:45:56
|
of course, it is possible. i've run zebra(which is now quagga) with linux-vrf. mpls, however, needs some hands-on works to run with linux-vrf as mpls requires mpls forwarder inside the linux kernel. i'm not sure about current linux-mpls forwarders interacting smoothly with linux-vrf. ========================== 행복한 현재가 좋다! dru...@ho... (조경현) >From: 이정호 <jeo...@co...> >To: <Lin...@li...> >Subject: [Linux-vrf-general] Quesion on VRF >Date: Thu, 5 Jan 2006 15:40:02 +0900 > >Hi all. > >Linux VRF can support MPLS? > >I mean that one VRF run zebra, and another VRF run MPLS LDP or RSVP-TE? > >Thanks >- Jeong Ho. |
|
From: <jeo...@co...> - 2006-01-05 06:40:31
|
SGkgYWxsLg0KDQpMaW51eCBWUkYgY2FuIHN1cHBvcnQgTVBMUz8NCg0KSSBtZWFuIHRoYXQgb25l IFZSRiBydW4gemVicmEsIGFuZCBhbm90aGVyIFZSRiBydW4gTVBMUyBMRFAgb3IgUlNWUC1URT8N Cg0KVGhhbmtzDQotIEplb25nIEhvLg== |
|
From: <jeo...@co...> - 2006-01-03 15:33:14
|
RGVhciwgYWxsLg0KSSBhbSBjb25maWd1cmluZyBsaW51eCBWUi4NCkkgaGF2ZSBhIHFlc3Rpb24u DQoNCklzIGl0IHBvc3NpYmxlIG9uZSBpbnRlcmZhY2UgY2FuIGJlbG9uZyB0byBzZXZlcmFsIFZS IGluc3RhbmNlcw0KbGlrZSBldGgwIG9uIFZSRiAwLCAxLCBhbmQgMj8NCg0KLSBKZW9uZyBIby4= |
|
From: Pramod S. <pr...@ju...> - 2005-12-28 00:16:18
|
Hi Folks, I am experimenting with linux vrf support, just checking if any one has a patch for vrf support on a later linux release (> 2.6.8). Apparently my tool chain (gcc - 4.0.1) does not like the way some files are coded in 2.6.8, I have to either get older version of the tool chain or bring in the vrf patch to a later version of linux. Any help greatly appreciated. Thanks, Pramod |
|
From: Chinian W. <ch...@no...> - 2005-07-29 09:27:36
|
Sorry for my poor English first. The linux box has 2 VLANs and 2 VRFs. The IP addr binded in 2 vlans is the same 192.168.0.1. The linux box is connected to a Nortel Shasta. Shasta can ping both 192.168.0.1 without any problem. but only one VRF in linux can ping Shasta. My question is can we use the same IP addr in the VLAN/VRF environment. Appreciated!! Chinian Wang |
|
From: Rich D. <ric...@ya...> - 2005-07-11 12:42:09
|
Is this mail list currently active? Thanks, Rich D ____________________________________________________ Sell on Yahoo! Auctions no fees. Bid on great items. http://auctions.yahoo.com/ |
|
From: Deepa H. <de...@in...> - 2005-05-17 22:17:46
|
Hi, From the site http://sourceforge.net/projects/linux-vrf/ I installed kernel-2.6.8-1.521vrf.i686.rpm , iproute-2.4.7-14vrf.i386 = and glibc-kernheaders-2.4-8.44.i386 on top of a=20 2.6.9-1.667 kernel. After this I was able to use the ip vrf feature.=20 But I repeated the same procdure on a diffrent Linux PC with same kernel = version. I could not use the ip vrf feature. It gives me the following error : ip vrf Cannot send dump request: Invalid arguement ip vrf add 2 Cannot talk to rtnetlink: Invalid arguement. Does anybody know why I am getting this error ? How do I fix this ? Thanks and Regards, Deepa |
|
From: Deepa H. <de...@in...> - 2005-04-26 20:08:57
|
Hello James, I want to use the latest VRF release on Kernel 2.4.20 But the patches provided are for 2.6.8.1.=20 Are there any patches available for the latest .900 release for 2.4.20 = Kernel ? If not, what is the procedure for creating a patch for 2.4.20 and are = there any issues ? Regards, Deepa |
|
From: Deepa H. <de...@in...> - 2005-04-22 01:00:09
|
Hello James=20 I want to simulate 100 PC's, each behind a different router and send = traffic to a Device Under Test ( this is a router ) . Is this possible = using the VRF ? Could you suggest steps to do this ? Thanks, Deepa. |
|
From: <bla...@in...> - 2004-12-25 21:31:57
|
hi;) i'm trying to test vpn base mpls on uml. as i know that vrf on pe(is it right??). i want to ask u about this simple figure: CNet|----CE1----PE----SP CORE-----PE---------CE2---|CNet from above, sp core is MPLS domain, PE use VRF for VPN(dosn't use mpls-linux), and CE just common router doesn't use mpls. is it right?? i'm really slow at learning;( gv me few ilustration about how to built vpn-base mpls with vfr-linux and mpls-linux,pls. i'll test it with uml ofcourse;) does anyone have any documentation or maybe urls 4 me?? i'm sorry... i still confuse. |
|
From: James R. L. <jl...@mi...> - 2004-10-26 14:19:50
|
I have two projects, mpls-linux and linux-vrf. Currently they do not work together. So the short answer is that you currently cannot implement MPLS VPNs with my software. On Tue, Oct 26, 2004 at 06:43:49PM +0500, Irfan Azher wrote: > Hi James, > I need help in implementing a simple senario of mpls vpn, It is a > project whcih i have to submit next week. First i was trying to do > this with cisco routers but my cisco box donot have enough ram and > flash for its huge IOS. > > The senario state that there are two customers, A and B using same > Service provider who is providing the mpls vpn through VRF. Customer A > and B are using same Ip addressing scheme. > > Now i have to demonstrate my teacher that the Customer A and Customer > B are completely isolated and in no way customer A can know about > Customer B Network. > > > > > ------- ------- > |Cust A | |Cust B | > ------- ------- > | | > | | > | | > | | > -------- -------- > | mpls 1 |---------------- -------| mpls2 | > -------- -------- > | | > | | > | | > | | > ------- ------- > |Cust B | |Cust A | > ------- ------- > > > here MPLS cloud is from mpls1 to mpls2. Some part of Customer A > network is on connected to router > > mpls1 and some part is to mpls2 router, same is the case for Customer B. > > Now can this be done by the help of the current implementation of > linux-vrf, so that i can be able to demostrate. > > More to understand the working of the MPLS VRF machenism what > materials and documantation i have to study. > > > Thanks in Advace > > Irfan Azher -- James R. Leu jl...@mi... |
|
From: Irfan A. <irf...@gm...> - 2004-10-26 13:43:58
|
Hi James, I need help in implementing a simple senario of mpls vpn, It is a project whcih i have to submit next week. First i was trying to do this with cisco routers but my cisco box donot have enough ram and flash for its huge IOS. The senario state that there are two customers, A and B using same Service provider who is providing the mpls vpn through VRF. Customer A and B are using same Ip addressing scheme. Now i have to demonstrate my teacher that the Customer A and Customer B are completely isolated and in no way customer A can know about Customer B Network. ------- ------- |Cust A | |Cust B | ------- ------- | | | | | | | | -------- -------- | mpls 1 |---------------- -------| mpls2 | -------- -------- | | | | | | | | ------- ------- |Cust B | |Cust A | ------- ------- here MPLS cloud is from mpls1 to mpls2. Some part of Customer A network is on connected to router mpls1 and some part is to mpls2 router, same is the case for Customer B. Now can this be done by the help of the current implementation of linux-vrf, so that i can be able to demostrate. More to understand the working of the MPLS VRF machenism what materials and documantation i have to study. Thanks in Advace Irfan Azher |
|
From: James R. L. <jl...@mi...> - 2004-10-04 16:42:03
|
On Mon, Oct 04, 2004 at 09:54:54AM +0000, Massimo Magnani wrote:
> Hi James, I am Massimo Magnani from Italy, and I am testing linux MPLS
> and VRF.
>
> First of all, sorry if I mail you directly.
That is ok. I would prefer you contact me via the mailing list, but that
is just so that others can see what you're working on.
(I've CC'ed the lists)
I plan on creating a development tree which will contain the latest MPLS, VRF,
and L2CC code. I will probably be releasing this as a seperate RPM and
patch.
I the mean time, change mpls4_nexthop_resolve() to look like this:
static int mpls4_nexthop_resolve(struct neighbour **np, struct sockaddr *sock_addr, int oif)
{
struct sockaddr_in *addr = (struct sockaddr_in *) sock_addr;
u32 saddr = addr->sin_addr.s_addr;
struct flowi fl = { .oif = oif,
.nl_u = { .ip4_u = { .daddr = saddr } } };
struct rtable *rp;
unsigned char vrf = 0;
int err;
if (addr->sin_family != AF_INET)
return -EINVAL;
if ((dev = dev_get_by_index(oif)))
vrf = dev->vrf;
if (inet_addr_type(vrf, saddr) != RTN_UNICAST)
return -EINVAL;
fl.vrf = vrf;
err = __ip_route_output_key(&rp, &fl);
if (err)
return err;
/* If routing cache stops to automatically bind output routes
* to ARP cache, we will have to make arp_bind_neighbour() ourselves.
*/
if (!rp->u.dst.neighbour)
BUG();
*np = neigh_clone(rp->u.dst.neighbour);
ip_rt_put(rp);
return err;
}
Even with the above hack, you will lack the ability to map traffic from an
LSP into a VRF. For that you will need to implement an 'instruction'. Look
in linux/net/mpls/mpls_opcode.c for examples. The new instruction will
need to set the 'vrf' field on a skb.
> I patched my kernel 2.6.8.1 with your mpls patch and everything has been
> working fine. Then I read that you also have written some code to
> implement VRF on linux, so I wanted to test this functionality too.
>
> I patched my kernel again, and I had a compilation problem with mpls4.c,
> maybe because in include/net/route.h the struct inet_addr_type now has
> also a vrf 'field' (sorry but I don't know almost anything about C
> programming...)
>
> I modified the mpls4.c file - I added a 'unsigned char vrf' in line 289
> 'static int mpls4_nexthop_resolve(struct neighbour **np, struct sockaddr
> *sock_addr, int oif, unsigned char vrf), and in line 303 if
> (inet_add_type(vrf, saddr) != RTN_UNICAST) - and now I can compile the
> kernel again.
>
> I don't know if these two modifications are correct, and moreover, I
> think that I could fill the vrf variable with some value, but I don't
> know where to take that value!
>
> I mean I think I should have a vrf = something, but I don't know what
> 'something' is!
>
> Thank you in advance, sorry to have bothered you.
>
> Best regards.
>
> Massimo Magnani
--
James R. Leu
jl...@mi...
|
|
From: Mats Y. <ma...@yd...> - 2004-09-29 12:20:32
|
Hi, I'm running this new 0.900 and are pleased with the functionality. Running FC2 with all of your rpm's. I migth have missed something but I can only create vrf 1-7 but no more. Is there any VRF limit? If so could it be tuned? Thanks Mats . > This release moves to kernel 2.6.8.1. It also does away with the 'vrfadm' > util and uses netlink exclusively for configuration. The release > re-organizes > the handling of UDP and TCP sockets. The result is that less code had to > be > changed, which will hopefully correspond to less bugs. It also attempts to > 'filter' information presented to processes that are associated to > non-zero > VRFs. > > By using the 'chvrf' utility any process can be run 'in' a VRF. The > aforementioned filtering will only allow the process to 'see' routes and > interfaces that are assigned to the same VRF. > > This release also has the first attempt at adding VRF support to IPv6. > It's > not complete, but it compiles and does not break when adding IPv6 > addresses. > > Goto > http://sourceforge.net/project/showfiles.php?group_id=37027&package_id=29310&release_id=271116 > to see the files available with this release. All RPMS > are created for a Fedora Core 2 system. > > Check out http://linux-vrf.sourceforge.net/ for examples of howto use. > > -- > James R. Leu > jl...@mi... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > linux-vrf-core mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-vrf-core > |
|
From: James R. L. <jl...@mi...> - 2004-09-28 04:30:20
|
This release moves to kernel 2.6.8.1. It also does away with the 'vrfadm' util and uses netlink exclusively for configuration. The release re-organizes the handling of UDP and TCP sockets. The result is that less code had to be changed, which will hopefully correspond to less bugs. It also attempts to 'filter' information presented to processes that are associated to non-zero VRFs. By using the 'chvrf' utility any process can be run 'in' a VRF. The aforementioned filtering will only allow the process to 'see' routes and interfaces that are assigned to the same VRF. This release also has the first attempt at adding VRF support to IPv6. It's not complete, but it compiles and does not break when adding IPv6 addresses. Goto http://sourceforge.net/project/showfiles.php?group_id=37027&package_id=29310&release_id=271116 to see the files available with this release. All RPMS are created for a Fedora Core 2 system. Check out http://linux-vrf.sourceforge.net/ for examples of howto use. -- James R. Leu jl...@mi... |
|
From: Jorge B. [DTI2] <jo...@dt...> - 2003-01-13 13:16:26
|
Hi James, I did this patch because it seemed simple enough and using the
"onlink" flag was sort of a hack. Could you tell me if you see any
drawbacks?
diff -X /root/diff-no-incluir -uNr iproute-20010824/ip/iproute.c
iproute-20010824-jorge/ip/iproute.c
--- iproute-20010824/ip/iproute.c Tue Dec 17 21:31:58 2002
+++ iproute-20010824-jorge/ip/iproute.c Sat Jan 4 19:27:53 2003
@@ -63,7 +63,7 @@
fprintf(stderr, "TABLE_ID := [ local | main | default | all |
NUMBER ]\n");
fprintf(stderr, "SCOPE := [ host | link | global | NUMBER ]\n");
fprintf(stderr, "FLAGS := [ equalize ]\n");
- fprintf(stderr, "NHFLAGS := [ onlink | pervasive ]\n");
+ fprintf(stderr, "NHFLAGS := [ onlink | pervasive | global ]\n");
fprintf(stderr, "RTPROTO := [ kernel | boot | static | NUMBER ]\n");
exit(-1);
}
@@ -361,6 +368,8 @@
fprintf(fp, "onlink ");
if (r->rtm_flags & RTNH_F_PERVASIVE)
fprintf(fp, "pervasive ");
+ if (r->rtm_flags & RTNH_F_GLOBAL)
+ fprintf(fp, "global ");
if (r->rtm_flags & RTM_F_EQUALIZE)
fprintf(fp, "equalize ");
if (r->rtm_flags & RTM_F_NOTIFY)
@@ -557,6 +566,8 @@
fprintf(fp, " onlink");
if (nh->rtnh_flags & RTNH_F_PERVASIVE)
fprintf(fp, " pervasive");
+ if (nh->rtnh_flags & RTNH_F_GLOBAL)
+ fprintf(fp, " global");
len -= NLMSG_ALIGN(nh->rtnh_len);
nh = RTNH_NEXT(nh);
}
@@ -591,6 +602,8 @@
rtnh->rtnh_hops = w - 1;
} else if (strcmp(*argv, "onlink") == 0) {
rtnh->rtnh_flags |= RTNH_F_ONLINK;
+ } else if (strcmp(*argv, "global") == 0) {
+ rtnh->rtnh_flags |= RTNH_F_GLOBAL;
} else
break;
}
@@ -808,6 +822,8 @@
addattr32(&req.n, sizeof(req), RTA_FLOW, realm);
} else if (strcmp(*argv, "onlink") == 0) {
req.r.rtm_flags |= RTNH_F_ONLINK;
+ } else if (strcmp(*argv, "global") == 0) {
+ req.r.rtm_flags |= RTNH_F_GLOBAL;
} else if (matches(*argv, "equalize") == 0 ||
strcmp(*argv, "eql") == 0) {
req.r.rtm_flags |= RTM_F_EQUALIZE;
diff -X /root/diff-no-incluir -uNr
.../kernel/linux-2.4.20pre11/include/linux/rtnetlink.h
linux-2.4.20pre11-jorge/include/linux/rtnetlink.h
--- ../kernel/linux-2.4.20pre11/include/linux/rtnetlink.h Sat Dec 21
16:02:36 2002
+++ linux-2.4.20pre11-jorge/include/linux/rtnetlink.h Sat Jan 4 19:10:10
2003
@@ -228,6 +230,7 @@
#define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */
#define RTNH_F_PERVASIVE 2 /* Do recursive gateway lookup */
#define RTNH_F_ONLINK 4 /* Gateway is forced on link */
+#define RTNH_F_GLOBAL 8 /* Gateway is on the Default IP RT */
/* Macros to handle hexthops */
diff -X /root/diff-no-incluir -uNr
../kernel/linux-2.4.20pre11/net/ipv4/fib_semantics.c
linux-2.4.20pre11-jorge/net/ipv4/fib_semantics.c
--- ../kernel/linux-2.4.20pre11/net/ipv4/fib_semantics.c Wed Aug 14 20:24:41
2002
+++ linux-2.4.20pre11-jorge/net/ipv4/fib_semantics.c Sat Jan 4 19:08:40
2003
@@ -375,6 +375,10 @@
memset(&key, 0, sizeof(key));
key.dst = nh->nh_gw;
key.oif = nh->nh_oif;
+ if (nh->nh_flags&RTNH_F_GLOBAL)
+ key.vrf = 0;
+ else
+ key.vrf = vrf;
key.scope = r->rtm_scope + 1;
/* It is not necessary, but requires a bit of thinking */
Best regards,
-Jorge
==============================================================
Jorge Boncompte - Tecnico de sistemas
DTI2 - Desarrollo de la Tecnologia de las Comunicaciones
--------------------------------------------------------------
C/ Abogado Enriquez Barrios, 5 14004 CORDOBA (SPAIN)
Tlf: +34 957 761395 / FAX: +34 957 450380
--------------------------------------------------------------
jo...@dt... _-_-_-_-_-_-_-_-_-_-_-_-_-_ http://www.dti2.net
==============================================================
- Sin pistachos no hay Rock & Roll...
- Without wicker a basket cannot be done.
==============================================================
|
|
From: Yon U. <hav...@gm...> - 2002-05-05 17:43:52
|
Hi, I wrote this little utility and kernel patch. The 2nd kernel patch is to allow local sockets to connect to a socket bound to a local non-null VRF. It isnt working but I wanted to post it anyway. HTH, HAND yon |