Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jan 1999 19:34:31 -0800
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        User RbernardRichard S Bernard <rbernard@ozemail.com.au>, questions@FreeBSD.ORG
Subject:   Re: Networking (LAN) problems
Message-ID:  <4.1.19990102192516.00ab31f0@mail-r>
In-Reply-To: <368EDC4B.E7C69303@ozemail.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
At 06:56 PM 1/2/99 , User RbernardRichard S Bernard wrote:
>Your  help would be greatly appreciated. Please see attachment.
>Hello, friends. I need help with setting up a LAN. I have a BSD2.2.7 box,
an NT
>Server 4 box and a 486Notebook,running BSD2.2.7. I have SN2000 PCI cards
in the
>two big boxes and an SN2000 ISA in the notebook. I can connect the NT box and
>the Notebook through DOS but need to network the three.

ISA on your notebook? A docking station or do you mean PCMCIA?

>I need to set up 
>addresses correctly. The router gives me hardware addresses on both BSD 
>machinesbut I cannot figure out the needed connection addresses.

Where does the router fit in?
And what do you mean by hardware and connection addresses?

>Netstat on 
>the big BSD
>box gives "localhostbelatrix.mway localhostbelatrix.mway UH 0 23 lo0
>	  138.142 		  link#1	         UC 0 0"
>and on " 
>Notebook  127.0.0.2	        127.0.0.2  	         UH 0 0  lo0
>	  138.142/24		link#1			UC 0 0
>	  138.142.0.2		0:40:5:60:e4:4b		UHLW 0 56 lp0"
>The 127.0.0.2 comes from me setting it in /etc/rc.conf, to differenciate
from  
>the 127.0.0.1 of Belatrix.  

OK. First of all, the 127.0.0.1/8 subnet is only for loopback addresses.
You can't have other machines with IPs of 127.0.0.2

>The 138.etc addresses come from me attempting to install addresses.

If you want to set up your own network, and it will eventually connect to
the internet, use addresses in the ranges defined by RFC 1597:

"Space The Internet Assigned Numbers Authority (IANA) has reserved the
following three blocks of the IP address space for private networks:
	10.0.0.0 - 10.255.255.255
	172.16.0.0 - 172.31.255.255
	192.168.0.0 - 192.168.255.255
We will refer to the first block as "24-bit block", the second as "20-bit
block, and to the third as "16-bit" block. Note that the first block is
nothing but a single class A network number, while the second block is a
set of 16 contiguous class B network numbers, and third block is a set of
255 contiguous class C network numbers."

>I don't get
>a connection. From the NT box, ftp to Belatrix 127.0.0.1 gets me an 
>anonymous   logon, but I am still in the NT box, so it is ftp responding, 
>not Belatrix.     Should I open, from the same box,the loopback address 
>127.0.0.1(Belatrix) or    127.0.0.2(andromed) I get a fully command 
>responsive ftp, after anonymous logon,but cannot get out, of course. (Please 
>read FreeBSD for BSD)
>Both Belatrix and the NT box have modem dialup PPP access to the Internet.

You aren't going to get connections with the IPs you've used. If you want
to test connectivity, ping is the best way.

If you want more info setting up your LAN, have a look at
http://www.freebsd.org/tutorials/ppp/ which also gives instructions on how
to make your LAN connect to the internet through your FreeBSD machine.

--Ludwig Pummer ( ludwigp@bigfoot.com )
ICQ UIN: 692441 (  ludwigp@email.com  )

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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