Subject: bin/18626: route add -inet6 does not accept a hostname
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jon@bullers.net>
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
>Closed-Date:
>Last-Modified:
>Originator:     Jon Buller
>Release:        NetBSD 1.6
>Organization:
	
>Environment:
	
	
System: NetBSD helios.bullers.net 1.6 NetBSD 1.6 (HELIOS) #6: Thu Sep 26 09:11:03 PDT 2002 jon@helios.bullers.net:/altroot/usr/src/sys/arch/sparc/compile/HELIOS sparc
Architecture: sparc
Machine: sparc
>Description:
	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.  ("12.212.48.1"
	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.
>How-To-Repeat:
	Put a host with an IPv6 address in /etc/hosts, try typing
	"route add -inet6 default v6host"
>Fix:
	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.
>Release-Note:
>Audit-Trail:
>Unformatted: