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

Brandon Penglase bpenglase-ipxe at Spaceservices.net
Wed Oct 10 02:03:51 UTC 2012


Old Thread Resurrection Time!

Ok, so I took your original patch from the first email, and the one
from the one I'm replying to, and combined them into a patch against the
current (as of 10/09/12 @ 21:55 EDT) master. This is attached.

This is working, in that I can do an ifopen, it gets a IP assigned from
via SLAAC. At this point, I've hit two problems.

1. When I try to ping the IPv6 address from another machine, I can
usually get one ping in, then the machine locks up (VMWare VM in this
case). Once I got 3, and then the VM told me the CPU entered a shutdown
state. Also, if it matters, the pings were 100+ms.

2. When I try to chainload to a IPv6 only address (via DNS), I see the
DNS Query, and it gets the response, however at that point, ipxe throws
"Connection Reset (http://ipxe.org/0f0c6039)".

At this point I'm not really sure how to proceed, as I'm not that
familiar with the code. But, at the very least, I figured I would hit
the ML up with the patch against the current master.

Note: needs -p1 when applying.

	Brandon Penglase


On Mon, 27 Aug 2012 00:29:03 +0400
Anton D. Kachalov <mouse at yandex-team.ru> wrote:

>  - 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-patch
Size: 76235 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20121009/c3372da3/attachment.bin>


More information about the ipxe-devel mailing list