From owner-freebsd-net@FreeBSD.ORG Wed Mar 12 21:30:01 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 CB172106566C for ; Wed, 12 Mar 2008 21:30:01 +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 D744B8FC1D for ; Wed, 12 Mar 2008 21:30:00 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: (qmail 55054 invoked by uid 98); 12 Mar 2008 21:30:00 -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.047782 secs); 12 Mar 2008 21:30:00 -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.047782 secs) Received: from unknown (HELO aurynhome1ws2.zirakzigil.org) (postmaster@zirakzigil.org@192.168.229.11) by 0 with SMTP; 12 Mar 2008 21:29:59 -0000 Message-ID: <47D84B52.5020607@zirakzigil.org> Date: Wed, 12 Mar 2008 22:29:54 +0100 From: Giulio Ferro User-Agent: Thunderbird 2.0.0.0 (X11/20070513) MIME-Version: 1.0 To: Sean Chittenden References: <47D7C34E.8060805@zirakzigil.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: VLAN trunking and fragmentation 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: Wed, 12 Mar 2008 21:30:01 -0000 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 don't think it's where the problem lies, otherwise even a simple ping wouldn't work. The problem here explicitly arises when packets are fragmented... > switchport trunk encapsulation dot1q > There's no such option, I believe it's implicit in the trunk mode... > 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" > Apart from vlan names, this configuration is equivalent to mine... > There are good reasons to have a default VLAN configured, but this > doesn't sound like one of those cases. I have no default vlan. Thanks for your answer.