[ECOS] Re: Using rtrequest to add an IPv6 default route

Shaun Louie sal@microplex.com
Fri May 9 19:24:00 GMT 2008


Solved: I had programmed an all ones netmask for the link-local 
interface address.

Shaun Louie wrote:
> Hello,
>
> In the defrouter_addreq function in 
> "/net/bsd_tcpip/current/src/sys/netinet6/nd6_rtr.c" it will do a 
> rtrequest for the IPv6 link-local address of the chosen default router 
> (from router advertisements).  However, I'm getting a 351 (ENETUNREACH) 
> error code from rtrequest.  I'm wondering if maybe the ifa_ifwithnet 
> function (/net/bsd_tcpip/current/src/sys/net/if.c) doesn't handle IPv6 
> addresses properly and is causing ifa_ifwithroute to return NULL. 
>   
Shaun Louie

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list