Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2005 09:07:54 +0200
From:      Folkert Saathoff <folkert@feedface.com>
To:        stable@freebsd.org
Subject:   howto set inet6 routes?
Message-ID:  <F06E12F9-3C59-4E66-AA52-350F2A315182@feedface.com>

next in thread | raw e-mail | index | archive | help

hello list,

i try to setup a small ipv6 test network.
however, it seems like i am too dump to setup my routes.
when i bring up the interface for the first time,
all is well and ping6 works just nicely:

$ ifconfig rl1
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         options=8<VLAN_MTU>
         inet6 3ffe:feed:face:cafe:0:2:2e39:f9 prefixlen 64
         ether 00:02:2e:39:00:f9
         media: Ethernet autoselect (10baseT/UTP)
         status: active

$ netstat -rn -finet6
<SNIP>
3ffe:feed:face:cafe::/64          link#2                         
UC          rl1
</SNAP>

so far, so good :)
however, when i delete the route to the network
3ffe:feed:face:cafe::/64, (which is reachable
via rl1 directly), i am not able to recreate it.

the commands

$ route add -inet6 -net 3ffe:feed:face:cafe::/64 -iface rl1
and
$ route add -inet6 -net 3ffe:feed:face:cafe::/64 -interface rl1

yield only the following:

$ netstat -rn -finet6
<SNIP>
3ffe:feed:face:cafe::/64          00:02:2e:39:00:f9              
ULS         rl1
</SNAP>

with which ping6 doesnt work, no packets are written onto
the ether at all.


so i guess my question is:
what is the exact parameter syntax to route(8) which yields a
netstat -rn -finet6 output with a link#NN target??



cheers/ thnx,
/folkert










                                                                         
      /*
   _   
_                                                                        
*
   _|| 
_                                                                        
*
    ||                                                  
folkert@feedface.com   *
                                                                         
      */






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F06E12F9-3C59-4E66-AA52-350F2A315182>