On Mon, Mar 27, 2023 at 4:29 PM Olivier Cochard-Labbé <oliv...@cochard.me> wrote:
> > > FreeVRRPd is using netgraph(4) and created a ng_bridge interface on top of > vlan interface seems not supported by netgraph: > > [root@router]~# ngctl mkpeer vtnet0.10: bridge lower link0 > ngctl: send msg: Invalid argument > >> >> Answering to myself: The limitation with netgraph here is with the interface name: It doesn' support the "dot". Renaming the vlan interface name without using a dot fixes the problem. On my lab, I've used this method to rename it: vlans_vtnet3="vlan10" create_args_vlan10="vlan 10" ifconfig_vtnet3="up" ifconfig_vlan10="inet 192.168.1.1/24" root@R1:~ # ifconfig vlan10 vlan10: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500 options=80000<LINKSTATE> ether 58:9c:fc:01:00:01 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::5a9c:fcff:fe01:1%vlan10 prefixlen 64 scopeid 0x8 groups: vlan vlan: 10 vlanproto: 802.1q vlanpcp: 0 parent interface: vtnet3 media: Ethernet autoselect (10Gbase-T <full-duplex>) status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> root@R1:~ # ifconfig ngeth1 ngeth1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=28<VLAN_MTU,JUMBO_MTU> ether 00:00:5e:00:01:02 hwaddr 58:9c:fc:10:a5:4e inet 192.168.2.254 netmask 0xffffff00 broadcast 192.168.2.255 inet6 fe80::200:5eff:fe00:102%ngeth1 prefixlen 64 scopeid 0xa media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> Regards, Olivier
_______________________________________________ Bsdrp-users mailing list Bsdrp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bsdrp-users