Re: Extremely slow upload (and more) from behind NAT

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

 



On 2011-08-12 17:45, Christian Pernegger wrote:
>> Please post your iptables / iptables-restore script.
> 
> I did, in a way. It's really just that one line, "iptables -t nat -A
> POSTROUTING -s 192.168.0.0/24 -o eth1 -j MASQUERADE", at the moment,
> executed as a post-up command from /etc/network/interfaces.

I doubt that's the problem, then. I would write it without the "-s
192.168.0.0/24" statement, as it is not needed if you have no other
networks or interfaces. But I very much doubt it is the cause of the
problem.

You said the problem only happens to NAT'ed traffic. What if it's not
NAT, but eth0, that's the issue? Try swapping eth0 and eth1 and see if
the problem affects traffic to/from the router as well.

I recently had a problem with one server (with an old cheap Via chipset)
that ran fine on Ubuntu 8.04. But when I reformatted it for Ubuntu
10.04, eth0 started having serious issues with throughput that I
eventually concluded was an IRQ issue. Since it had two interfaces, I
renamed them and used the other one.

Regards,
Tyler

-- 
"Offending fundamentalists isn't my goal – but if it is an inevitable
side-effect of defending human rights, so be it."
   -- Johann Hari
--
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