Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 1998 09:22:40 -0800
From:      Doug <Studded@san.rr.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   natd + hub + cable modem + nfs help please :-/
Message-ID:  <36890FE0.FF72AB91@san.rr.com>

next in thread | raw e-mail | index | archive | help
	I recently took the plunge and bought myself a new computer. My plan is
to make the old computer a firewall/natd/mail server and connect through
it using the new computer running freebsd sometimes and win 98
sometimes. To that end I purchased a hub, cables, and a NIC for the new
computer. The old computer already has a NIC that was connected directly
to my cable modem.

	What I want to do is plug all 3 of these items into the hub and have
them play nicely together. :)  To that end I've wiped the old computer
clean, installed 2.2.8-R on it, followed all the instructions to set up
natd, and plugged it and the cable modem into the hub. So far so good.
Those two are very happy together. I just used the rule that is in
rc.firewall for the divert rule, and natd is started from rc.network as
'natd -n ep0', which is the correct interface. 

	The problem comes when I try to use the new computer. So far I've only
installed win98 on it, and I configured it to have an IP address of
10.0.0.1, use the old computer's IP as the gateway, and the cable modem
people's dns server. When I try to do any internet related stuff from
the new computer the old computer spits out something like the following
error:

arplookup failed for 10.0.0.1: host not on local network

Now I KNOW I'm missing something, but I don't know what. This is my
first foray into LAN-type stuff, so if what I want to do is possible,
please explain what I'm missing in detail. If I need to go get another
NIC for the gateway box that's ok, but since I will have a total of two
computers plus one cable modem I thought a hub would be a better
solution. :-/  I am *guessing* that I need to add an alias to the
gateway box for the new box to talk to, then change the divert rule in
rc.firewall but I haven't hit on a combination of these things that make
it work yet.

	Also, I haven't even gotten around to trying to configure nfs because
installing freebsd on the new box is my next project. (I needed a
browser to search the archives so win98 was first.) Any suggestions to
this end would also be greatly appreciated. 

Thanks in advance for any help,

Doug

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?36890FE0.FF72AB91>