VLAN trunking and fragmentation

Giulio Ferro auryn at zirakzigil.org
Wed Mar 12 14:30:01 PDT 2008


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.


More information about the freebsd-net mailing list