Subject: bin/18626: route add -inet6 does not accept a hostname
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/11/2002 21:45:52
>Number:         18626
>Category:       bin
>Synopsis:       route add -inet6 does not accept a hostname
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 11 21:46:00 PDT 2002
>Originator:     Jon Buller
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 (HELIOS) #6: Thu Sep 26 09:11:03 PDT 2002 sparc
Architecture: sparc
Machine: sparc
	I have a IPv6 router with a tunnel to the 6bone.  I have
	the gateway machines in /etc/hosts, and in rc.conf I have
	defaultroute="attbi-gate" which works fine.  (""
	also works...)

	However, to do the same with my IPv6 tunnel, in
	/etc/netstart.local I have the single line "route add -inet6
	default 3ffe:c18:b00::74" because "route add -inet6 default
	viagenie-gate" does not work.  I know I should probably
	use routing advertisement and solicitation, but this was
	faster, more like what I'm already used to, and works with
	the PPP connection to my pc532 which only has serial ports
	for I/O.
	Put a host with an IPv6 address in /etc/hosts, try typing
	"route add -inet6 default v6host"
	Work around is to use addresses instead of names. Fix is probably
	some simple change of one library call for another, but I haven't
	looked yet.