wengzhe commented on PR #11378:
URL: https://github.com/apache/nuttx/pull/11378#issuecomment-1853811718

   > I gave commit 9b06eba a quick test run, issues:
   > 
   > 1. The main IPv6 address is not added to MAC filter if it is configured 
before ifup call. It looks like `netdev_ipv6_mcastmac()` never gets called for 
it.
   > 2. Ping works to address added with `ifconfig eth0 inet6 add fd0f::e200` 
but gives warning:
   > 
   > PING fd0f::e200(fd0f::e200) 56 data bytes
   > 64 bytes from fd0f::e100: icmp_seq=2 ttl=64 time=0.171 ms (DIFFERENT 
ADDRESS!)
   > 64 bytes from fd0f::e100: icmp_seq=3 ttl=64 time=0.187 ms (DIFFERENT 
ADDRESS!)
   > 3. TCP connections do not work because the response comes from wrong IP 
address.
   > 
   > Problems 2 and 3 exist prior to this commit. I think I'll try to make a 
fix for those, because TCP connections not working is a blocker for my 
application. I can assign IP addresses so that 4 last bytes are equal, so I'm 
fine with taking our time with the MAC filter fix.
   
   @PetteriAimonen Are you using netinit to initialize your main IPv6 address? 
I forgot to change the IOCTL `SIOCSLIFADDR` which is also left for backward 
compatibility and is used by netinit. You may try 430289b107 to see if it's 
correct now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to