Home Network, step by step?

darren kirby bulliver at badcomputer.org
Sun Dec 12 21:33:14 PST 2004


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 simply 
to go to your local big-block computer store and purchase yourself a switch. 
These can be had for ~$50 Plug the switch into your <internet facing device> 
and plug your two boxes into the switch. Configure them both to obtain an IP 
using dhcp. Your done.  In this example <internet facing device> is 
presumably a cable or adsl modem. You need to explain how you access the 
internet.

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

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-newbies/attachments/20041212/5116d8b1/attachment.bin


More information about the freebsd-newbies mailing list