Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 04:06:46 +0400
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Hajimu UMEMOTO <ume@FreeBSD.ORG>
Cc:        svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG
Subject:   Re: svn commit: r239356 - head/sbin/dhclient
Message-ID:  <20120822000645.GA54651@vniz.net>
In-Reply-To: <ygeehn0enp7.wl%ume@mahoroba.org>
References:  <201208171553.q7HFrhuf090457@svn.freebsd.org> <201208171507.07699.jhb@freebsd.org> <20120818195724.GA74684@vniz.net> <201208201409.55544.jhb@freebsd.org> <20120821010311.GA8250@vniz.net> <ygeharxdk97.wl%ume@mahoroba.org> <20120821044553.GA11375@vniz.net> <ygefw7gepmt.wl%ume@mahoroba.org> <20120821063027.GA41459@vniz.net> <ygeehn0enp7.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 21, 2012 at 03:58:12PM +0900, Hajimu UMEMOTO wrote:
> Okay, thanks.

I solve this riddle, thanks to your helpful tips.
Relevant part of my setup are at the end of this messae for anybody who 
may have the same problem.

BTW, I notice that link-local router address behavior is 
strange and inconsistant for both 'host -6' and 'dig -6' commands.
host -6 example.com fe80::<rest of router address>
dig -6 @fe80::<rest of router address> example.com
both hangs, but in the same time
host -6 example.com fe80::<rest of router address>%<iface>
dig -6 @fe80::<rest of router address>%<iface> example.com
works!
host -6 example.com fe80::<rest of router address>%1
dig -6 #fe80::<rest of router address>%1 example.com
works too. Not understanding addresses without %<iface> or %1 looks like 
routing problems, but I don't know where to fix it.
So, I try to use 
nameserver fe80::<rest of router address>%<iface> (or with %1 suffix)
in my resolv.conf, as result
host -6 example.com
dig -6 example.com
(without NS specified) both hangs despite they working when exact the same 
NS address is given in their command lines.
So, I finally decide to use my router addres from IPv6 /64 subnet
(given by my tunnel). It not goes through the whole tunnel, but directly
to the router.
host -6 example.com
dig -6 example.com
both works when it exists in /etc/reslov.conf.
What I don't understand why all that bad things happens with link-local 
router address. To be sure I test it under Win7 and it works normally.

Finally, what is working:

/etc/resolvconf.conf:
name_servers_append=<IPv6 router address from /64 tunnel's subnet>

/etc/rc.conf:
rtsol_flags="-R /etc/eat.sh"

/etc/eat.sh:
#!/bin/sh
/bin/cat > /dev/null

-- 
http://ache.vniz.net/



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