From owner-freebsd-net@FreeBSD.ORG Mon Jul 20 11:30:45 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D64F61065672 for ; Mon, 20 Jul 2009 11:30:45 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id 69D0D8FC1F for ; Mon, 20 Jul 2009 11:30:45 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-067-251-189.pools.arcor-ip.net [88.67.251.189]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MKsym-1MSqsi3KAB-000ZH2; Mon, 20 Jul 2009 13:18:08 +0200 Received: (qmail 61869 invoked from network); 20 Jul 2009 11:18:08 -0000 Received: from kvm.laiers.local (HELO kvm.localnet) (192.168.4.200) by ns1.laiers.local with SMTP; 20 Jul 2009 11:18:08 -0000 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Mon, 20 Jul 2009 13:18:07 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.30-ARCH; KDE/4.2.4; x86_64; ; ) References: <4A638E76.2060706@shrew.net> <4A63A4B3.6090500@modulus.org> <3D3254E2-4E45-4C67-84D2-DB05660D768F@shrew.net> In-Reply-To: <3D3254E2-4E45-4C67-84D2-DB05660D768F@shrew.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907201318.08122.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1839uvmhkh3hXCcxHN334jcwddK5g05dh1xz86 NcfNqOvVMNLu3qcuMH0bKoqPhO485nAhKgh9nRr/YMgEm7nmBX W+4gY0LlhT/rWVh6UCvQw== Cc: Matthew Grooms , Andrew Snow Subject: Re: FreeBSD + carp on VMWare ESX X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 11:30:46 -0000 On Monday 20 July 2009 01:25:03 Matthew Grooms wrote: > The other options you mention are enabled by default. This problem > also effects pre vSphere versions but only under certain > circumstances. Others claim this is only an issue when NIC teaming is > in use. However, I disabled this feature and still experience the > problem without the patch applied. > > I'll be happy to post the config when I'm back in front of the > computer. It's not a configuration problem. I'm not new to FreeBSD or > carp and have quite a bit of time invested trying to get this to work. > > Have a look at the vmware forums. A lot of folks have reported the > problem in great detail and, as far as I can tell, have yet to get > this working. There is clearly something very wrong with how the vswitch works and it's not really FreeBSD's job to work around these issues. The patch you posted is rather intrusive and certainly not something we want in the tree. You should talk to VMWare's support to fix the obvious short-comings in the vswitch design. As for your patch - you want "IF_ADDR_[UN]LOCK(ifp);" around walking the address list. Don't forget to unlock before the return. > -Matthew > > On Jul 19, 2009, at 5:56 PM, Andrew Snow wrote: > > Matthew Grooms wrote: > >> I was having problems running carp on VMWare ESX 4 and did a little > >> investigative work to determine the cause of the problem. > > > > If have tested CARP on ESX 3.5u4 successfully with a 32-bit FreeBSD > > guest with e1000 vNICs. > > > > As well as turning on promiscuous mode on the vSwitch, you have to > > enable "MAC Address changes" and "Forged transmits" as CARP requires > > these to work properly. > > > > Unless this is a vSphere-specific problem I must suspect your > > configuration as the problem. Do you want to post your CARP config? > > > > > > - Andrew > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > !DSPAM:4a63ab81519501271912576! -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News