This is a discussion on Manipulating interface IPv6 addresses within the Linux Networking forums, part of the Linux Forums category; Hello to everybody, I'm writing an application that works like a sort of Router Advertisement Deamon for IPv6. I'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello to everybody, I'm writing an application that works like a sort of Router Advertisement Deamon for IPv6. I'm looking for a way to assign a (global) IPv6 address to an interface. I found somewhere you can do that via netlink. Is that the right way? Is there a simpler one? And where can I find detailed netlink documentation? I would be very happy if someone could help me!!! Greetings Max |
|
|||
|
"Massimiliano Marcon" <marcon@ira.uka.de> wrote in message
news:d8mgpb$a1j$3@news2.rz.uni-karlsruhe.de... > I'm writing an application that works like a sort of Router > Advertisement Deamon for IPv6. I'm looking for a way to assign a > (global) IPv6 address to an interface. I found somewhere you can do that > via netlink. Is that the right way? Is there a simpler one? Why not examine the source code for ifconfig: Options ... add addr/prefixlen Add an IPv6 address to an interface. del addr/prefixlen Remove an IPv6 address from an interface. |