vlans changed?

Charlie Schluting charlie at schluting.com
Wed Jan 19 13:47:24 PST 2005


Jon Simola wrote:
> On Wed, 19 Jan 2005 13:01:52 -0800, Charlie Schluting
> <charlie at schluting.com> wrote:
> 
> 
>>Now, in 5.3, the only thing I can get working is to configure the em0 int with
>>the IP, and set the trunk to have the native vlan corresponding to that IP. Weird.
> 
> 
> Sounds like you're not getting the module loaded. By your description
> above, you're no longer sending tagged frames over the trunk.

Except that I've compiled device vlan into the kernel..


> My rc.conf bits:
> 
> ifconfig_em1="up media auto"
> cloned_interfaces="vlan100"
> ifconfig_vlan100="inet xx.xx.xx.254 netmask 0xffffff00 vlan 100 vlandev em1"
> 

Yep, that should work, I know :)

>>Also, is there a way to stop em(4) from stripping dot1q tags in hardware? I'd
>>like to see them with tcpdump. What kind of a performance hit does this involve?
> 
> 
> # tcpdump -c4 -nvvvei em1
> 
> Seems to work fine (it's the -e switch that does it).

Ah, thanks :)

-Charlie



More information about the freebsd-net mailing list