Re: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-12 Thread Svatopluk Kraus
Hi, thank you very much for your review and related fixes. On Fri, Aug 12, 2011 at 3:48 AM, Li, Qing qing...@bluecoat.com wrote:  I have no problem with loopback routes when I work with not point-to-point interfaces as I can NOT set same source address on them. However, if the interface is

RE: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-11 Thread Li, Qing
Hi, I've started my work with not point-to-point interfaces and I've found two problems. The first one - snip When I've done more investigation, it looks similar to http://svnweb.freebsd.org/base?view=revisionrevision=201543 So, I propose the following patch. I agree with

Re: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-10 Thread Kevin Lo
On Mon, 2011-08-08 at 16:57 +0200, Svatopluk Kraus wrote: Thanks for committing the fix. I've continued with work on two NIC on same NET. Now, with point-to-point interfaces too and I have more small fixes which I submitted today: http://www.freebsd.org/cgi/query-pr.cgi?pr=159600

RE: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-10 Thread Li, Qing
Hi, I've continued with work on two NIC on same NET. Now, with point-to-point interfaces too and I have more small fixes which I submitted today: http://www.freebsd.org/cgi/query-pr.cgi?pr=159600 The fix is not entirely correct. The rtinitflags() could set RTF_HOST flag when the

Re: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-10 Thread Svatopluk Kraus
Hi, I try to desribe the whole matter. In the simplest case, I have two routers - each with two un-numbered interfaces connected in parallel. Real data flow is managed in hardware. IP layer is used for managing the hardwares, so I only need to be able to communicate with neighbour thru one from

Re: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-09 Thread Svatopluk Kraus
Hi, after more testing of all matter related to two NIC on same net, I just updated my submit http://www.freebsd.org/cgi/query-pr.cgi?pr=159601 The patch I send here yesterday must be updated too. IFA_RTSELF flag must be treat correctly on more places. The new patch is attached and commented

Re: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-08 Thread Svatopluk Kraus
Thanks for committing the fix. I've continued with work on two NIC on same NET. Now, with point-to-point interfaces too and I have more small fixes which I submitted today: http://www.freebsd.org/cgi/query-pr.cgi?pr=159600 http://www.freebsd.org/cgi/query-pr.cgi?pr=159601

Re: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-07 Thread Kevin Lo
Hi Andrew, I just committed Svatopluk's fix to HEAD, thanks! Kevin On Wed, 2011-08-03 at 11:11 -0400, Andrew Boyer wrote: We found and fixed a similar issue with an identical patch. It has been working fine for us under stable/8. Unfortunately I am weeks and weeks behind on

Re: [patch] Problem with two NIC on same NET (in_scrubprefix: err=17, new prefix add failed)

2011-08-03 Thread Andrew Boyer
We found and fixed a similar issue with an identical patch. It has been working fine for us under stable/8. Unfortunately I am weeks and weeks behind on pushing fixes back to the tree, so you had to duplicate the work. If it can be committed (and MFC'd to 8, please) it would save others the