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

[email protected] Tue, 02 Jun 2026 11:21:39 +0000
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274483

Pouria Mousavizadeh Tehrani <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Pouria Mousavizadeh Tehrani <[email protected]> ---
I can not reproduce on CURRENT.
Probably fixed since then.

```
[pouria@ftsr1] [~] % mdo route -n4 add -net 192.0.2.128/25 -interface gre0
add net 192.0.2.128: gateway gre0 fib 0
[pouria@ftsr1] [~] % mdo route -n4 get 192.0.2.128/25
route to: 192.0.2.128
destination: 192.0.2.128
mask: 255.255.255.128
fib: 0
interface: gre0
flags: <UP,DONE,STATIC>
recvpipe  sendpipe  ssthresh  rtt,msec    mtu       metric    weight    expire
0         0         0         0      1292         0         1         0
[pouria@ftsr1] [~] % mdo route -n4 change -net 192.0.2.128/25 -interface gre1
change net 192.0.2.128: gateway gre1 fib 0
[pouria@ftsr1] [~] % mdo route -n4 get 192.0.2.128/25
route to: 192.0.2.128
destination: 192.0.2.128
mask: 255.255.255.128
fib: 0
interface: gre1
flags: <UP,DONE,STATIC>
recvpipe  sendpipe  ssthresh  rtt,msec    mtu       metric    weight    expire
0         0         0         0      1372         0         1         0
```

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