Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 1999 19:52:54 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_sl.c
Message-ID:  <19991028195254.E13134@relay.ucb.crimea.ua>
In-Reply-To: <199910281605.JAA05101@freefall.freebsd.org>; from Ruslan Ermilov on Thu, Oct 28, 1999 at 09:05:00AM -0700
References:  <199910281605.JAA05101@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 28, 1999 at 09:05:00AM -0700, Ruslan Ermilov wrote:
> ru          1999/10/28 09:05:00 PDT
> 
>   Modified files:
>     sys/net              if_sl.c 
>   Log:
>   Re-allocate cblocks after changing the slip unit number.
>   
>   Revision  Changes    Path
>   1.80      +4 -1      src/sys/net/if_sl.c
> 
This fixes the problem of non-working *static* slip with non-default MTU.

# ifconfig sl0
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552

# ifconfig sl1 inet X.X.X.X Y.Y.Y.Y mtu 1500
# ifconfig sl1
sl1: flags=c011<UP,POINTOPOINT,LINK2,MULTICAST> mtu 1500
        inet X.X.X.X --> Y.Y.Y.Y netmask 0xffffff00

# /sbin/slattach -a -h -s 57600 -r "" -S1 /dev/modem
/var/run/slattach.modem.pid

# ping -s 1400 Y.Y.Y.Y
The ping(8) does not work.

# ifconfig sl1 mtu 1500

# ping -s 1400 Y.Y.Y.Y
The ping(8) now works.

# Turn off and then back on your modem.

# ping -s 1400 Y.Y.Y.Y
The ping(8) does not work again.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991028195254.E13134>