Skip to contentSkip to conversation

new gretap, bridging and mtu

Bridge Jonathan Thibault 2 participants 2 messages Jan 6, 2009 – Jan 7, 2009 Ethernet bridge

lore
Share & tools
lore
#0 lore raw

Greetings all,

I've setup a new gretap device as per Herbert Xu's new patches and it works as expected for smaller MTU. I'm wondering if gretap tunnels handle fragmentation at all or if this might be a bridge related issue.

The same setup works quite well if I use vtun with a tap device however, so while this isn't entirely bridge-related, Maybe someone here might have experienced the same problem or might have insight as to what's causing the problem. I imagine this might be more of an inherent limitation in gretap than a bug but as I am not to good with coding, I figured I'd ask smarter people ;)

network1 box1 network2
box2 network1
801.2q (1504 bytes max) <-> (eth1-br0-gretap eth0) <-> (eth0 gretap-br0-eth1) <-> 801.2q (1504 bytes max)

Jonathan

#1 lore raw
Quoted 5 lines · Jonathan Thibault

network1 box1 network2 box2
network1
801.2q (1504 bytes max) <-> (eth1-br0-gretap eth0) <-> (eth0 gretap-br0-eth1) <-> 801.2q (1504 bytes max)

gretap should handle fragmentation in the same way as IP over GRE. The default for both is to disable fragmentation. You need to configure your tunnel to enable fragmentation by disabling PMTU if you want to use a larger MTU.

Cheers,

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt