From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9774 invoked by alias); 19 Dec 2012 09:29:29 -0000 Received: (qmail 9764 invoked by uid 22791); 19 Dec 2012 09:29:29 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ie0-f170.google.com (HELO mail-ie0-f170.google.com) (209.85.223.170) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Dec 2012 09:29:22 +0000 Received: by mail-ie0-f170.google.com with SMTP id k10so2390207iea.1 for ; Wed, 19 Dec 2012 01:29:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.222.166 with SMTP id qn6mr6027458igc.47.1355909362256; Wed, 19 Dec 2012 01:29:22 -0800 (PST) Received: by 10.64.73.135 with HTTP; Wed, 19 Dec 2012 01:29:22 -0800 (PST) Date: Wed, 19 Dec 2012 09:29:00 -0000 Message-ID: From: cyl cyl To: eCos Users Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] function in6_selectroute fail X-SW-Source: 2012-12/txt/msg00039.txt.bz2 Hello: I want to add ipv6 to my eth . Stack is bsd_tcpip, I configured "IPv6 support" and "Multicast routing support" and "Thread for IPv6 routing". I traced "sendto": bsd_sendit -> sosend -> udp6_send -> udp6_output -> in6_selectsrc -> in6_selectif -> in6_selectroute. And found "in6_selectroute" (in6_src.c) returns error, errno is EHOSTUNREACH. if (ro->ro_rt == NULL){ error = EHOSTUNREACH; } I don't know how to set v6 route for eth0 , does IPv6 routing thread do this work ? Thanks for anything . -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss