Router mode and MAC addresses

Etienne Dechamps etienne at edechamps.fr
Mon Jul 15 13:40:26 CEST 2013


On 14/07/2013 23:31, Guus Sliepen wrote:
>> - Looking at the code, it appears that tinc is always sending each
>> packet with its Ethernet header, even if tinc is operating in router
>> mode. It is my understanding that in router mode, all routing is
>> done at the IP level, thus we do not need Ethernet information. This
>> seems like unnecessary overhead.
>
> That's correct. The main reason for this is that the protocol was fixed in tinc
> 1.0. In tinc 1.1, when using the new protocol, the Ethernet header is omitted
> in router mode.

Well, actually, my inquiry was about tinc-1.1pre7. Is there something I 
missed in the code that throws away the Ethernet header before sending 
packets in the current 1.1 branch?

-- 
Etienne Dechamps


More information about the tinc-devel mailing list