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

configuration of a linux router



Folk,

My LAN has a Debian router, joule, and two subordinate 
machines, curie and heaviside.  The three connect to an 
old Linksys 10Base-T hub.  joule connects to a 
cable modem through a second NIC and runs 
ipmasq.

Currently I want to add a third NIC to joule, 
remove the hub and connect each of curie and heaviside 
to a NIC in joule using a crossover cable.
All appears OK except that curie and heaviside fail to 
communicate with each other.

The output of cat /etc/network/interfaces 
and netstat -r follow.  

Thanks for any ideas,       ... Peter E.

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
#iface eth0 inet static
#	address   137.82.26.91
#	netmask   255.255.255.0
#	gateway   137.82.26.254

# The interface to curie
iface eth1 inet static
	address   172.23.4.1
	netmask   255.255.255.0
	up	route add -host 172.23.4.4 dev $IFACE
	down	route del -host 172.23.4.4 dev $IFACE

# The interface to heaviside
iface eth2 inet static
	address   172.23.4.1
	netmask   255.255.255.0
	up	route add -host 172.23.4.3 dev $IFACE
        down	route del -host 172.23.4.3 dev $IFACE

joule:~# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
heaviside       *               255.255.255.255 UH        0 0          0 eth2
curie           *               255.255.255.255 UH        0 0          0 eth1
172.23.4.0      *               255.255.255.0   U         0 0          0 eth1
172.23.4.0      *               255.255.255.0   U         0 0          0 eth2
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: