No RTM_NEWADDR message generated when adding IPv6 addresses to a tun interface
Michael Tuexen
Michael.Tuexen at lurchi.franken.de
Thu May 28 23:12:25 UTC 2015
Dear all,
I'm using a tun interface with the IFF_BROADCAST | IFF_MULTICAST mode.
I can use ifconfig to add an IPv4 or IPv6 address. So far so good.
I'm running a program which gets all messages from a routing socket.
When I'm adding an IPv4 address to the tun interfaces, I receive
a RTM_NEWADDR routing message with the added address. However, I
do NOT receive one, when I'm adding an IPv6 address.
When deleting an IPv4 or IPv6 address, I do receive the corresponding
RTM_DELADDR message.
Does anyone know why I'm not receiving the RTM_NEWADDR when adding
an IPv6 address to a tun interface?
If it matters, the above is tested on head...
Best regards
Michael
More information about the freebsd-net
mailing list