Subject: setting routes
To: port-mvme68k <port-mvme68k@NetBSD.org>
From: None <Henning.Kiel@physik.uni-dortmund.de>
List: port-mvme68k
Date: 04/13/2004 13:04:13
Hi list!
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
this tells the kernel that otherhost can be directly reached on the eth0
interface. Doing this in NetBSD does not work:
route add otherhost ie0
=> route: bad value: ie0
What can I do?
Cheers,
Henning