diff options
author | Tore Anderson <tore@fud.no> | 2018-11-18 20:13:46 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-10-14 14:51:29 +0100 |
commit | 0c25daad38b2b345fbe6c4838ea2d9c82cc08228 (patch) | |
tree | 265ba1e74e107fbf106598959cc560bdd3535814 | |
parent | 388d657080d5088ab7832fcb0ec71a9a50c3a59f (diff) | |
download | ipxe-0c25daad38b2b345fbe6c4838ea2d9c82cc08228.tar.gz |
[efi] Enable NET_PROTO_IPV6 by default
IPv6 PXE was included in the UEFI specification over eight years ago,
specifically in version 2.3 (Errata D).
http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_3_D.pdf
When iPXE is being chainloaded from a UEFI firmware performing a PXE
boot in an IPv6 network, it is essential that iPXE supports IPv6 as
well.
I understand that the reason for NET_PROTO_IPV6 being disabled by
default (in src/config/general.h) is that it would cause certain
space-constrained build targets to become too large. However, this
should not be an issue for EFI builds.
It is also worth noting that RFC 6540 makes a clear recommendation
that IPv6 support should not be considered optional.
https://tools.ietf.org/html/rfc6540
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Tore Anderson <tore@fud.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r-- | src/config/defaults/efi.h | 2 | ||||
-rw-r--r-- | src/config/general.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h index 4ae6a316e..0979887fc 100644 --- a/src/config/defaults/efi.h +++ b/src/config/defaults/efi.h @@ -24,6 +24,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define ACPI_EFI #define FDT_EFI +#define NET_PROTO_IPV6 /* IPv6 protocol */ + #define DOWNLOAD_PROTO_FILE /* Local filesystem access */ #define IMAGE_EFI /* EFI image support */ diff --git a/src/config/general.h b/src/config/general.h index 3c14a2cd0..0c99bcbb6 100644 --- a/src/config/general.h +++ b/src/config/general.h @@ -35,7 +35,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); */ #define NET_PROTO_IPV4 /* IPv4 protocol */ -#undef NET_PROTO_IPV6 /* IPv6 protocol */ +//#define NET_PROTO_IPV6 /* IPv6 protocol */ #undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */ #define NET_PROTO_STP /* Spanning Tree protocol */ #define NET_PROTO_LACP /* Link Aggregation control protocol */ |