[radvd-devel-l] radvd on dynamically created interfaces
Mon, 8 Apr 2002 21:33:09 +0200
> Proposed solution:
> - New configuration directive that allows interfaces to be marked
> "optional", meaning that if they are not present on radvd startup, they
> will be ignored.
> - Errors from sendmsg() that indicate that an interface has been disabled
> cause radvd to discontinue advertising to that interface.
> These changes will allow you to list all your ppp interfaces in
> radvd.conf, and radvd will only advertise to interfaces that are up.
> Whenever a new ppp session begins, you will need to SIGHUP radvd (probably
> from /etc/ppp/if-up or whatever) to tell it to rescan the interfaces.
radvd could listen on one of the following Kernel's messages:
BSD: - IFAN_ARRIVAL when an interface is added
- IFAN_DEPARTURE when an interface is removed
Linux:: - RTM_NEWLINK when an interface is added
- RTM_DELLINK., otherwise
Then it would not need any SIGHUP message.