*BSD News Article 83867


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!arg1.demon.co.uk
From: Andrew Gordon <andrew.gordon@net-tel.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.misc,comp.unix.questions
Subject: Re: Need help with network configuration
Date: Sat, 30 Nov 1996 00:24:24 +0000
Lines: 30
Message-ID: <329F7EB8.167EB0E7@net-tel.co.uk>
References: <329F1D31.167EB0E7@gusw.dialup.fu-berlin.de>
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:31758 comp.unix.bsd.netbsd.misc:4932 comp.unix.bsd.misc:1628 comp.unix.questions:92192

Gunther Schadow wrote:
> I suspect that I made some mistakes using the 127 and the 0 bytes as
> network addresses, since both are special. But which addresses are save
> to be used in an unofficial network?


From /etc/hosts on a fresh FreeBSD installation:

# According to RFC 1597, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#       10.0.0.0        -   10.255.255.255
#       172.16.0.0      -   172.31.255.255
#       192.168.0.0     -   192.168.255.255
#

> 
> Is ther a manual or tutorial teaching me how to set up small local
> networks?
> 
> How do I have to deal with netmasks?

Ignore them for point-to-point links.  For Ethernet links, choose
them to show which bits select between different networks and which
bits select between different machines on the same network.

For example, a machine with an address of 192.168.0.1 netmask 0xfffffff0
is using bits 0-3 to select between machines and all other bits to 
select between networks.  Hence the machines on this network are
numbered 192.168.0.1 to 192.168.0.14.