Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 1995 08:53:28 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        dbaker@concorde-mail.neosoft.com (Daniel Baker)
Cc:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: [Q] Laplink? Slip or PPP?
Message-ID:  <199506180653.IAA16996@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.91.950617222709.216A-100000@concorde.neosoft.com> from "Daniel Baker" at Jun 17, 95 10:28:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,POINTOPOINT,RUNNING,SIMPLEX> 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<POINTOPOINT,SIMPLEX> 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. ;-)



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