From owner-freebsd-net Thu Jun 28 11:52:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 8E9AE37B407 for ; Thu, 28 Jun 2001 11:52:37 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f5SIqbc26795 for ; Thu, 28 Jun 2001 11:52:37 -0700 (PDT) Message-Id: <200106281852.f5SIqbc26795@ptavv.es.net> To: freebsd-net@freebsd.org Subject: Odd IPv6 behavior when not connected to IPv6 net Date: Thu, 28 Jun 2001 11:52:37 -0700 From: "Kevin Oberman" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I run IPv6 on my laptop and my office system. As long as I have an IPv6 path between the systems, everything is fine. But, if there is no IPv6 link, packets to ANY IPv6 address simply go to loopback! > traceroute6 pak traceroute6 to pak.es.net (2001:400:0:11:200:f8ff:fe22:955) from fe80::1, 30 hops max, 12 byte packets 1 fe80::1 2.075 ms 0.148 ms 0.091 ms This is normally just annoying, but when I use ssh, it automatically uses IPv6 if the remote system has a AAAA DNS entry and gets upset because the the remote system has the wrong host key. (And it's the wrong system.) The only way to make ssh work is to use the -4 option to force it to v4. Is this expected? Can it be fixed? Here is a bit more data. Laptop (Running FreeBSD 4.3-stable of June 24): > ifconfig wi0 wi0: flags=8843 mtu 1500 inet6 fe80::260:1dff:fef0:373f%wi0 prefixlen 64 scopeid 0x7 inet 192.74.215.117 netmask 0xffffffc0 broadcast 192.74.215.127 ether 00:60:1d:f0:37:3f Workstation (running Tru64 UNIX): > ifconfig tu0 tu0: flags=c63 rxmt 1000, reach time 30000, dad tries 1, mtu 1500, hops 64, token len 64 inet 198.xxx.xx.xx netmask ffffff00 broadcast 198.xxx.xx.x ipmtu 1500 inet6 fe80::200:f8ff:fe22:955 inet6 2001:400:0:11:200:f8ff:fe22:955 R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message