Autoconfigure vs. Static Addressing
eric <[email protected]> Thu, 17 Mar 2005 17:09:38 -0600
| Newsgroups | gmane.os.openbsd.ipv6 |
|---|---|
| Organization | Catastrophe.Net <http://www.catastrophe.net/> |
| Message-ID | <[email protected]> |
I have a few quesions about ipv6 on OpenBSD. Recently we've gotten native ipv6 at my employer. Using a static address, as follows, things work fine. # ifconfig fxp0 inet6 2001:x:y:301::5 prefixlen 64 # route -n add -inet6 default 2001:x:y:301::1 # ping6 -c 3 -n www.kame.net 16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=0 hlim=48 time=177.644 ms 16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=1 hlim=48 time=177.341 ms 16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=2 hlim=48 time=177.307 ms So that works. However, is this the safest way to be doing v6 autoconfigure? $ grep inet6 /etc/sysctl.conf net.inet6.ip6.forwarding=0 net.inet6.ip6.accept_rtadv=1 $ cat /etc/hostname.fxp0 inet 10.19.81.180 255.255.255.128 NONE inet6 rtsol Rebooting works fine, but running `sh /etc/netstart` gives me... $ sh /etc/netstart ifconfig: rtsol: no address associated with name Thanks. - Eric