Project

General

Profile

Feature #2315

IPv6 Support

Added by Brian Rak over 6 years ago. Updated over 2 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
Network
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

It would be nice to be able to manage IPv6 hosts/subnets within Foreman.

Dealing with PXE/DHCP over IPv6 would also be nice, but I can't imagine that being terribly easy to implement (I don't even think I can do it on my network currently, so I'm not concerned about that).


Related issues

Related to Foreman - Bug #8639: IPv6 address don't report correctly from puppet reportsNew2014-12-09
Related to Smart Proxy - Feature #13544: Support IPv6 DNS in smart-proxyClosed2016-02-03
Related to Foreman - Refactor #14638: Refactor Subnet into STI to allow different subnet typesClosed2016-04-14
Related to Foreman - Feature #14642: Support AAAA and PTR-Records for IPv6 Closed2016-04-14
Related to Foreman - Feature #14661: Support IPv6 SubnetsClosed2016-04-15
Related to Foreman - Feature #14663: Support IPv6 DNS OrchestrationClosed2016-04-15
Related to Foreman - Feature #14664: Add IPv6 Subnet to Host, Hostgroup and Nic ModelsClosed2016-04-15
Related to Foreman - Feature #14665: Add IPv6 Support to APIClosed2016-04-15
Related to Discovery - Support #14968: Support for IPv6New2016-05-09
Related to Foreman - Feature #15590: Support IPv6 TFTP orchestrationClosed2016-07-06
Related to Foreman - Feature #15612: Support DHCPv6 provisioningAssigned
Related to Foreman - Feature #16951: Support IPv6 Compute OrchestrationClosed2016-10-14
Related to Foreman - Bug #17895: Foreman stores link local IPv6 addressClosed2017-01-02

History

#1 Updated by Dominic Cleal about 6 years ago

  • Description updated (diff)
  • Category set to Network

#2 Updated by Dominic Cleal about 6 years ago

  • Tracker changed from Bug to Feature

#3 Updated by Dominic Cleal about 6 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal
  • % Done changed from 0 to 50

#4 Updated by Florian Schwab over 5 years ago

Any updates or plans when it will be implemented?

#5 Updated by Ronald van Zantvoort about 5 years ago

IPv4 is rapidly running out here and we're now starting to recycle our own unused IPv4's (they're becoming valuable <sigh>) for our customers in favour of an IPv6 setup. The branch already looked in pretty good shape, especially for a single commit ;)
Please consider adding at least basic subnet administration for 1.7!

#6 Updated by Clemens Bergmann about 5 years ago

Hi There,

we currently start using foreman for autoprovisioning of new servers. The only thing missing is IPv6. So I would also be happy if we could get this into master.

#7 Updated by Arnold Bechtoldt about 5 years ago

+1

We need to assign IPv6 prefixes to NICs/ hosts and already have some IPv6 only setups.

#8 Updated by David LeVene almost 5 years ago

  • Related to Bug #8639: IPv6 address don't report correctly from puppet reports added

#9 Updated by Tomas Olivares about 4 years ago

Hi Dominic,

I checked the latest (and only) commit to this feature and was wondering what are you missing from this. I can see tests were added as well with FactoryGirl, etc. (https://github.com/domcleal/foreman/compare/2315-ipv6)
Maybe someone can chime in and do those missing features/lines.

Thanks!

#10 Updated by Dominic Cleal about 4 years ago

  • Status changed from Assigned to New
  • Assignee deleted (Dominic Cleal)
  • % Done changed from 50 to 20

The branch is very out of date so isn't any use on current versions of Foreman - it'd need updating as all of the IP logic has moved to the NIC models.

The TODO items were:

  • updated views for hosts/NICs
  • DNS and DHCP orchestration
  • CIDR prefix support instead of mask

And for proper DNS and DHCP support, the smart proxy needs checking over to see how well it provides v6 support for its DNS, DHCP and TFTP features.

#11 Updated by Marek Hulán about 4 years ago

The biggest change I see is that in IPv6, one interface have more than one IP. Hence the question is if we should make address a first class citizen object. At least keeping this information in Foreman as a first step would be beneficial I think.

Regarding the provisioning using DHCP6 I think the whole process would be completely different as stateful DHCP configuration in IPv6 is rare. Anyone knows how common is it to have implementation of PXE with IPv6 support?

#12 Updated by Ewoud Kohl van Wijngaarden almost 4 years ago

#13 Updated by Timo Goebel over 3 years ago

  • Assignee set to Timo Goebel

I have started continuing Dominic's work.

WIP: https://github.com/theforeman/foreman/compare/develop...timogoebel:2315-ipv6?expand=1

I want to support the following workflow:
A Host can have an IPv6 Subnet attached and the address is generated via EUI64 (the same way it's done in SLAAC). A AAAA-Record and PTR-Record is then set via Smart Proxy for that address.
I don't want to support BMC and DHCPv6, yet. Also I don't want to make the ip address a first class citizen object as of now.

I still have some items on my todo list. The larger items are EUI64 and Fact Parsing.

#14 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3420 added

#15 Updated by Timo Goebel over 3 years ago

  • Status changed from Ready For Testing to Assigned
  • Pull request deleted (https://github.com/theforeman/foreman/pull/3420)

Splitting the PR into separate tickets.

#16 Updated by Timo Goebel over 3 years ago

  • Related to Refactor #14638: Refactor Subnet into STI to allow different subnet types added

#17 Updated by Timo Goebel over 3 years ago

  • Related to Feature #14642: Support AAAA and PTR-Records for IPv6 added

#18 Updated by Timo Goebel over 3 years ago

#19 Updated by Timo Goebel over 3 years ago

#20 Updated by Timo Goebel over 3 years ago

  • Related to Feature #14664: Add IPv6 Subnet to Host, Hostgroup and Nic Models added

#21 Updated by Timo Goebel over 3 years ago

#22 Updated by Lukas Zapletal over 3 years ago

#23 Updated by Lukas Zapletal over 3 years ago

  • Related to Bug #14980: Unused_ip AJAX request fails: undefined method `from' for #<IPAM::Dhcp..> added

#24 Updated by Dominic Cleal over 3 years ago

  • Related to deleted (Bug #14980: Unused_ip AJAX request fails: undefined method `from' for #<IPAM::Dhcp..>)

#25 Updated by Timo Goebel over 3 years ago

#26 Updated by Timo Goebel over 3 years ago

#27 Updated by Timo Goebel about 3 years ago

#28 Updated by Ewoud Kohl van Wijngaarden almost 3 years ago

  • Related to Bug #17895: Foreman stores link local IPv6 address added

Also available in: Atom PDF