From owner-cvs-all Thu Oct 28 9:56:33 1999 Delivered-To: cvs-all@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id E6ACC14CD4; Thu, 28 Oct 1999 09:53:26 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id TAA21244; Thu, 28 Oct 1999 19:52:54 +0300 (EEST) (envelope-from ru) Date: Thu, 28 Oct 1999 19:52:54 +0300 From: Ruslan Ermilov 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> References: <199910281605.JAA05101@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199910281605.JAA05101@freefall.freebsd.org>; from Ruslan Ermilov on Thu, Oct 28, 1999 at 09:05:00AM -0700 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 mtu 552 # ifconfig sl1 inet X.X.X.X Y.Y.Y.Y mtu 1500 # ifconfig sl1 sl1: flags=c011 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