[Bug 274483] route(8) change -interface is not effective

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Apr 2024 14:35:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274483

Mike Karels <karels@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karels@freebsd.org

--- Comment #2 from Mike Karels <karels@freebsd.org> ---
Note, I don't think -interface is the keyword that you want here; it means that
no gateway is used.  From route(8): "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.  Alternately, if the interface is point to point the name of the
interface itself may be given,"  In this case, the tunnel ignores the first-hop
destination address, so this works by accident.  The -ifp modifier is intended
for this usage, but is currently broken.

-- 
You are receiving this mail because:
You are the assignee for the bug.