Re: routing problem

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

 



Hi,

I was just going to send the mail below when I realised the problem:
1.1 has two default routes. On deleting one of them, the system works.
That brings the next question, how to configure equal cost multipath?
I would prefer that if it is simpler to set up. Found some references to
iproute on google. Also, will routed work? If multipath works it would
probably be easier to maintain. Or would it lead to higher collisions
and packet drops? The network is for a bioinformatics compute cluster
and will have high network IO.

Also, thanks to everyone who replied, especially Nick as he pointed out
what to look for (1.1 routing tables :)

TIA,
Indraneel

== already wrote this so might as well archive it ==

Here are the routing tables:

Kernel IP routing table
Destination  Gateway      Genmask   Flags MSS Window irtt Iface

1.1
192.168.3.0  192.168.3.1   255.255.255.0  UG  0 0  0 eth1
192.168.3.0  0.0.0.0       255.255.255.0  U   0 0  0 eth1
192.168.1.0  192.168.1.1   255.255.255.0  UG  0 0  0 eth0
192.168.1.0  0.0.0.0       255.255.255.0  U   0 0  0 eth0
0.0.0.0      192.168.3.2   0.0.0.0        UG  0 0  0 eth1
0.0.0.0      192.168.1.2   0.0.0.0        UG  0 0  0 eth0
(deleted only one of the last two lines to make it work)

1.2
192.168.2.0  192.168.2.2   255.255.255.0  UG  0 0  0 eth0
192.168.2.0  0.0.0.0       255.255.255.0  U   0 0  0 eth0
192.168.3.0  192.168.3.2   255.255.255.0  UG  0 0  0 eth2
192.168.3.0  0.0.0.0       255.255.255.0  U   0 0  0 eth2
192.168.1.0  192.168.1.2   255.255.255.0  UG  0 0  0 eth1
192.168.1.0  0.0.0.0       255.255.255.0  U   0 0  0 eth1
0.0.0.0      192.168.1.2   0.0.0.0        UG  0 0  0 eth1
0.0.0.0      192.168.2.1   0.0.0.0        UG  0 0  0 eth0

2.20
129.112.32.0 0.0.0.0        255.255.255.0 U    0 0   0 eth0
192.168.2.0  0.0.0.0        255.255.255.0 U    0 0   0 eth1
192.168.1.0  192.168.2.2    255.255.255.0 UG   0 0   0 eth1
0.0.0.0      129.112.32.254 0.0.0.0       UG   0 0   0 eth0


ssh and ping work the same, since switches are different. When put on
the same switch ping works but not ssh. The router is also diskless and
1.2 and 2.2 are configured with dhcp which adds the default routes using
the routers provided (dhclient-script). I set up eth2 in the
dhclient-exit-hooks using the ip of the last configured iface but do not
add routes. Have tried with adding the default route of gw 3.2 and with
removing all default routes, there is no change.

My test machine is also connected to the dept. network but I guess that
is not causing a problem. I set up the routes manually on this.

routes on 1.1 are configured statically (/etc/network/interfaces in
Debian sid).

On Fri, Oct 03, 2003 at 08:17:15PM +0300, Nick Patavalis wrote:
> On Fri, Oct 03, 2003 at 11:59:05AM -0500, Indraneel Majumdar wrote:
> > Sorry for the typo. test machine is 192.168.2.20
> > 
> 
> Please send exact routing tables ("netstat -nr" output) for all the
> machines involved (1.1, 1.2, 2.20), especially for .1.1. Also, why
> "ssh"? What about "ping"?
> 
> /npat
> 
> -- 
> A picture is worth 10,000 words -- but only those to describe the
> picture.  Hardly any sets of 10,000 words can be adequately described
> with pictures.
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
http://www.smartpatch.net
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux