Subject: setting routes
To: port-mvme68k <port-mvme68k@NetBSD.org>
From: None <Henning.Kiel@physik.uni-dortmund.de>
Date: 04/13/2004 13:04:13
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
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?