[Bug 276862] vnet doesnt release iface after running openvpn

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Feb 2024 16:41:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276862

--- Comment #2 from Peter Much <pmc@citylink.dinoex.sub.org> ---
(In reply to Alexander Fedorov from comment #1)

host # ngctl l -l
There are 3 total nodes:
  Name: ntele1u         Type: eiface          ID: 00000004   Num hooks: 1
  Local hook      Peer name       Peer type    Peer ID         Peer hook      
  ----------      ---------       ---------    -------         ---------      
  ether           ntele1l         eiface       00000008        ether          

  Name: ntele1l         Type: eiface          ID: 00000008   Num hooks: 1
  Local hook      Peer name       Peer type    Peer ID         Peer hook      
  ----------      ---------       ---------    -------         ---------      
  ether           ntele1u         eiface       00000004        ether          

  Name: ngctl10456      Type: socket          ID: 0000000c   Num hooks: 0

host # ifconfig
vtnet0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE>
        ether 06:1d:92:01:04:01
        inet 192.168.**.** netmask 0xffffffe0 broadcast 192.168.**.**
        media: Ethernet autoselect (10Gbase-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vtnet1: flags=8822<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE>
        ether 00:a0:98:19:3b:56
        media: Ethernet autoselect (10Gbase-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ntele1u: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=28<VLAN_MTU,JUMBO_MTU>
        ether 06:1d:92:09:02:05
        hwaddr 58:9c:fc:00:79:5d
        inet 192.168.99.17 netmask 0xfffffffc broadcast 192.168.99.19
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

jail# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ntele1l: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=28<VLAN_MTU,JUMBO_MTU>
        ether 06:1d:92:09:02:06
        hwaddr 58:9c:fc:10:ff:b2
        inet 192.168.99.18 netmask 0xfffffffc broadcast 192.168.99.19
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
---------------------------------------------

I tried to set 
   vnet.interface=vtnet1 
and this also got lost.

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