Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 21:33:12 -0800
From:      darren kirby <bulliver@badcomputer.org>
To:        freebsd-newbies@freebsd.org
Subject:   Re: Home Network, step by step?
Message-ID:  <200412122133.18467.bulliver@badcomputer.org>
In-Reply-To: <a832a7b9041212204846c889d0@mail.gmail.com>
References:  <a832a7b9041212204846c889d0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1736204.Ge4mWq6Bu6
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

quoth the R. Scott Kennan:
> Hey everyone, this is my first post. I'm a freebsd Newbie who really
> doesn't know much at all yet, so please excuse my probably lame
> question.
>
> At any rate, I need to network two computers- my BSD box, and one
> running Mandrake Linux  9.2 (for now). I also need to share my
> internet connection.  Actually the internet connection sharing is more
> important. What steps do I need to take? All the pages I've brought up
> seem to assume some prior knowledge of both networking and/or Unix (I
> have absoultely none), and I apparently don't even know enough to
> recognise the information in the FreeBSD handbook. I installed FreeBSD
> to learn, but I'm totally lost in this matter.
>
> If anyone can help me, or tell me to RTFM (as long as you point out
> the manual) I'd appreciate it. Once again, Sorry for the dumb
> question. Thanks.
>
> -R. Scott Kennan

There are a couple ways you can accomplish this. First, and easiest, is sim=
ply=20
to go to your local big-block computer store and purchase yourself a switch=
=2E=20
These can be had for ~$50 Plug the switch into your <internet facing device=
>=20
and plug your two boxes into the switch. Configure them both to obtain an I=
P=20
using dhcp. Your done.  In this example <internet facing device> is=20
presumably a cable or adsl modem. You need to explain how you access the=20
internet.

The second, and more educational way is to equip and configure either your=
=20
freebsd or linux box to do NAT/Masq. This will require you to have two=20
ethernet cards in the router. Essentially you are just daisy chaining the=20
computers physically in this example. As for setup of the NAT, I only know=
=20
how to do this on linux myself, so I hope someone more knowlegable can poin=
t=20
us _both_ to some docs on NAT/Masq on freebsd.=20

=2Dd
=2D-=20
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
=2D Dennis Ritchie and Ken Thompson, June 1972

--nextPart1736204.Ge4mWq6Bu6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBBvSmewPD5Cr/3CJgRAvclAKD265qDaVJpuI3am5ba/yUsObQwOACgvrbq
g+xIjGUMswllD/iWiTjSriY=
=rqdl
-----END PGP SIGNATURE-----

--nextPart1736204.Ge4mWq6Bu6--



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