NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/57037: unncessary and unwarranted RTM_NEWADDR for IPv6 routing messages
The following reply was made to PR kern/57037; it has been noted by GNATS.
From: Frank Kardel <kardel%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/57037: unncessary and unwarranted RTM_NEWADDR for IPv6
routing messages
Date: Fri, 30 Sep 2022 16:57:39 +0200
Looking at route.h we have:
#define RTM_NEWADDR 0x16 /* address being added to iface */
#define RTM_DELADDR 0x17 /* address being removed from iface */
#define RTM_CHGADDR 0x18 /* address properties changed */
Wouldn't RTM_CHGADDR be more appropriate for address parameter updates
when new new address is being added?
Frank
On 09/30/22 13:35, Joerg Sonnenberger wrote:
> The following reply was made to PR kern/57037; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <joerg%bec.de@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
> netbsd-bugs%netbsd.org@localhost
> Subject: Re: kern/57037: unncessary and unwarranted RTM_NEWADDR for IPv6
> routing messages
> Date: Fri, 30 Sep 2022 13:31:42 +0200
>
> Am Fri, Sep 30, 2022 at 09:25:01AM +0000 schrieb kardel%netbsd.org@localhost:
> > >How-To-Repeat:
> > let NetBSD autoconfigure IPv6 and watch "route monitor".
> >
> > RTM_NEWADDR: address being added to iface: len 120, pid 1709, metric 0, addrflags: 0x40<AUTOCONF>
> > sockaddrs: 0x34<NETMASK,IFP,IFA>
> > ffff:ffff:ffff:ffff:: aa:00:00:00:00:01 xxxx:yyyy:zzzz:rrrr:ssss:tttt:uuuu:vvvv
> > got message of size 112 on Fri Sep 30 08:24:57 2022
> > #12: len 112, got message of size 120 on Fri Sep 30 08:24:57 2022
> > RTM_NEWADDR: address being added to iface: len 120, pid 1709, metric 0, addrflags: 0x40<AUTOCONF>
> > sockaddrs: 0x34<NETMASK,IFP,IFA>
> > ffff:ffff:ffff:ffff:: aa:00:00:00:00:01 xxxx:yyyy:zzzz:rrrr:ssss:tttt:uuuu:vvvv
> > got message of size 112 on Fri Sep 30 08:26:58 2022
>
> So what is the life time of the addresses? Are you sure your network
> isn't forcing a renewal every minute?
>
> Joerg
>
Home |
Main Index |
Thread Index |
Old Index