[ipxe-devel] [ipxe] Adoptation of IPv6 from gPXE (#6)

Anton D. Kachalov mouse at yandex-team.ru
Sun Aug 26 20:29:03 UTC 2012


 - Add "accept-ra" setting to manage RA autoconfiguration.
 - Added IPv6 net_driver to send Router Solicitation when network brought up.
 - Added RDNSS option support. Only first IP accepted.
 - Minor fixes as mentioned below.

I will test it also on real network with multiple RAs, real v6 DNS and real hardware.


26.08.2012, 15:40, "Anton D. Kachalov" <mouse at yandex-team.ru>:
> 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
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

-- 
Anton D. Kachalov

ITO, R&D group, System Architect
Tel: +7 (495) 739-70-00 ext.7613
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-ipv6.patch
Type: text/x-c++
Size: 77259 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120827/f1cc4c8e/attachment.bin>


More information about the ipxe-devel mailing list