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



Ignatios Souvatzis wrote:
On Tue, Feb 24, 2009 at 01:28:48PM +0800, wang_jiabo wrote:

     in the rc.conf file:

     ip6mode=?router?
     rtsol=?NO?
     rtadvd=?YES?
     rtadvd_flags=?nfe0 nfe1? # nfe0 and nfe1 are your NIC card name

1. You should replace the question marks with real ASCII " (hex 22), in those files!

2. You're aware that these addresses

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

belong to the old experimental overlay network 6BONE, that has been
switched off since 2006/6/6? Other than that, the syntax is like
for IPv4 (only replace -inet by -inet6),

route add (network) (gateway)

e.g.
route add -inet6 2001:db8:1200::/40 2001:db8:1234:5678::27

        -is
thanks your infomation.
you are correct.
I just used:
route add -inet6 3ffe:501:ffff:103:: -prefixlen 64 3ffe:501:ffff:104::1

we used the 3ffe address , just internal test, so thanks your help

best regards
jiabo


Home | Main Index | Thread Index | Old Index