From owner-freebsd-net@FreeBSD.ORG Wed Mar 12 21:20:48 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 2ED0E1065674 for ; Wed, 12 Mar 2008 21:20:48 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from websrv01.jr-hosting.nl (websrv01.jr-hosting.nl [78.47.69.233]) by mx1.freebsd.org (Postfix) with ESMTP id E9AB88FC1E for ; Wed, 12 Mar 2008 21:20:47 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from localhost ([127.0.0.1] helo=galain.elvandar.org) by websrv01.jr-hosting.nl with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JZYNR-000CRx-AF; Wed, 12 Mar 2008 21:20:45 +0000 Received: from 195.64.94.120 (SquirrelMail authenticated user remko) by galain.elvandar.org with HTTP; Wed, 12 Mar 2008 22:20:45 +0100 (CET) Message-ID: <55002.195.64.94.120.1205356845.squirrel@galain.elvandar.org> In-Reply-To: References: <47D7C34E.8060805@zirakzigil.org> Date: Wed, 12 Mar 2008 22:20:45 +0100 (CET) From: "Remko Lodder" To: "Sean Chittenden" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-net@freebsd.org, Giulio Ferro Subject: Re: VLAN trunking and fragmentation X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: remko@elvandar.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 21:20:48 -0000 On Wed, March 12, 2008 8:38 pm, Sean Chittenden wrote: >> interface ethernet 1/g1 >> switchport mode trunk >> switchport trunk allowed vlan add 10 >> exit > > I think this is an issue with default VLAN membership. I have this > config running on *hundreds* of servers without issue. Since Dell > should be a cisco rip-off, on your switchport config, throw in > (haven't tested this, on dell's CLI): > > switchport trunk encapsulation dot1q > > then change your ifconfig foo to: > > cloned_interfaces="vlan10 vlan11" > ifconfig_re0="media 100baseTX mediaopt full-duplex" > ifconfig_vlan10="vlan 10 vlandev re0" > ifconfig_vlan10_alias0="inet 192.168.60.1 netmask 255.255.255.0" > ifconfig_vlan11="vlan 11 valndev re0" > ifconfig_vlan11_alias0="inet 192.168.100.1 netmask 255.255.255.0" > > FWIW, I think you'll find fewer gray hairs if you stick to the > convention of using a vlan device that has the same VLAN tag. You may > be able to have a default VLAN, but I consider it poor practice to > rely on default VLAN membership. > > There are good reasons to have a default VLAN configured, but this > doesn't sound like one of those cases. > > Stick with explicit VLAN tagging on your servers and you can't go wrong. > > -sc > > -- > Sean Chittenden > sean@chittenden.org > http://sean.chittenden.org/ > For what it's worth: I am using the above setup a lot and that works fine for me! -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News