[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02780) Adding IPv6 addrs with finite lifetime



Hi there

I'm developing GPLed DHCPv6 for Linux systems. It's almost completed, but I came upon a problem I cannot solve. How do I add dynamicIPv6 address (with finite prefered-lifetime and valid-lifetime)?

I've tried to find it in ip-route2 code, with no luck. "ip addr" just prints available addresses. There is no way to add new ones. I know that kernels are supporing this feature. For example, I've set up a radvd and hosts have used dynamic addresses. It was a diffrent matter, however. Messages from radvd were received at kernel level and no user-space programs were involed in this.

Is there any way to add such dynamic addresses? Any reference or code would be greatly appreciated.

Greetings from Poland.

--
Tomasz Mrugalski
spam@xxxxxxxxxxx

p.s.
Sorry, if this is wrong list. If so, please tell me, where should I send my request.