Subject: Problem with ifconfig gif0 tunnel
To: None <>
From: Dave Huang <>
List: current-users
Date: 07/04/2001 03:02:12
ifconfig gif0 inet6 3FFE:1200:3028:FF01::f7b 3FFE:1200:3028:FF01::f7a
prefixlen 128 tunnel gives me the following

ifconfig: error in parsing address string: No address associated with

It looks like the problem is that ifconfig is calling getaddrinfo on the
tunnel source/destination IPv4 addresses with PF_INET6 in the
hints.ai_family (because of the "inet6" earlier). getaddrinfo returns
EAI_NODATA since those IP addresses aren't IPv6.

Any thoughts about what should be done? Maybe just set hints.ai_family
to PF_UNSPEC? That let me get my tunnel configured, at least...
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 25 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++