Re: Why does ipv6 enabled interfere with ipv4 SNAT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 24 Mar 2008, Whit Blauvelt wrote:

> I was mentioning where the mismatch was. Yeah the other stuff's there.
> 
> /proc/sys/net/ipv6/conf ends up with only:
> 
>    all default eth0 eth1 eth2 eth3 lo
> 
> while /proc/sys/net/ipv4/conf ends up (correctly) with:
> 
>    all default eth0 eth1 eth2 eth3 eth4 eth5 lo

If you have got ethernet devices with MTU smaller than 1500, those won't 
support IPv6 and therefore don't show up in /proc/sys/net/ipv6/conf.

> Not sure what you're thinking there. My problem wasn't with there being too
> many devices, but with two of the devices I actually have not being
> represented - and with Netfilter not doing _ipv4_ SNAT on account of
> something with _ipv6_. Why should Netfilter ipv4 code even _care_ about
> what's right or not with ipv6? Do you have any knowledge about
> interdependency there? 
> 
> > It still works with opensuse plus 2.6.23. Well, I suggest you
> > try a stock kernel.
> 
> It is a stock kernel, if by that you mean a stock distro kernel -
> Ubuntu's latest, 2.6.22-14-server. 

Please check which modules are loaded in. Probably IPv4 NAT related 
modules are not auto-loaded. Also, is there any error message when you 
issue 'iptables -t nat ...' commands?

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux