SixXS::Sunset 2017-06-06

Multiple IPv6 static addresses on one interface?
[ca] Shadow Hawkins on Thursday, 23 February 2017 16:54:39
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?
[ch] Jeroen Massar SixXS Staff on Thursday, 23 February 2017 17:04:42
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).

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker