Date: Mon, 29 Nov 1999 16:19:32 -0700 From: Chris Wasser <cwasser@v-wave.com> To: "David Weiss" <weiss724@bellsouth.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: Routing help Message-ID: <3680.991129@v-wave.com> In-Reply-To: <000e01bf3ab0$d8e1e040$4c00a8c0@HBOCD01> References: <000e01bf3ab0$d8e1e040$4c00a8c0@HBOCD01>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
on 11/29/1999 2:29 PM, weiss724@bellsouth.net wrote:
> I am trying to connect a FreeBSD box to a windows 2000 box,
> which is hooked up via ADSL (and dynamic IP) to the internet.
> It has another NIC that connects to the same LAN as the
> FreeBSD box, and it uses a static IP of 192.168.0.1 for
> internal addressing. I want help in connecting my FreeBSD
> box to the Windows2000 box, so that I can download the
> ports that i need to make my FreeBSD my firewall box
> connected to the ADSL. I can set up the FreeBSD box @ IP
> 10.0.0.4, and I can ping myself via lo0, but I can't get
> it to talk to the Win2K box, or the internet.
First off, please format your posts to the mailing list in plain-text
format, not HTML.
I have a similar setup with FreeBSD servers (as in multiple) with
Windows98 workstations for Samba and what-not. Anyways, the particular
BSD box I'll use in this example has two NICS in it, one for WAN the
other for LAN, and it's setup as such (excuse the lame ASCII drawing):
+-- NIC 1 --> WAN (dynamic IP)
BSD ---|
+-- NIC 2 --> LAN (192.168.1.1) -----+
|
+
10/100 SWITCH
+
|
Client 1 (192.168.1.2/192.168.1.1[gw]) --+
|
Client 2 (192.168.1.3/192.168.1.1[gw]) --+
|
Client 3 (192.168.1.4/192.168.1.1[gw]) --+
(and so on and so forth, netmask is 255.255.255.0)
Now, on the LAN side of the equation above, all the client boxes fall
into the same subnet (192.168.1.*) with their default gateway pointing
to the LAN NIC in the BSD box.
Now you don't have to use 192.168.x.x you could use 10.x.x.x or even
172.x.x.x (any reserved IP block is fine) ... As long as your gateway
jives you shouldn't have a problem. Just make sure you subnet
correctly so that you don't run out of IP space.
Hope that helps.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
iQA/AwUBOEMKBHkOgeFubyAgEQJF3gCg7614pdfHADHjLcVGNm6lmxaK9kIAnRfF
FXaiXNdcCK24gd8za8SygumJ
=dt0G
-----END PGP SIGNATURE-----
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?3680.991129>
