Reply
New Member
Posts: 3
Registered: Monday

Huge amount of IPv6 addresses, Edgerouter X and Ubuntu

Since I changed to Edgerouter X my Ubuntu client has over 350 IPv6 addresses, and gets new ones all the time. Theese are public IPv6, 2601:645:: (Comcast).
I didn't have this problem with the pevious router, I had about 5 public at a time.

What is the problem?

Established Member
Posts: 1,837
Registered: ‎03-02-2016
Kudos: 446
Solutions: 142

Re: Huge amount of IPv6 addresses, Edgerouter X and Ubuntu

[ Edited ]

Sounds like Ubuntu is just assigning itself lots of addresses. This is pretty normal. Each process can request its own temp IPv6 address or addresses. I forget what it's called, but it's to provide throwaway addresses not tied to the machine's hardware MAC since, as you mention, the addresses are publicly routable.

 

350 addresses does seem like a lot. however. My Ubuntu box has 8 at the moment.

New Member
Posts: 3
Registered: Monday

Re: Huge amount of IPv6 addresses, Edgerouter X and Ubuntu

I know of this concept with requiring new IP-addresses for privacy reasons, hiding the true MAC for the Internet. With my previous router I used to have 5-10 at a time, but since I switched to Edgerouter I have hundreds.

Emerging Member
Posts: 107
Registered: ‎07-09-2016
Kudos: 35
Solutions: 4

Re: Huge amount of IPv6 addresses, Edgerouter X and Ubuntu

[ Edited ]

Does the delegated prefix change very often?

New Member
Posts: 3
Registered: Monday

Re: Huge amount of IPv6 addresses, Edgerouter X and Ubuntu

No, I always had the same ::/64 prefix, except I got a new one when I changed to Edgerouter,

Emerging Member
Posts: 55
Registered: ‎11-09-2015
Kudos: 3
Solutions: 4

Re: Huge amount of IPv6 addresses, Edgerouter X and Ubuntu

 

You probably need to post the IPv6 config from your Edgerouter + the output of  "ip -6 address" from your Ubuntu box do get any further diagnosis.

 

New Member
Posts: 9
Registered: ‎12-20-2016
Solutions: 1

Re: Huge amount of IPv6 addresses, Edgerouter X and Ubuntu

Hello,

 

You might want to check your settings in:

/etc/sysctl.d/10-ipv6-privacy.conf

 

# Acceptable values:
# 0 - don’t use privacy extensions.
# 1 - generate privacy addresses
# 2 - prefer privacy addresses and use them over the normal addresses.
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0

 

Matthew

 

Reply