*BSD News Article 85807


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!news.mathworks.com!howland.erols.net!EU.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!arg1.demon.co.uk!not-for-mail
From: Andrew Gordon <andrew.gordon@net-tel.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How do you setup Plip? (I have lp0*)
Date: Mon, 30 Dec 1996 21:56:54 +0000
Lines: 18
Message-ID: <32C83AA6.41C67EA6@net-tel.co.uk>
References: <5a8urg$k3k@herald.concentric.net>
NNTP-Posting-Host: arg1.demon.co.uk
X-NNTP-Posting-Host: arg1.demon.co.uk
X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.1.5-RELEASE i386)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33278

Andrew Verba wrote:
> 
> I have two freebsd machines connected by a lap link cable.
> 
> What do I need to do to throw packets out through this interface?

Configure the interfaces as for any other interface, using ifconfig.
See "man ifconfig" and "man 4 lp" for further info.

If these are two totally isolated machines, somthing like

ifconfig lp0 10.0.0.1 10.0.0.2

on one machine, and 

ifconfig lp0 10.0.0.2 10.0.0.1

on the other would do the trick.