Subject: Re: NetBSD 1.6BETA_1 route(8)
To: Dawid Szymanski <dawszy@arhea.net>
From: None <itojun@iijlab.net>
List: tech-net
Date: 06/05/2002 07:02:56
>route add -inet6 some_v6_host_addr ::1
>route change -inet6 some_v6_host_addr -ifp gif0
>It was working on 1.5.[23], so what happen ?
>Now it works only for default ie:
>route add -inet6 default -ifp ::1
>route change -inet6 default -ifp gif0
>Regards,
do you have "-prefixlen" specified on your command line?
it is working fine for me.
itojun
# route add -inet6 3ffe:501:ffff:: -prefixlen 48 ::1
add net 3ffe:501:ffff::: gateway ::1
# route -nv get -inet6 3ffe:501:ffff:: -prefixlen 48
u: inet6 3ffe:501:ffff::; u: inet6 ffff:ffff:ffff::; u: link ; RTM_GET: Report Metrics: len 140, pid: 0, seq 1, errno 0, flags:<UP,GATEWAY,STATIC>
locks: inits:
sockaddrs: <DST,NETMASK,IFP>
3ffe:501:ffff:: ffff:ffff:ffff::
route to: 3ffe:501:ffff::
destination: 3ffe:501:ffff::
mask: ffff:ffff:ffff::
gateway: ::1
local addr: ::1
interface: lo0
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
0 0 0 0 0 0 33220 0
locks: inits:
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
3ffe:501:ffff:: ::1 ffff:ffff:ffff:: lo0 ::1