From owner-freebsd-net@FreeBSD.ORG Wed Jan 30 17:37: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 47C9A16A417 for ; Wed, 30 Jan 2008 17:37:48 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id 361C913C465 for ; Wed, 30 Jan 2008 17:37:48 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id 946B43C0450; Wed, 30 Jan 2008 09:18:26 -0800 (PST) Date: Wed, 30 Jan 2008 09:18:26 -0800 From: Christopher Cowart To: Alexandre Biancalana Message-ID: <20080130171826.GE41095@hal.rescomp.berkeley.edu> Mail-Followup-To: Alexandre Biancalana , Andrei Kolu , freebsd-net@freebsd.org References: <8e10486b0801290439y77568aeby6c6dbfbb5132f61d@mail.gmail.com> <479F4C3C.5070801@tomjudge.com> <200801301159.26641.antik@bsd.ee> <8e10486b0801300556o3dfcd25el3511b0f7845d2607@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L5Ks5Ey27iMz7PUy" Content-Disposition: inline In-Reply-To: <8e10486b0801300556o3dfcd25el3511b0f7845d2607@mail.gmail.com> Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Andrei Kolu , freebsd-net@freebsd.org Subject: Re: VLAN problems 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, 30 Jan 2008 17:37:48 -0000 --L5Ks5Ey27iMz7PUy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 30, 2008 at 11:56:10AM -0200, Alexandre Biancalana wrote: >On 1/30/08, Andrei Kolu wrote: >>>Alexandre Biancalana wrote: >>>>This server is an Dell Power Edge 1950, QuadCore 2.83, 2Gb Ram, one >>>>bce gigabit interface connected to a gigabit port of a Cisco 4500 in >>>>trunk mode. >> >>Why you are using trunk mode? IIRC then "trunk" is used only between Cisco >>switches and routers and your server should be in "access" mode. > >I think you don't read the entire thread.... > >I use trunk mode to "pass" more than one vlan to the same port. Do you >have any other idea on how to configure this ? Trunking is definitely what you want. I'm using it successfully=20 between Cisco switches and FreeBSD in a number of places. Here's IOS: | interface GigabitEthernet1/0/8 | description dev-wireless-aux | switchport trunk encapsulation dot1q | switchport trunk native vlan 8 | switchport trunk allowed vlan 88,665,679 | switchport mode trunk | spanning-tree bpduguard enable Here's rc.conf: | ifconfig_fxp1=3D"up" | ifconfig_vlan88=3D"inet 10.8.0.2 netmask 0xffffc000 vlan 88=20 | vlandev fxp1" | ifconfig_vlan88_alias0=3D"inet 10.8.0.1 netmask 0xffffffff" | ifconfig_vlan665=3D"inet 169.229.65.132 netmask 0xffffffc0 vlan 665=20 | vlandev fxp1" | ifconfig_vlan679=3D"inet 169.229.79.132 netmask 0xffffff80 vlan 679=20 | vlandev fxp1" You may have already done so, but make sure your trunk is in dot1q mode. The default trunking protocol is a Cisco proprietary something, if I understand correctly. --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --L5Ks5Ey27iMz7PUy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iQIVAwUBR6CxYiPHEDszU3zYAQImPBAAh5KM1dLl4jfZz0ZA5f8EL/TGU4xBT1kT 85lHdhBb2L7oGS+N3iZsL8cuIKGRP03k7h4geLCeO28X1sEtD1KmR5hrsYhzjPJT 2naCnUV9GAVobVwen76W9tMpD1ITzImru+bd/vkA8Wul29oUBbzS7T6eBewqhfn8 QLWgEuQTxz7vxHP1A7CAqlT2Mu/txwIWtTeTZxJ+EYvZmFn4G8ymBKSqQ3n2EfYx KxZrlKQItduYnR8USpKFVwBVJx8fmQJBVv+C1rjgg0PW1qyXzgwVtmBs+Kz3CB3a ggjxyHngSfVenoVn0LirWsFpIkfk8ysb/XCXRRhul1TzeYaCXw54Ct8GJXZYxtGk 7rzRZdd37K5N73djbg0MSTPeBBXPgdzDYxheYVpon9TakYYl/rYfjnRMfEgnHWRv 7sgjYSMrQbX0TXNMqaNzWxTT5hd4j0VMQ5ulSFFg1Aj1sfzgYF0j/HfHR9akmO7O uRGHOYoc1LMWnn2OV/SksNa7LVamJKvzljTb3Vrjyg81t23LJH71hdTmhjYRP4lU MGh32snhb8ax0oEkxiIrDaCzbhaesb1CF08YW2PZkHd/XH+3Zbs+GDoDl16r6SPA nqEqxOwNCnRiDbuG7jbC6VJxij8LY07rzVnsTL0P3EH8vm5gsfU8T9EhDE56WbQg fCefUMYbSO8= =3otD -----END PGP SIGNATURE----- --L5Ks5Ey27iMz7PUy--