Multiple IPv6 static addresses on one interface?
![]()
On a Linux based host how can I assign multiple IPv6 addresses to one interface? I had tried adding two 'address' lines under an interface in the /etc/network/interfaces file, but that did not seem to work. Any ideas?
Multiple IPv6 static addresses on one interface?
You might want to read Debian interfaces see the bottom section for the details.
In summary, just add multiple 'interface' sections with static addresses and skip the gateway definition.
Typically defining them as /128 is a good idea btw even though the real interface is a /64.
Note that you will run into a lot of fun with outbound addresses, as a random one more or less is chosen... (depends typically on the order of add and/or on the deprecate flag if code is good).
|