Skip site navigation (1)Skip section navigation (2)
From:      Mark Johnston <markj@freebsd.org>
To:        Marco Moock <mm@dorfdsl.de>
Cc:        freebsd-net@freebsd.org
Subject:   Re: QEMU netstat -ian is missing multicast addresses for ethernet devices
Message-ID:  <aYEHyZ3ZYAfJivGE@nuc>
In-Reply-To: <20260202200851.65da6b9d@ryz.dorfdsl.de>

index | next in thread | previous in thread | raw e-mail

On Mon, Feb 02, 2026 at 08:08:51PM +0100, Marco Moock wrote:
> Hello!
> 
> I noticed a strange situation on 2 different FreeBSD machines, both are
> on qemu (one on a hoster, the other on my own Linux system).
> 
> For vtnet, em and le, I noticed that when an IPv6 address is assigned,
> netstat -ain does not display the related multicast addresses (e.g. the
> mandatory all-nodes or solicited node addresses). Although it displays
> the multicast addresses for lo0.
> 
> On a virtualbox machine, those multicast addresses are displayed properly.
> 
> Can anyone confirm this and let me know where the issue is?

This might be fixed by the following commit:
https://cgit.freebsd.org/src/commit/?id=0952943a680dca12fe8f65f8813a9dca0783ce88

That patch will be in 14.4 and 15.1.

> I assume it is listening on those addresses, as NDP is working.
> 
> [m@host ~]$ netstat -ain
> Name     Mtu Network                Address                                Ipkts Ierrs Idrop       Opkts Oerrs  Coll
> vtnet0  1500 <Link#1>               52:xyz                 2117994619     0     0  1488531816     0     0
> vtnet0     - 7xyz/24        7xyz                     1457062414     -     -  1748874037     -     -
> vtnet0     - fe80::%vtnet0/64       fe80::xyz%vtnet0       28527     -     -       77718     -     -
> vtnet0     - 2xyz::/64  2xyz9                619818192     -     -   387236589     -     -
> lo0    16384 <Link#2>               lo0                                  2544743     0     0     2544743     0     0
> lo0        - ::1/128                ::1                                  1154156     -     -     1310680     -     -
>                           ff01::1%lo0      
>                           ff02::2:xyz
>                           ff02::2:xyz
>                           ff02::1%lo0      
>                           ff02::1:ff00:1%lo
> lo0        - fe80::%lo0/64          fe80::1%lo0                                0     -     -           0     -     -
>                           ff01::1%lo0      
>                           ff02::2:xyz
>                           ff02::2:xyz
>                           ff02::1%lo0      
>                           ff02::1:ff00:1%lo
> lo0        - 127.0.0.0/8            127.0.0.1                                  8     -     -     1390587     -     -
>                           224.0.0.1        
> [m@host ~]$ 
> 
> -- 
> kind regards
> Marco
> 
> Send unsolicited bulk mail to 1770058571muell@stinkedores.dorfdsl.de


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aYEHyZ3ZYAfJivGE>