From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11607 invoked by alias); 26 Aug 2004 19:48:11 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 11563 invoked from network); 26 Aug 2004 19:48:03 -0000 Received: from unknown (HELO web40907.mail.yahoo.com) (66.218.78.204) by sourceware.org with SMTP; 26 Aug 2004 19:48:03 -0000 Message-ID: <20040826194803.79379.qmail@web40907.mail.yahoo.com> Received: from [69.110.127.98] by web40907.mail.yahoo.com via HTTP; Thu, 26 Aug 2004 12:48:02 PDT Date: Thu, 26 Aug 2004 20:43:00 -0000 From: bhanuprakash kandimalla To: Andrew Lunn Cc: ecos-discuss@sources.redhat.com In-Reply-To: <20040825182124.GA4059@lunn.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-355429432-1093549682=:79147" Subject: Re: [ECOS] IPV6 Testing X-SW-Source: 2004-08/txt/msg00396.txt.bz2 --0-355429432-1093549682=:79147 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Content-length: 2960 --- Andrew Lunn wrote: > On Wed, Aug 25, 2004 at 10:51:06AM -0700, > bhanuprakash kandimalla wrote: > > > > --- Andrew Lunn wrote: > > > > > On Tue, Aug 24, 2004 at 07:07:44PM -0700, > > > bhanuprakash kandimalla wrote: > > > > Hello ECOS World: > > > > I am testing ecos for i386pc(with net > template). I > > > am > > > > using the test case as mentioned in the ecos > > > document. > > > > When I called the (ping_test.c file) > net_test() > > > > function ( I commented the ipv4 part) I am > always > > > > getting the following message: "No Router > > > > advertisement received" > > > > Which means that cyg_net_get_ipv6_advrouter() > is > > > > returning 0. Can someone suggest me what this > > > > net_test() will test for IPV6. My intention is > to > > > > ping6 another IPV6 host. The ping from another > > > ipv6 > > > > host to the target is working just fine. > > > > > > By default, eCos expects an IPv6 router > advertisent > > > server, such as > > > radvd, on the network. This allows the IPv6 host > to > > > make its own IP > > > address from the network portion advertised in > the > > > rputer advert and > > > the MAC address for the lower part of the IP > > > address. > > > > > > Either starically configure the IPv6 addresses > or > > > start a radvd > > > daemon. > > Statically...can this be done in the config tool? > In > > the config tool, I already selected > > BasicNetworkingFramework-->INET support-->IPv6 > > Support. I disabled the option "Options > controlling > > IPv6 routing. > > I am using all static IPv4 and Ipv6 addresses. > Ping4 > > works fine. > > For ping6, I provide the IPV6 address as > following: > > void ping6_start(void) > > { > > struct sockaddr_in6 ipv6router; > > struct in6_addr in6addr={{{0xfe,0x80, 0, 0, 0, 0, > 0, > > 0, 0x2, 0x1, 0x02, 0xff,0xfe, 0x37, 0x2e, 0xa0}}}; > > > > > > ipv6router.sin6_len=sizeof(ipv6router); > > ipv6router.sin6_family=AF_INET6; > > ipv6router.sin6_port=0; > > ipv6router.sin6_addr=in6addr; > > > > ping6_test(&ipv6router); > > } > > > > Am i missing anything here? I am getting the > following > > message: > > "PING6 server fe80::201:2ff:fe37:2ea0 > > sendto: No route to host". This message will be > > repeated 16 times. > > So you don't have a valid route. I am wondering how is this different from IPv4. With the same functions for ipv4, ping(ipv4) works fine from the target. I guess I am missing a basic concept here. I don't have much knowledge about IPV6 stuff. Can someone suggest me what is missing here. I appreciate any help > Add a call to show_network_tables(). That will print > out all the > addresses the interfaces have and the routing table. > For reference I am attaching a textfile for the routing information. Thanks, Bhanu. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail --0-355429432-1093549682=:79147 Content-Type: text/plain; name="route_table.txt" Content-Description: route_table.txt Content-Disposition: inline; filename="route_table.txt" Content-length: 3114 Routing tables Destination Gateway Mask Flags Interface 0.0.0.0 10.21.1.1 0.0.0.0 UG eth0 10.21.1.0 10.21.1.0 255.255.255.0 U eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG lo0 127.0.0.1 127.0.0.1 UH lo0 ::1 ::1 UH lo0 3ffe:302:11:2::a15:1f6 3ffe:302:11:2::a15:1f6 UH lo0 fe80:1:: fe80:1:: /64 U eth0 fe80:1::2d0:b7ff:fe7e:436f fe80:1::2d0:b7ff:fe7e:436f UH lo0 fe80:2:: fe80:2::1 /64 U lo0 fe80:2::1 fe80:2::1 UH lo0 ff01:1:: ff01:1:: /32 U eth0 ff01:2:: ::1 /32 U lo0 ff02:1:: ff02:1:: /32 U eth0 ff02:2:: ::1 /32 U lo0 Interface statistics eth0 IP: 10.21.1.246, Broadcast: 10.21.1.255, Netmask: 255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU: 1500, Metric: 0 Rx - Packets: 8, Bytes: 983, Tx - Packets: 0, Bytes: 0 eth0 IP: fe80:1::2d0:b7ff:fe7e:436f/64 UP BROADCAST RUNNING MULTICAST MTU: 1500, Metric: 0 Rx - Packets: 0, Bytes: 0, Tx - Packets: 3, Bytes: 216 eth0 IP: 3ffe:302:11:2::a15:1f6/128 UP BROADCAST RUNNING MULTICAST MTU: 1500, Metric: 0 Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0 lo0 IP: ::1/128 NoDAD UP LOOPBACK RUNNING MULTICAST MTU: 16384, Metric: 0 Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0 lo0 IP: fe80:2::1/64 NoDAD UP LOOPBACK RUNNING MULTICAST MTU: 16384, Metric: 0 Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0 lo0 IP: 127.0.0.1, Broadcast: 127.0.0.1, Netmask: 255.0.0.0 UP LOOPBACK RUNNING MULTICAST MTU: 16384, Metric: 0 Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0 socket :3 setsocketopt =0 PING6 server fe80::201:2ff:fe37:2ea0 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host resul t: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 sendto: No route to host result: -1 --0-355429432-1093549682=:79147 Content-Type: text/plain; charset=us-ascii Content-length: 148 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss --0-355429432-1093549682=:79147--