Re: [SLUG] Setup gateway

From: Russell Hires (rhires@earthlink.net)
Date: Tue Dec 03 2002 - 10:24:28 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 03 December 2002 10:21 am, you wrote:
> Gr33tings,
> I'm kinda new to *nix and i wanna setup one of my home computer to
> be the gateway and dhcp server.Where would be a good start?I have a hub and
> no routers and from what i understand if i have a router , i woudldn't need
> to configure my box to be a dhcp server as the router could perform dhcp
> routing is this true?and i have yet another question which is not really a
> linux question.

First things first. You could set up a linux box to be a router, with two
NICs, one for the internet, the other for the LAN. The way this works is you
have the kernel/firewall rules determine what happens to internet traffic
when it hits your box. A good machine for doing this is a 486/early pentium.
(This is why whenever someone on this list hears of such a machine, they are
so eager to get their hands on it. :-) A very recommended way of setting up a
firewall is coyote linux. Though I've never played with it myself, it's a
1-disk distribution that does nothing but firewall and route traffic. The
other alternative is to buy a linksys router for $50-$100.

> How do isps resolve ips ?
You mean DNS? There's usually a file called resolv.conf floating around in
your /etc directory. That points to nameservers, whose sole job is to
translate names into numbers, and back. Your ISP should have provided you
with that information. Your internal LAN machines should be able to use the
same information for DNS lookups as the router machine. That's what I'm
doing, anyway.
> for example if you have a domain registered(slug1.net) with domain
> registration company 1
> then someone registers another domain (slug2.net) with domain registration
> company 2
> does this mean that company 1 and company 2 has to submit their DNS server
> ip to your isp so that each time when a isp clients browser asks for
> slug1.net or slug2.net it will refer to both company 1 and company 2's
> server to resolve the ip address?I'm not sure if i'm getting this right.Can
> someone pls clarify this with me.Links to rfc's will be most appreciated.
>
> Victor
Well, rfc's are at www.faqs.org, but lots of documentation (that's not too
far out of date) can be found at www.tldp.org

Russell
- --
Linux -- the OS for the Renaissance Man
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE97MytAqKGrvVshJQRAiBKAKCLPLM3qj3JnpLBe07+ZpclM0MFjwCfQwsg
oUE46VdMPOAyLL5Omcg8hw8=
=kguD
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:23:30 EDT