weaveworks / ignite

Ignite a Firecracker microVM
https://ignite.readthedocs.org
Apache License 2.0
3.49k stars 224 forks source link

Support IPv6 nameservers with DHCPv6 #440

Open stealthybox opened 4 years ago

stealthybox commented 4 years ago

Currently, we are using this DHCPv4 implementation: https://godoc.org/github.com/krolaw/dhcp4 This has the limitation of only supporting IPv4 DNS servers.

This looks like it might be a good candidate for DHCPv6: https://godoc.org/github.com/insomniacslk/dhcp/dhcpv6

The modifier functions look easier to work with. WithDomainSearchList() takes []string instead of a single slice of []byte. WithDNS() actually works with []net.IP.

This would replace the DHCP server that runs inside of ignite-spawn. See pkg/container/dhcp.go

shovanmaity commented 4 years ago

@stealthybox @chanwit I would like to give this a try.

chanwit commented 4 years ago

Surely, yes. Thank you @imazik !

chanwit commented 4 years ago

/contributor-assign @imazik

gpauloski commented 4 years ago

@imazik @chanwit Is this still being worked on? I would like to work on it as well.

stealthybox commented 4 years ago

@gpauloski no it's not received any updates. Please work on this if you still have the desire and bandwidth :)

Nit123 commented 3 years ago

Hello, I am a student from the University of Texas at Austin. I wanted to know if a group of my colleagues and I could work on this issue as part of an assignment for my virtualization class as well as a recap on any work that's been done on the issue so far. Thanks in advance!

gpauloski commented 3 years ago

My group focused on some other open issues so we did not end up doing any work on this.

supra08 commented 3 years ago

Is anyone working on this? I would like to take a stab at this.

stealthybox commented 3 years ago

@supra08, nobody is working on this to our knowledge. Feel free to join our dev call on Mondays if you want help getting started!

supra08 commented 3 years ago

Sure, that would be great!

casibbald commented 3 years ago

Do we have the same support for IPv4?

One would expect we should have this in place first, and is in fact valuable for another piece of work we have.

Charles Sibbald Customer Success Engineer

charles.sibbald@weave.works +44 7903 781 536

On 5 Jan 2021, at 01:02, Supratik Das notifications@github.com wrote:

Sure, that would be great!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/weaveworks/ignite/issues/440#issuecomment-754274394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6C34U2P5WMHXQRXIUELLSYJCHBANCNFSM4IYF75JA.

stealthybox commented 3 years ago

@casibbald yep, the ignite-spawn sandbox uses a temporary, in-process DHCPv4 server to do a one-time configuration of the firecracker linux guest for any needed IPv4 addresses.

This issue is about expanding that existing mechanism to support DHCPv6 and IPv6.