Re: configuration of a linux router
- From: "Douglas A. Tutty" <dtutty@xxxxxxxxxxxxx>
- Date: Sun, 23 Mar 2008 20:27:40 -0400
On Sun, Mar 23, 2008 at 09:07:32AM -0700, peasthope@xxxxxxx wrote:
dt> Now you're using shaw.ca for your home domain. Do you own that? Would
you like to e.g. relay mail for all of shaw.ca?
Not really.
Didn't think so :)
OK, I've invented the domain name petershouse;
the current hosts file follows. Please let me know of any
remaining errors.
It looks fine.
Does it work?
Do you have any firewall doing network address translation? If you want
fire-and-forget just use ipmasq, if you want to really understand it use
shorewall after reading shorewall-doc.
What about supplying DNS services to your network? The easiest is to
install dnsmasq.
Isn't there a place to specify the domain, analogous to /etc/hostname?
Unfortunate that these matters aren't mentioned in the hosts
man page. Also, I wonder that /etc/hostname, /etc/hosts,
/etc/network/interfaces and perhaps a few other files haven't
been amalgated into one. Excessive fragmentation increases
the likelihood of confusion and error.
No. Each *NIX has its own way, however /etc/hosts is standard. Unix
networking was developed with BSD and was then imported by the other
*nix in various ways. Then different *nix made automated scripts to do
the networking setup and each puts its configs somewhere different. On
debian, its /etc/hostname and /etc/network/interfaces.
Its all well documented and hasn't changed in a long time. Read the
debian-reference.
# /etc/hosts file
127.0.0.1 localhost.localdomain localhost
# Private LANs at home
172.23.4.1 joule.petershouse joule
172.23.4.2 curie.petershouse curie
172.23.5.1 joule.petershouse joule
172.23.5.2 heaviside.petershouse heaviside
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Desktops.OpenDoc http://carnot.yi.org/
I don't know what this line is for.
Doug.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Re: configuration of a linux router
- From: peasthope
- Re: configuration of a linux router
- Prev by Date: Re: problems booting
- Next by Date: Re: problems booting
- Previous by thread: Re: configuration of a linux router
- Next by thread: microsoft vs opensource
- Index(es):
Relevant Pages
|