How to solve error : vnet0: a looped back NS message is detected during DAD?

Hi,

I've setup a mellanox Connectx4-lx with IPV6 wich works, but I have different issues with it. On my current network , once I launch a jail or bhyve vm I have the following message:

Code:
vnet0: a looped back NS message is detected during DAD for fe80:2::c20:98ff:fe4c:84f0.  Another DAD probes are being sent.

I can remove this message by disabling duplicate ipv6 check witht the command sysctl net.inet6.ip6.dad_count=0 but I'm not really happy to disable it. Maybe I miss some configuration ? Or is this really an issue with the mce0 driver?

The configuration is the following:

Code:
$ ifconfig mce0
mce0: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
    options=7eed07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWRXTSTMP,NOMAP,TXTLS4,TXTLS6,VXLAN_HWCSUM,VXLAN_HWTSO>
    ether 9c:dc:71:4c:84:f0
    inet6 fe80::9edc:71ff:fe4c:84f0%mce0 prefixlen 64 scopeid 0x4
    inet6 2a0e:XXXX:XXXX:XXXX::12 prefixlen 64
    media: Ethernet 25GBase-SR <full-duplex,rxpause,txpause>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
and for the jail:

Code:
esting {
  devfs_ruleset = 13;
  enforce_statfs = 2;
  exec.clean;
  exec.consolelog = /var/log/bastille/testing_console.log;
  exec.start = '/bin/sh /etc/rc';
  exec.stop = '/bin/sh /etc/rc.shutdown';
  host.hostname = testing;
  mount.devfs;
  mount.fstab = /usr/local/bastille/jails/testing/fstab;
  path = /usr/local/bastille/jails/testing/root;
  securelevel = 2;

  vnet;
  vnet.interface = e0b_bastille0;
  exec.prestart += "jib addm bastille0 vlan200";
  exec.prestart += "ifconfig e0a_bastille0 description \"vnet host interface for Bastille jail testing\"";
  exec.poststop += "jib destroy bastille0";
}

with the following network
Code:
vlan200: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
    options=1c280401<RXCSUM,LRO,LINKSTATE,RXCSUM_IPV6,NOMAP,TXTLS4,TXTLS6>
    ether 9c:dc:71:4c:84:f0
    inet 10.200.1.11 netmask 0xffffff00 broadcast 10.200.1.255
    inet6 fe80::9edc:71ff:fe4c:84f0%vlan200 prefixlen 64 scopeid 0x6
    groups: vlan
    vlan: 200 vlanproto: 802.1q vlanpcp: 0 parent interface: mce0
    media: Ethernet 25GBase-SR <full-duplex,rxpause,txpause>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
vlan200bridge: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
    ether 58:9c:fc:10:fc:41
    id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
    maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
    root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
    member: e0a_bastille0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 9 priority 128 path cost 2000
    member: e0a_bastille1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 8 priority 128 path cost 2000
    member: vlan200 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 6 priority 128 path cost 800
    groups: bridge
    nd6 options=9<PERFORMNUD,IFDISABLED>
e0a_bastille1: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
    description: vnet host interface for Bastille jail nms
    options=8<VLAN_MTU>
    ether 02:20:99:4c:84:f0
    hwaddr 02:a8:b6:50:0e:0a
    groups: epair
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
e0a_bastille0: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
    description: vnet host interface for Bastille jail testing
    options=8<VLAN_MTU>
    ether 02:20:98:4c:84:f0
    hwaddr 02:33:37:e1:d2:0a
    groups: epair
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
 
do someone has an idea about it? Is there way to keep DAD?Is this really related to the mellanox driver? ANy hint is welcome.
 
Back
Top