Re: setting routes
Steve Woodford <[email protected]> Tue, 13 Apr 2004 14:32:03 +0100
| Newsgroups | gmane.os.netbsd.ports.mvme68k |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday 13 April 2004 12:04 pm, [email protected] wrote: > 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 Cheers, Steve