From owner-freebsd-net@FreeBSD.ORG Thu May 28 12:14:26 2009 Return-Path: <owner-freebsd-net@FreeBSD.ORG> 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 3EA5E106564A for <freebsd-net@freebsd.org>; Thu, 28 May 2009 12:14:26 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mail.giulioferro.it (mail.giulioferro.it [85.18.102.52]) by mx1.freebsd.org (Postfix) with ESMTP id EF1068FC20 for <freebsd-net@freebsd.org>; Thu, 28 May 2009 12:14:25 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from localhost (localhost [127.0.0.1]) by mail.giulioferro.it (Postfix) with ESMTP id 2998F33D66; Thu, 28 May 2009 14:16:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at giulioferro.it Received: from mail.giulioferro.it ([127.0.0.1]) by localhost (aurynwork1sv1.giulioferro.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4tuIqyZZ8umZ; Thu, 28 May 2009 14:16:46 +0200 (CEST) Received: from aurynmob2.giulioferro.it (localhost [127.0.0.1]) (Authenticated sender: gferro@giulioferro.it) by mail.giulioferro.it (Postfix) with ESMTP id 755E933D65; Thu, 28 May 2009 14:16:46 +0200 (CEST) Message-ID: <4A1E801C.2090803@zirakzigil.org> Date: Thu, 28 May 2009 14:14:20 +0200 From: Giulio Ferro <auryn@zirakzigil.org> User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: freebsd-net@freebsd.org, archie@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 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 <freebsd-net.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 28 May 2009 12:14:26 -0000 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...