Networking Forums

Networking Forums > Computer Networking > Linux Networking > Using IPv4 TCPMSS target with IPv6-in-IPv4

Reply
Thread Tools Display Modes

Using IPv4 TCPMSS target with IPv6-in-IPv4

 
 
Mark T.B. Carroll
Guest
Posts: n/a

 
      03-18-2007, 02:13 AM
I have a braindead ISP that filters some ICMP but doesn't seem to
realise it. (Yes, I know, but choices are few. ) With IPv4 I have to
use,

iptables -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

or large packets don't get through.

Now I'm playing with IPv6, again small packets get through and large
packets don't, so I'm guessing that exactly the same problem is
occurring. Unfortunately, the relevant gateway machines tend to run late
2.4 kernels, so ip6tables isn't offering a TCPMSS target.

But, that machine uses IPv6-in-IPv4 anyway (a route for 2000::/3 via
::192.88.99.1) so I am wondering: is there some magic that I can use to
make the IPv6 stuff use the IPv4 TCPMSS target, so I can get sensible
IPv6 connectivity without having to use a very recent kernel?

Mark.

--
Functional programming vacancy at http://www.aetion.com/
 
Reply With Quote
 
 
 
 
Pascal Hambourg
Guest
Posts: n/a

 
      03-18-2007, 10:30 AM
Hello,

Mark T.B. Carroll a écrit :
> I have a braindead ISP that filters some ICMP but doesn't seem to
> realise it. (Yes, I know, but choices are few. ) With IPv4 I have to
> use,
>
> iptables -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
>
> or large packets don't get through.
>
> Now I'm playing with IPv6, again small packets get through and large
> packets don't, so I'm guessing that exactly the same problem is
> occurring. Unfortunately, the relevant gateway machines tend to run late
> 2.4 kernels, so ip6tables isn't offering a TCPMSS target.


I have not seen that the latest stable 2.6 kernels and ip6tables offer
an IPv6 TCPMSS target either.

> But, that machine uses IPv6-in-IPv4 anyway (a route for 2000::/3 via
> ::192.88.99.1) so I am wondering: is there some magic that I can use to
> make the IPv6 stuff use the IPv4 TCPMSS target, so I can get sensible
> IPv6 connectivity without having to use a very recent kernel?


All I can suggest is limit the IPv6 MTU or advertised MSS of your
machines (not only the gateway). It worked for me when I was using PPPoE.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libnetfilter_conntrack with IPv4 & IPv6 Washington Ratso Linux Networking 0 07-07-2011 10:07 PM
IPv6 address not connecting but IPv4-mapped -IPv6 does. Please help. DanielJohnson Network Routers 0 01-07-2009 12:10 AM
IPv6 to IPv4 tjm Windows Networking 0 03-23-2006 07:53 PM
IPv4 IPv6 And routers kernel.lover Linux Networking 3 02-03-2005 06:17 AM
IPv4 --> IPv6 Anthony T. Wilson Linux Networking 2 12-20-2003 08:23 PM



1 2 3 4 5 6 7 8 9 10 11