setting routes

[email protected] Tue, 13 Apr 2004 13:04:13 +0200 (CEST)
Newsgroups gmane.os.netbsd.ports.mvme68k
Message-ID <[email protected]>
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