This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using rtrequest to add an IPv6 default route


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]