Subject: Re: setting routes
To: None <Henning.Kiel@physik.uni-dortmund.de,>
From: Steve Woodford <firstname.lastname@example.org>
Date: 04/13/2004 14:32:03
On Tuesday 13 April 2004 12:04 pm, Henning.Kiel@physik.uni-dortmund.de
> I want to modify the routing table, but got into trouble.
> I have two machines on different subnets, but they are on the same
> hub. So I want to tell the kernel that the other machine does not
> need to go through the default gateway, but can directly access it.
> In Linux I do it like this:
> route add otherhost eth0
Have you tried:
route add other-hosts-ip -interface this-hosts-ip