Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 11:52:37 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        freebsd-net@freebsd.org
Subject:   Odd IPv6 behavior when not connected to IPv6 net
Message-ID:  <200106281852.f5SIqbc26795@ptavv.es.net>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
     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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106281852.f5SIqbc26795>