[ipxe-devel] [ipxe] Adoptation of IPv6 from gPXE (#6)
Anton D. Kachalov
mouse at yandex-team.ru
Sun Aug 26 11:40:40 UTC 2012
Hello, Ivan.
24.08.2012, 21:38, "Ivan Shmakov" <oneingray at gmail.com>:
> I'm yet to test if the IPv6 support works, but virtio-net.lkrn
> boots under QEMU, and the config command allows the ip6 value to
> be set. Note, however, that if I set it to, say, 2001:db8::1
> there, it changes to 2001:db8::549e:300:8a41:1 instantly, which
> looks like a bug.
Looks like memory is not initialised with zeroes. Will fix. Just add the following line to the start of the routine src/net/ipv6.c:inet6_aton()
memset ( inp, 0, sizeof ( struct in6_addr ) );
at line around 830.
> Being interested in discarding the last bits of IPv4 off my
> network, I'd be glad to participate in testing of the new iPXE
> revisions aiming at completion of the IPv6 support. TIA.
Your IPv6 network is 2001:db8::/64. What bits from IPv4(?)?
I'm currently working on net_driver to send NDP when network interface brought up. This should be sufficient to the proper auto-configuration.
Michael, would it be fine to accept multiple RAs but allow to set/edit only one manual IPv6? Other IPv6 address could be seen via "route" command. Otherwise, is there any suggestions to have multiple edit like:
net0/
.... ip6/
......... 0 -> "2001:db8::1/64 via 2001:db8::"
......... 1 -> "2a02:6b7:0:c32::d5/64 via 2a02:6b7:0:c32::"
and parse/format it to/from ipv6 miniroute linked list. Indexes "0", "1" might represents a reference to an item in the list.
--
Anton D. Kachalov
More information about the ipxe-devel
mailing list