Re: configuration of a linux router
On Sun, Mar 16, 2008 at 04:38:36PM -0700, peasthope@shaw.ca wrote:
> Douglas & others,
>
> dt> Now you will have three networks. ...
> ... You shouldn't have to add routes like this ...
>
> Right oh.
>
> dt> change this to 172.23.5.1, and change heaviside's to 172.23.5.2
>
> The revised configuration follows. Everything
> appears OK now. There is no hub consuming
> power and two cables rather than three.
>
> Thanks for the help, ... Peter E.
>
> ============================================
> joule:~# cat /etc/hosts
> # /etc/hosts file
> 127.0.0.1 peasthope.yi.org joule localhost
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this should be: localhost.localdomain localhost
if you don't own peasthope.yi.org, then I wouldn't use it even locally.
It is a valid name.
Then you should have entries for this box on your local network domain
e.g.
172.23.4.1 [thisbox].[yourlocaldoamin] [thisbox]
172.23.5.1 ditto
Then ensure either that these entries are duplicated on currie and
heaviside or run dnsmasq on this box.
> # Private LANs at home
> 172.23.4.2 curie
try 172.23.4.2 curie.[yourlocaldomain] curie
> 172.23.5.2 heaviside
ditto
In short, its always helpful to have a local domain name, especially for
handling email.
The rest looks fine, I'm glad it works.
Doug.
>
> # 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
>
> joule:~# cat /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> auto lo eth0 eth1 eth2
> # The loopback network interface
> iface lo inet loopback
>
> # The primary network interface
> iface eth0 inet dhcp
>
> # The interface to curie
> iface eth1 inet static
> address 172.23.4.1
> netmask 255.255.255.0
>
> # The interface to heaviside
> iface eth2 inet static
> address 172.23.5.1
> netmask 255.255.255.0
>
> joule:~# netstat -r
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt Iface
> 172.23.5.0 * 255.255.255.0 U 0 0 0 eth2
> 172.23.4.0 * 255.255.255.0 U 0 0 0 eth1
> 24.108.32.0 * 255.255.252.0 U 0 0 0 eth0
> default 24.108.32.1 0.0.0.0 UG 0 0 0 eth0
>
> ============================================
>
> Desktops.OpenDoc http://carnot.yi.org/
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: