[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

configuration of a linux router



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

# Private LANs at home
172.23.4.2      curie
172.23.5.2      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

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/


Reply to: