Re: configuration of a linux router



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



Relevant Pages

  • Re: FTP from RPC to Mac by hostname
    ... networked through the router using DHCP. ... Hosts as the addresses change. ... I presume you mean her connecting to your wireless network, ... that the Windows XP hosts file can be in the same format as the RISC OS ...
    (comp.sys.acorn.networking)
  • Re: Problem with local network
    ... Pinging itself shows internally to the same PC that its network is ... (It probably doesn't really ping the hardware - some will, ... And no other conflicting "hosts: ... then the machine should first check the hosts file for some ...
    (Fedora)
  • Re: Samba - WINS - VPN
    ... >Unless I'm mistaken, you don't need WINS, if you have other means of mapping ... I do have the machine in my hosts file but when I issue NET ... do I get the Linux machine to publish its netbios name on the network? ...
    (comp.os.linux.networking)
  • Re: [opensuse] bind help
    ... do the job quite well for DNS servicing my local network. ... putting these in the hosts file of the server running bind would ...
    (SuSE)
  • Re: Heavyweight Network Mapping Tools
    ... multiple threads so as not to adversely effect any individual sub network ... The goals for the OPTE project are slightly ... >> Hosts alive through ICMP ... I was loooking more for the vulnerability scanning approach without ...
    (Pen-Test)