tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [netbsd4.0.1] how to setup a static route on netbsd4.0.1



wang_jiabo wrote:
wang_jiabo wrote:
Hi, all :
I have changed netbsd4.0.1 to a router.
but how to setup a static route on my netbsd router
Thanks
regards
jiabo
sorry, I need ipv6 static route.
thanks
jiabo
the follow is my netbsd router configuration,
thanks everyone
regards
jiabo

  1.

     in the rc.conf file:

     ip6mode=”router”

     rtsol=”NO”

     rtadvd=”YES”

     rtadvd_flags=”nfe0 nfe1” # nfe0 and nfe1 are your NIC card name

     2. create /etc/ifconfig.nfe0

     up

     inet6 3ffe:501:ffff:104::2 prefixlen 64

     3. create /etc/ifconfig.nfe1

     up

     inet6 3ffe:501:ffff:100::1 prefixlen 64



Home | Main Index | Thread Index | Old Index