[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DUB107-W29F168D84D4238014B639ED020@phx.gbl>
Date: Sun, 3 Feb 2013 12:22:17 +0100
From: Lukas Tribus <luky-37@...mail.com>
To: <pupilla@...ero.it>
CC: <netdev@...r.kernel.org>
Subject: RE: per route MTU settings
FYI, Steffens fix is in 3.8-rc6 now and it works for me.
root@...ntuvm:~# cat /proc/version
Linux version 3.8.0-030800rc6-generic (root@...eisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201301312135 SMP Fri Feb 1 02:36:25 UTC 2013
root@...ntuvm:~# echo 1 > /proc/sys/net/ipv4/ip_forward
root@...ntuvm:~# echo 0 > /proc/sys/net/ipv4/conf/eth0/send_redirects
root@...ntuvm:~# echo 0 > /proc/sys/net/ipv4/conf/all/send_redirects
root@...ntuvm:~# ip route add 8.8.8.0/24 via 10.0.0.254 mtu lock 1200
root@...ntuvm:~# ip route add 8.8.4.0/24 via 10.0.0.254 mtu lock 1200
root@...ntuvm:~#
root@...ntuvm:~# tcpdump -nvvv icmp -i eth0
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
12:17:19.085868 IP (tos 0x0, ttl 128, id 3161, offset 0, flags [DF], proto ICMP (1), length 1428)
10.0.0.3 > 8.8.4.4: ICMP echo request, id 1, seq 38744, length 1408
12:17:19.085910 IP (tos 0xc0, ttl 64, id 53508, offset 0, flags [none], proto ICMP (1), length 576)
10.0.0.55 > 10.0.0.3: ICMP 8.8.4.4 unreachable - need to frag (mtu 1200), length 556
IP (tos 0x0, ttl 128, id 3161, offset 0, flags [DF], proto ICMP (1), length 1428)
10.0.0.3 > 8.8.4.4: ICMP echo request, id 1, seq 38744, length 1408
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel
root@...ntuvm:~#
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists