NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/55649: /sbin/route add doesn't accept with -interface parameter
This is not a bug, please read the manual page of route(8)
again ...
If the destination is directly reachable via an interface requiring no
intermediary system to act as a gateway, the -interface modifier should
be specified; the gateway given is the address of this host on the common
network, indicating the interface to be used for transmission.
After "-interface" you need to specify the local (ie: this host's)
address on that interface, not the name of the interface.
A little odd, but it has been that way from the distant past when there
was no easy way for most applications to do anything useful with an
interface name. On the other hand, address parsing etc has always been
relatively easy. So ...
kre
Home |
Main Index |
Thread Index |
Old Index