buglwIP - A Lightweight TCP/IP stack - Bugs: bug #58103, IPV6 udp_send() fails when...


You are not allowed to post comments on this tracker with your current authentication level.

bug #58103: IPV6 udp_send() fails when enabling Dual Stack(IPV4 and IPv6) configuration and with multiple interface

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Thu 02 Apr 2020 06:38:24 PM UTC
Category:  UDP Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  * Other
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Thu 02 Apr 2020 06:38:24 PM UTC, original submission:  

This is from lwip-users (https://lists.nongnu.org/archive/html/lwip-devel/2020-03/msg00000.html):


In my current project i have enabled Dual Stack (IPv4 and IPv6) with
multiple interfaces.

My query : How to send IPV6 udp packet from the second interface when source
address is 0?
I'm binding the socket with port only.

Trying the below sequence:
- Add interface-1 to the netif list, bring up interface-1.
- send and receive the IPv4 and IPv6 packets with interface-1.
- Bring down interface-1.
- Add interface-2 to netif list, bring up interface-2.
- send and receive the IPv4 packets with interface-2.
- send multicast link-local IPv6 packets with interface-2. udp_send() FAIL,
since ip6_route() returns interface as NULL.

Please give some solution.

Thank you,

Simon Goldschmidt <goldsimon>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    No changes have been made to this item

    Back to the top

    Powered by Savane 3.9