Re: ssh problem
i suggest you try to find where is the mtu problem coming from because you might have issues connecting to different servers which drop ICMP
don't forget to make your change permanent to avoid reboot problems if you don't fix the issue :)
On Wed, Aug 26, 2009 at 6:57 PM, randall <email@example.com>
randall wrote:host:~# sysctl net.ipv4.ip_no_pmtu_disc
> Bertrand Yvain wrote:
>> On Wed, Aug 26, 2009 at 05:12:36PM +0200, randall wrote:
>>> Bertrand Yvain wrote:
>>>> Looks like a PMTU issue.
>>>> Would you happen to have net.ipv4.ip_no_pmtu_disc = 1 in your sysctls?
>>> but below answers the question, nope.
>> The resource might be set by something else. You can check the actual
>> value like this:
>> # /sbin/sysctl net.ipv4.ip_no_pmtu_disc
>> If it's still 0, my guess stays on MTU.
net.ipv4.ip_no_pmtu_disc = 0
setting ifconfig eth0 mtu 1280
does seem to help and solves the immediate problem, i have a working
connection again. Thanks ;)
not sure what i did to ***** this up, actually no idea what the MTU
actually does apart from what i read on google the last ten minutes.
>>> just noticed that i do can cat small files, it hangs on more substantial
>>> sized files though.
>> I guess that "small" is around your MTU on eth0. Should be 1500 for
>> regular ethernet, but there might be an encapsulation layer somewhere...
>> You should try lowering it to something safe:
>> # ifconfig eth0 mtu 1280
>> This will most probably fix your problem. Then you'll have to
>> investigate why the default MTU is not good for your network and what
>> should be the max allowed value.
ing. Adrian TIRLA