Subject: Re: [vserver] source IP messed up on multihomed guest with 2.6.38.6-vs2.3.0.37-rc15
From: Thomas Weber <l_vserver@mail2news.4t2.com>
Date: Wed, 01 Jun 2011 00:02:20 +0200

Am Dienstag, den 31.05.2011, 19:30 +0200 schrieb Herbert Poetzl:
> On Tue, May 31, 2011 at 12:52:08PM +0200, Thomas Weber wrote:
> 
> > Am Dienstag, den 31.05.2011, 09:47 +0200 schrieb Daniel Hokka
> > Zakrisson:
> 
> >>> what i did inside the guest: # ping -n 192.168.1.10
> 
> >>> Attached the logs of both 2 kernel versions, the 2.6.37* one
> >>> is the working one. I'd say the netmasks in v4_addr_match /
> >>> ip_v4_find_src are incorrect for the 2.6.38* one.
> 
> >> Yeah, exactly.
> >> http://people.linux-vserver.org/~dhozac/p/k/delta-ipv4src-fix02.diff 
> >> should fix your issue.
> 
> > confirmed. please include. 
> 
> done!

Thanks.

I don't have the slightest idea about the code - nor do i use ipv6 on
these boxes, but could you check vc_net_add_ipv6() also? The changes
there look similar to me.

  Tom