Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 09:18:26 -0800
From:      Christopher Cowart <ccowart@rescomp.berkeley.edu>
To:        Alexandre Biancalana <biancalana@gmail.com>
Cc:        Andrei Kolu <antik@bsd.ee>, freebsd-net@freebsd.org
Subject:   Re: VLAN problems
Message-ID:  <20080130171826.GE41095@hal.rescomp.berkeley.edu>
In-Reply-To: <8e10486b0801300556o3dfcd25el3511b0f7845d2607@mail.gmail.com>
References:  <8e10486b0801290439y77568aeby6c6dbfbb5132f61d@mail.gmail.com> <479F4C3C.5070801@tomjudge.com> <200801301159.26641.antik@bsd.ee> <8e10486b0801300556o3dfcd25el3511b0f7845d2607@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <antik@bsd.ee> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080130171826.GE41095>