From owner-freebsd-questions Wed Mar 25 02:05:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA12234 for freebsd-questions-outgoing; Wed, 25 Mar 1998 02:05:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA11734 for ; Wed, 25 Mar 1998 02:01:34 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id LAA10334; Wed, 25 Mar 1998 11:59:36 +0200 (EET) (envelope-from ru) From: Ruslan Ermilov Message-Id: <199803250959.LAA10334@relay.ucb.crimea.ua> Subject: Re: Slip server In-Reply-To: from "Dmitry.Petrakoff" at "Mar 25, 98 12:21:48 pm" To: dimon@h26.216.elnet.msk.ru (Dmitry.Petrakoff) Date: Wed, 25 Mar 1998 11:59:36 +0200 (EET) Cc: questions@FreeBSD.ORG X-My-Interests: Unix,Oracle,Networking X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Once Dmitry.Petrakoff wrote: > I'v got question about Slip server setup on Freebsd: > How can I assign specific serial port to specific slip interface and > this interface must have specific IP address. > e.g. /dev/cuaa0 -> sl0 -> 172.20.156.2 > /dev/cuaa1 -> sl1 -> 172.21.200.34 > etc.. Use ``-S unit'' command of slattach(8) or startslip(8). The current SLIP driver is broken to handle this command. You can download a slightly modified version of the driver from http://www.ucb.crimea.ua/~ru/FreeBSD/slip/ for FreeBSD 2.2.x. Put the file if_sl.c into /sys/net and recompile your kernel. Enjoy!!! Regards, -- Ruslan Ermilov System Administrator ru@ucb.crimea.ua United Commercial Bank +380-652-247647 Simferopol, Crimea 2426679 ICQ Network, UIN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message