[Bug 273640] route delete fails when specifying the interface
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273640 Mina Galić changed: What|Removed |Added Assignee|b...@freebsd.org|n...@freebsd.org Status|New |Open CC||free...@igalic.co --- Comment #1 from Mina Galić --- is this with or without netlink? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 273640] route delete fails when specifying the interface
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273640 --- Comment #2 from mmend...@netgate.com --- In the 12.3 test, without netlink; in the 14.0 test, with netlink. Further tests indicate that it's only an issue with combining both "-inet" and "-iface" (IPv6 works), and only when the CIDR size is omitted. This works: # route del -inet 192.168.1.0/24 -iface vmx0 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 273640] route delete fails when specifying the interface
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273640 --- Comment #3 from Mina Galić --- i seem to have figured most of that out, too, when writing this code https://github.com/canonical/cloud-init/blob/main/cloudinit/net/netops/bsd_netops.py#L35 (contrast the Linux Code here, it's based on: https://github.com/canonical/cloud-init/blob/main/cloudinit/net/netops/iproute2.py#L51 ) -- You are receiving this mail because: You are the assignee for the bug.
[Bug 273640] route delete fails when specifying both -inet and -iface
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273640 mmend...@netgate.com changed: What|Removed |Added Summary|route delete fails when |route delete fails when |specifying the interface|specifying both -inet and ||-iface -- You are receiving this mail because: You are the assignee for the bug.
wireguard: adding routes fails with fib 0: Invalid argument
Hi, maybe I'm missing something, but I cannot get wireguard working on stable/14 or main. This used to work on main a couple of month back. root@xx:~ # wg interface: wg0 public key: xx private key: (hidden) listening port: 51820 peer: xx endpoint: x.x.x.x:51820 allowed ips: 10.30.6.0/24, 172.30.6.0/24, 10.10.10.103/32 latest handshake: 1 minute, 24 seconds ago transfer: 11.33 MiB received, 164.46 KiB sent root@xx:~ # ifconfig wg0 wg0: flags=10080c1 metric 0 mtu 1420 options=8 groups: wg nd6 options=101 root@xx:~ # route add -inet 172.30.6.0/24 -iface wg0 add net 172.30.6.0: gateway wg0 fib 0: Invalid argument I can add -iface routes to e.g. igb0, so it seems to be related to the wg0 virtual/cloned interface. I don't do anything special regarding fibs, i.e. I don't use them besides what's used by default. The tests were run on 14.0-ALPHA4, with a stock GENERIC kernel and userland. Is anybody successfully running wireguard on 14.0 or 15? Thanks Florian OpenPGP_0xEF5BA4DCD5A9F3C0.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature