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



The following reply was made to PR bin/55649; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: dogan%tesmer.org.tr@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/55649: /sbin/route add doesn't accept with -interface parameter
Date: Thu, 10 Sep 2020 04:11:48 +0700

 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