[Click] Problem sending VLAN tagged packets
Eddie Kohler
kohler at cs.ucla.edu
Wed Feb 14 02:16:52 EST 2007
My guess this is a bug in Linux or the underlying operating system. You're
using userlevel ToDevice; the element has no idea of any "maximum length", it
just reports errors returned by the send() system call. So someone somehwere
forgot that VLAN-enabled packet socket interfaces have a different MTU than
plain ol ethernet.
E
Nicholas Weaver wrote:
> Stupid error (probably) on my part somewhere...
>
> OK, I'm trying to add a VLAN tag on all packets. Of course, for MTU
> packets, this adds 4 bytes.
>
> So I'm getting a bunch of
> ToDevice(eth5) send: Message too long
> errors from these now "overlength" packets.
>
> However, these are NOT overlength, as MTU for ethernet is +4 bytes for
> VLAN tagged packets. Suggestions?
>
More information about the click
mailing list