From owner-freebsd-net@FreeBSD.ORG Thu May 28 12:39:53 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 B920B1065670; Thu, 28 May 2009 12:39:53 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 337D48FC1B; Thu, 28 May 2009 12:39:51 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vhoffman.lon.namesco.net (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.3/8.14.0) with ESMTP id n4SCdvoZ058529 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 28 May 2009 13:39:59 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4A1E8612.9000802@unsane.co.uk> Date: Thu, 28 May 2009 13:39:46 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 MIME-Version: 1.0 To: Giulio Ferro References: <4A1E801C.2090803@zirakzigil.org> In-Reply-To: <4A1E801C.2090803@zirakzigil.org> X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, archie@freebsd.org Subject: Re: NIC teaming with VLANs does't work 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: Thu, 28 May 2009 12:39:54 -0000 On 28/5/09 13:14, Giulio Ferro wrote: > Freebsd 7.2 amd64 recently updated. > > I want to aggregate the two nics on my server (em0 and em1) in a single > fec interface (so if one nick / switch is down, the other takes over). > On this interface I want to build vlans. > > Here is the networking section of my /etc/rc.conf: > > ------------------------------------------------------------------------------ > > fec_interfaces="fec0" > fecconfig_fec0="em0 em1" > ifconfig_fec0="inet 192.168.28.24 netmask 255.255.255.0" > > cloned_interfaces="vlan30 vlan40 vlan50" > ifconfig_vlan30="inet 192.168.30.10 netmask 255.255.255 vlan 30 > vlandev fec0" > ifconfig_vlan30_alias0="inet 192.168.30.11 netmask 255.255.255.255" > ifconfig_vlan30_alias1="inet 192.168.30.12 netmask 255.255.255.255" > ifconfig_vlan30_alias2="inet 192.168.30.13 netmask 255.255.255.255" > ifconfig_vlan40="inet 192.168.40.10 netmask 255.255.255.0 vlan 40 > vlandev fec0" > ifconfig_vlan50="inet 192.168.50.10 netmask 255.255.255.0 vlan 50 > vlandev fec0" > > ------------------------------------------------------------------------------ > > > When I launch this configuration the vlans are created correctly and I > see them as active. > But when I try to ping other hosts in those vlans, the connection > doesn't succeed. > > This is what happens in details: > 1) The box is able to arp-request the IPs of other hosts on the > chosen vlan (es. vlan40) > 2) The IP packets from other hosts show up correctly on vlan40 (seen > with tcpdump) > 3) The box doesn't seem to be able to send IP packets to other hosts, > even though I can > see them leaving from vlan40 on my host (with tcpdump) > > I've tried with bce nics with the same result. > > Any help is appreciated. I'm available for tests, patches, and so on... Possibly try lagg(4) instead? this supports fec and lacp. Vince > _______________________________________________ > 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"