From owner-freebsd-net@FreeBSD.ORG Thu Sep 7 10:09:52 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF83016A4DE; Thu, 7 Sep 2006 10:09:52 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DBD443D49; Thu, 7 Sep 2006 10:09:50 +0000 (GMT) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 993A733CAF; Thu, 7 Sep 2006 12:09:44 +0200 (SAST) Date: Thu, 7 Sep 2006 12:09:44 +0200 From: John Hay To: freebsd-net@freebsd.org Message-ID: <20060907100944.GA68587@zibbi.meraka.csir.co.za> References: <20060903132214.GA40993@zibbi.meraka.csir.co.za> <20060904072313.GA83757@zibbi.meraka.csir.co.za> <7.0.1.0.2.20060904152932.024c4b78@dogwood.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7.0.1.0.2.20060904152932.024c4b78@dogwood.com> User-Agent: Mutt/1.4.2.1i Cc: gnn@freebsd.org Subject: Re: ipv6 host routes X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 10:09:52 -0000 Ok, I still have no joy adding an IPv6 route. Can anybody tell me what I do wrong? What I understand from the route(8) man page is that this command should work: route add -inet6 rtr2 rtrg -interface Where rtr2 is the destination address and rtrg is my address on the interface that rtr2 is connected to. I have the following lines in my /etc/hosts file: 2001:4200:7000:15:202:6fff:fe22:9547 rtrg 2001:4200:7000:15:202:6fff:fe41:1927 rtr2 When I do the route add command the kernel prints this message: nd6_rtrequest: bad gateway value: ath0 Ifconfig of the interface looks ok to me: ifconfig ath0 ath0: flags=8843 mtu 1500 inet6 fe80::202:6fff:fe22:9547%ath0 prefixlen 64 scopeid 0x3 inet6 2001:4200:7000:15:202:6fff:fe22:9547 prefixlen 64 inet6 2001:4200:7000:15:: prefixlen 64 anycast ether 00:02:6f:22:95:47 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: associated ssid koppiemesh channel 149 bssid 02:02:6f:22:95:47 authmode OPEN privacy OFF txpowmax 24 bmiss 7 burst bintval 100 After the route add, this new entry arrived in the routing table according to: netstat -rnf inet6 2001:4200:7000:15:202:6fff:fe41:1927 2001:4200:7000:15:202:6fff:fe22:9547 UHS ath0 I looked with ndp -a, but nothing was added there. Anybody got any ideas? This is the last part of getting olsrd to work properly on FreeBSD using IPv6. John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org