From owner-freebsd-net@FreeBSD.ORG Thu Oct 30 21:20:22 2003 Return-Path: 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 3663416A4CE for ; Thu, 30 Oct 2003 21:20:22 -0800 (PST) Received: from eth0.b.smtp.sonic.net (eth0.b.smtp.sonic.net [64.142.19.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3080943FAF for ; Thu, 30 Oct 2003 21:20:19 -0800 (PST) (envelope-from bmah@intruder.kitchenlab.org) Received: from intruder.kitchenlab.org (adsl-64-142-31-106.sonic.net [64.142.31.106])h9V5KIuf003440 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 30 Oct 2003 21:20:18 -0800 Received: from intruder.kitchenlab.org (bmah@localhost [127.0.0.1]) h9V5KI1j011235; Thu, 30 Oct 2003 21:20:18 -0800 (PST) (envelope-from bmah@intruder.kitchenlab.org) Message-Id: <200310310520.h9V5KI1j011235@intruder.kitchenlab.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: paul van den bergen In-Reply-To: <200310311414.15989.pvandenbergen@swin.edu.au> References: <200310311414.15989.pvandenbergen@swin.edu.au> Comments: In-reply-to paul van den bergen message dated "Fri, 31 Oct 2003 14:14:15 +1100." From: "Bruce A. Mah" X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1876958278P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 30 Oct 2003 21:20:18 -0800 Sender: bmah@intruder.kitchenlab.org cc: freebsd-net@freebsd.org Subject: Re: IPv6 routing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bmah@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 05:20:22 -0000 --==_Exmh_-1876958278P Content-Type: text/plain; charset=us-ascii If memory serves me right, paul van den bergen wrote: > I am attempting to set up some static ipv6 routes on my little network. > > example: > > box1 - fec0:0:0:1::1 -------- fec0:0:0:1::2 - box 2 (router) - fec0:0:0:2:1 > -------- fec0:0:0:2:2 - box 3 > > I want to reach from box 1 to box 3 > > no route6d or anything... this is a really simple network. > > sysctl net.inet6.ip6.forwarding=1, net.inet6.ip6.accept_rtadv=0 on box 2 (the > > router) > sysctl net.inet6.ip6.forwarding=0, net.inet6.ip6.accept_rtadv=1 on boxes 1 an > d > 3 (the hosts). > > route add -inet6 -net fec0:0:0:2:: -prefixlen 64 -host fec0:0:0:1::2 > on box1 > > box2 can ping6 to box1 and box3 and vise versa. > > why can't box 1 ping6 box 3? What have I missed? Did you add a route on box3 so that it can reach box1? Remember that ping6 requires two-way connectivity. You set net.inet6.ip6.accept_rtadv=1 on the end hosts...do you have rtadvd running on box2 so that they actually acquire the routes? You haven't really provided enough information to debug the problem. How about the output of ifconfig(8) and the routing tables on all three machines? Bruce. --==_Exmh_-1876958278P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQE/ofER2MoxcVugUsMRAoOfAKDttXg7cRcekKngOEkM2/jYzvzqTACg16zz neMy9YXsXQ5zOw+ZJMtR5as= =2viv -----END PGP SIGNATURE----- --==_Exmh_-1876958278P--