From owner-freebsd-net@FreeBSD.ORG Mon Dec 22 21:11:26 2008 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 1A6AF106564A for ; Mon, 22 Dec 2008 21:11:26 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from aurynhome1sv1.zirakzigil.org (mail.zirakzigil.org [82.63.178.63]) by mx1.freebsd.org (Postfix) with SMTP id 486DC8FC1A for ; Mon, 22 Dec 2008 21:11:24 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: (qmail 2510 invoked by uid 98); 22 Dec 2008 20:44:42 -0000 Received: from 192.168.229.11 by aurynhome1sv1.zirakzigil.org (envelope-from , uid 89) with qmail-scanner-1.25 ( Clear:RC:1(192.168.229.11):. Processed in 0.034844 secs); 22 Dec 2008 20:44:42 -0000 X-Qmail-Scanner-Mail-From: auryn@zirakzigil.org via aurynhome1sv1.zirakzigil.org X-Qmail-Scanner: 1.25 (Clear:RC:1(192.168.229.11):. Processed in 0.034844 secs) Received: from unknown (HELO aurynhome1ws2.zirakzigil.org) (postmaster@zirakzigil.org@192.168.229.11) by 0 with SMTP; 22 Dec 2008 20:44:41 -0000 Message-ID: <494FFC34.9020600@zirakzigil.org> Date: Mon, 22 Dec 2008 21:44:36 +0100 From: Giulio Ferro User-Agent: Thunderbird 2.0.0.0 (X11/20070513) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ng_fec and vlan 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, 22 Dec 2008 21:11:26 -0000 I've tried (without too much effort, I admit...) to create vlan interfaces using a fec device as parent. It was something like this: ... fec_interfaces="fec0" fecconfig_fec0="re1 re2" ifconfig_fec0="inet 192.168.0.1 netmask 255.255.255.0" ... cloned_interfaces="vlan1 vlan2 vlan3 ..." ifconfig_vlan1="inet 192.168.1.1 netmask 255.255.255.0 vlan 1 vlandev fec0" ifconfig_vlan2="inet 192.168.2.1 netmask 255.255.255.0 vlan 2 vlandev fec0" ifconfig_vlan3="inet 192.168.3.1 netmask 255.255.255.0 vlan 3 vlandev fec0" ... freebsd 7 stable (recent) amd64 Result: I see the vlan interfaces up and active, but they neither transmit nor receive. By using tcpdump on the vlan ifaces I can see the arp packets leaving when I try to ping a host on the same vlan, but they are unanswered. The switch has been configured correctly, since the same vlans work using either re1 or re2 as parent. Any idea?