From owner-freebsd-hackers Sun Jun 18 00:22:15 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA04806 for hackers-outgoing; Sun, 18 Jun 1995 00:22:15 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA04798 for ; Sun, 18 Jun 1995 00:22:12 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA16942; Sun, 18 Jun 1995 09:22:09 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA08405; Sun, 18 Jun 1995 09:22:08 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id IAA16996; Sun, 18 Jun 1995 08:53:29 +0200 From: J Wunsch Message-Id: <199506180653.IAA16996@uriah.heep.sax.de> Subject: Re: [Q] Laplink? Slip or PPP? To: dbaker@concorde-mail.neosoft.com (Daniel Baker) Date: Sun, 18 Jun 1995 08:53:28 +0200 (MET DST) Cc: freebsd-hackers@freebsd.org (FreeBSD hackers) In-Reply-To: from "Daniel Baker" at Jun 17, 95 10:28:26 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1563 Sender: hackers-owner@freebsd.org Precedence: bulk As Daniel Baker wrote: > > > then just use 'ifconfig' > > on the lp0 network device on each machine > So I just type in: > ifconfig lp0 > > > and assign each an address and set it to point-to-point mode.. > How do I do that? > Do I make up an address? > Should one be a slip server? > > Why am I clueless? > :-) Because you didn't read the man page for ifconfig? ;) IFCONFIG(8) UNIX System Manager's Manual IFCONFIG(8) NAME ifconfig - configure network interface parameters SYNOPSIS ifconfig interface address_family [address [dest_address]] [parameters] ... So, it's basically the same as for a SLIP: ifconfig lp0 inet 1.2.3.4 1.2.3.5 uriah # ifconfig lp0 inet uriah pinky uriah # ifconfig lp0 lp0: flags=851 mtu 1500 inet 193.175.26.65 --> 193.175.26.71 netmask 0xffffff00 uriah # ifconfig lp0 down uriah # ifconfig lp0 delete uriah # ifconfig lp0 lp0: flags=810 mtu 1500 You'll get the addresses from your local network manager. The usual way is to assign names to the addresses, too (unlike my demo line above, but as in my real-life example). If you don't have a network manager, and you are not connected to the internet, use addresses out of the range 192.168.*.*. (Don't use an address ending in .0 or .255 - they are reserved.) Get a good book about Internetworking... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)