*BSD News Article 42615


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!nodecg.ncc.telecomwa.oz.au!netbsd08.dn.itg.telecom.com.au!netbsd08.dn.itg.telecom.com.au!not-for-mail
From: tdwyer@netbsd08.dn.itg.telecom.com.au (Terry Dwyer)
Newsgroups: comp.os.386bsd.questions
Subject: Re: SLIP mtu rate
Date: 18 Feb 1995 20:36:14 +0800
Organization: Telstra Corporation
Lines: 42
Message-ID: <3i4pkh$lmd@netbsd08.dn.itg.telecom.com.au>
References: <3h36qg$5ga@gaia.ucs.orst.edu>
NNTP-Posting-Host: netbsd08.dn.itg.telecom.com.au
X-Newsreader: TIN [version 1.2 PL2]

James Miller (millerj@OES.ORST.EDU) wrote:
: I am currently connected to the net with a SLIP connection.  When I do
: a netstat -i it shows this:

: Name  Mtu   Network     Address              Ipkts Ierrs    Opkts Oerrs  Coll
: sl0   296   <Link>                            1097     0     1095     0     0
: sl0   296   BENDNET.rai 199.2.205.31          1097     0     1095     0     0

: My service provider tells me that I need to boost the Mtu rate to 1006.
: But how is this accomplished.  I have read the man pages for slattach, 
: ifconfig, and all that fun stuff.

Well, there was a little discussion on this topic some time ago and the 
gist of it was that slip performance depended on the speed of your link 
and the packet size used.  However if your supplier is using 1006 (and I
am not sure if it should be that high or not) then you should probably
set yours to that as well.

The default MTU is 296.  This is best for low speed lines < 9600.
I use 552, which is not as good for interactive traffic, but better
( interms of overhed / packet ) for FTP etc on a 9600 line.  If your
modem does 28.8k then 1006 is probably quite a good compromise between
interactive and bulk data transfer like FTP.

The way to do it in 1.1.5.1 is to edit the kernel config file for your 
machine and insert or change this line: 

	options         "SLMTU=1006"  

Leave the quotes in, and recompile the kernel.  When the kernel is 
compiled, and installed, your MTU will be changed to the new value.
Try this, I think 2.x still uses the same method for configuring MTU
for slip.  config should tell you if it doesn't.

I hope this helps.

Terry.
-- 
   _-_|\    Terry Dwyer 	  E-Mail: tdwyer@netbsd08.dn.itg.telecom.com.au
  /     \   System Administrator  Phone: +61 9 491 5161     Fax: +61 9 221 2631
  *_.^\_/   Telecom Australia     Telstra Corporation       MIME capable mailer
       v    Perth  WA                 ( I do not speak for Telstra or Telecom )