Networking Forums

Networking Forums > Computer Networking > Linux Networking > set maximum ip-packet-size ?

Reply
Thread Tools Display Modes

set maximum ip-packet-size ?

 
 
peter pilsl
Guest
Posts: n/a

 
      06-01-2004, 02:02 PM

My provider currently has big router-problems. Today again all packages
>1480bytes are not routed. (I found out with ping -s xxx host and it

was the same problem last week. I'm sure they blame cisco again

So I really cant work, cause it seems that most of my ip-packages are
bigger than that. I can ssh-connect a remote host, I can echo the
hostname, but a 'ls -l' is too much already and the connection freezes.

Is there any way to tell my host that it should somehow only creater
small packages and tell its ip-partners to do the same? Would be useful
in my situation.

thnx,
peter


--
http://www2.goldfisch.at/know_list
http://leblogsportif.sportnation.at
 
Reply With Quote
 
 
 
 
Ralf Herrmann
Guest
Posts: n/a

 
      06-01-2004, 11:48 PM
Hi Peter,

> My provider currently has big router-problems. Today again all packages
> >1480bytes are not routed. (I found out with ping -s xxx host and it

> was the same problem last week. I'm sure they blame cisco again
>
> So I really cant work, cause it seems that most of my ip-packages are
> bigger than that. I can ssh-connect a remote host, I can echo the
> hostname, but a 'ls -l' is too much already and the connection freezes.
>
> Is there any way to tell my host that it should somehow only creater
> small packages and tell its ip-partners to do the same? Would be useful
> in my situation.


Assuming you are using some *nix OS......
when you type 'ifconfig' you get a list of all network devices
set up on your box. One of them is used to speek to the internet.

If it is an ethernet interface (like eth0, connected to a router or gateway),
the default MTU (maximum transfer unit) will most likely have the default
setting of 1500. You can use the ifconfig command to alter this setting
(for any network interface).

Make sure to have root privileges and then type

ifconfig eth0 mtu 1472 up

Replace eth0 with the appropriate device.
The number 1472 is the new desired MTU. You can play with it......

Ok, this will be lost, when you reboot. But it greatly depends on your
distro how to make these settinge permanent. You might want to look
at the network configuration files or the startup scripts themselves
to do this.....

HTH

Ralf
 
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
Linux 2.6.39-rc7 - Wrong Maximum Segment Size being advertised Mark Hobley Linux Networking 28 05-29-2011 10:11 AM
Using the route command to change the maximum segment size Mark Hobley Linux Networking 7 11-07-2010 11:14 PM
How to set maximum mail attachment size in server 2k3? Meisam Afaghi Windows Networking 2 09-04-2006 11:57 PM
Adjust TCP maximum segment size Joel Christner Linux Networking 0 06-15-2005 06:20 PM
Normal BB maximum upload size? Ken Broadband 3 11-26-2004 12:10 PM



1 2 3 4 5 6 7 8 9 10 11