|
From: | Zayzay, Edman G |
Subject: | Re: [lwip-users] [EXTERNAL] SLAAC |
Date: | Wed, 5 Oct 2022 20:55:06 +0000 |
LWIP 2.1.3 already provide a way for you to do SLAAC. Enable CONFIG_LWIP_IPV6_AUTOCONFIG and Look at the following functions
netif_create_ip6_linklocal_address() and eui64_copy(). You will need to send router solicitation to get the network prefix on the interface also. Edman Edman G. H Zayzay Principal Embedded Software Engineer Energy Automation Solutions (EAS) Suite 480 Rockville, Maryland, U.S.A. 20850 From: lwip-users <lwip-users-bounces+edmangzayzay=eaton.com@nongnu.org>
On Behalf Of Thompson, Jeff I think I want to use SLAAC in my device so that it can automatically configure its IPv6 address. Do I need to implement NDP or SEND to do that, or does lwIP 2.1.3 already provide that? How do I use lwIP to get my device an IPv6 address
this way? I have used DHCP to get an IPv4 address and can set up my device for a static IPv4 address, netmask, and gateway, but I have no idea how to get it configured to use IPv6. I’ve been poking around the Internet for a getting started guide or user’s
guide, but coming up empty-handed. Jeff Thompson | Senior Electrical
Engineer - Firmware |
[Prev in Thread] | Current Thread | [Next in Thread] |