netbootxyz / netboot.xyz

Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
https://netboot.xyz
Apache License 2.0
8.94k stars 670 forks source link

Dualstack with IPv6 #1200

Open zacekjakub opened 1 year ago

zacekjakub commented 1 year ago

Describe the bug If I enable dualstack on my network with IPv6, no system can be run

To Reproduce Steps to reproduce the behavior: Just enable IPv6

Expected behavior In case of dualstack, IPv6 should never "break" the IPv4 protocol behavior.

Additional context I guess some of the servers with content that needs to be downloaded are not IPv6 capable so the container uses IPv6 to reach some files and it fails?

oe3gwu commented 1 year ago

I can reproduce this.

Dual stack doesnt allow to connect to boot.netboot.xyz.

IMG_2165

gema-arta commented 1 year ago

@zacekjakub @oe3gwu This is ipxe trouble -- intersects by #283 Briefly -- the ipxe developers do not want to follow the dualstack standard and are trying a simplistic approach. The result is bad. They call it a "heuristic" approach. Being obtained in any way ipv6 has the highest priority and cannot be disabled or reconfigured. Even if it is a local link ipv6.

nrvale0 commented 4 weeks ago

Hope it's ok to drop this here. A possible work-around if using Unbound: https://github.com/netbootxyz/netboot.xyz/issues/283#issuecomment-2296911959