From: Peter Bieringer <pb@bieringer.de>
To: Maillist netdev <netdev@oss.sgi.com>
Subject: IPv6 MTU of a tunnel: 2 different switches, which wins?
Date: Mon, 02 Sep 2002 09:10:19 +0200 [thread overview]
Message-ID: <10010000.1030950619@localhost> (raw)
Hi,
sure here anyone can help me:
Let's say I have an internet connection via PPPoE through ppp0/eth1
MTU eth1: 1500
MTU ppp0: 1492
Over this connection, an IPv6 (named tun6to4) tunnel will be
established. Now I have 2 different switches to adjust the MTU of the
tunnel.
a) using utility ip
b) using sysctl
After unmodified MTU setup:
a)
# ip link show dev tun6to4 | grep -w mtu
42: tun6to4@NONE: <NOARP,UP> mtu 1480 qdisc noqueue
b)
# sysctl -a| grep tun6to4 | grep mtu
net.ipv6.conf.tun6to4.mtu = 1480
But proper MTU will be
MTU tun6to4: 1472 MTU(ppp0) - 20 for IPv4 header
where to proper set now?
1) via ip
2) via sysctl in net.ipv6.conf.tun6to4.mtu
3) both switches
BTW: host should act either as router or standalone.
Thanks for any clarifies,
Peter
---
Dr. Peter Bieringer
mailto: pb at bieringer dot de
http://www.bieringer.de/pb/
Key 0x958F422D : B501 24F4 9418 23E2 C0F3 F833 7B57 AA7B 958F 422D
-- Attached file included as plaintext by Ecartis --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9cw7ce1eqe5WPQi0RAt7BAKDbIkoPEImZ0lhlzSadipAn7AsZlACff1Cs
Ap2x3BNiHfIxe6/sD7lqxDU=
=8Ya4
-----END PGP SIGNATURE-----
reply other threads:[~2002-09-02 7:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10010000.1030950619@localhost \
--to=pb@bieringer.de \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).