VLAN problems
Christopher Cowart
ccowart at rescomp.berkeley.edu
Wed Jan 30 09:37:48 PST 2008
On Wed, Jan 30, 2008 at 11:56:10AM -0200, Alexandre Biancalana wrote:
>On 1/30/08, Andrei Kolu <antik at 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
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="up"
| ifconfig_vlan88="inet 10.8.0.2 netmask 0xffffc000 vlan 88
| vlandev fxp1"
| ifconfig_vlan88_alias0="inet 10.8.0.1 netmask 0xffffffff"
| ifconfig_vlan665="inet 169.229.65.132 netmask 0xffffffc0 vlan 665
| vlandev fxp1"
| ifconfig_vlan679="inet 169.229.79.132 netmask 0xffffff80 vlan 679
| 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.
--
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 825 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20080130/0cd3663b/attachment.pgp
More information about the freebsd-net
mailing list