Re: ipv6 routing

Dan Walrond <[email protected]> Fri, 28 Mar 2003 03:12:43 +0000
Newsgroups gmane.os.openbsd.ipv6
Message-ID <[email protected]>
On Fri, Mar 28, 2003 at 01:32:29PM +1100, Carl Brewer wrote:
> 
> >I'm also having problems giving the NIC's on the private side of the
> >openbsd router IPv6 address that I can ping from other hosts. I don't
> >know if I'm going about this the right way. Please can you point me in
> >the right direction.
> >
> 
> http://rollcage.bl.echidna.id.au/IPv6/openbsd.html
> 
> may help some.

Finally I've made more sense of that. I have setup ep0 as follows

ep0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	media: Ethernet 10baseT
	inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
	inet6 fe80::220:afff:feb5:bcb7%ep0 prefixlen 64 scopeid 0x1
	inet6 2001:618:4:16de::1 prefixlen 64
				

I have ran route6d, then configured rtadvd

#/etc/rtadvd.conf
ep0:\
        :addrs#1:addr="2001:618:4:16de::"prefixlen#64:tc=ether:

Then I get the following errors to my console:

Mar 28 03:02:24 algeron rtadvd[7985]: <getconfig> inet_pton failed for
2001:618:4:16de::prefixlen#64
Mar 28 03:02:24 algeron rtadvd[7985]: <getconfig> inet_pton failed for
2001:618:4:16de::prefixlen#64

I'm guessing that something hasn't worked. I have a linux box with the
ipv6 module loaded, and I've assigned it an IPv6 address,
2001:618:4:16de::3 in this case. Now that I have ran rtadvd should the
linux box be able to auto-configure? How does that work, it is like
DHCP? Actually what am I talking about rtadvd fail and isn't running. So
not a lot will happen.

It would be really nice to actual get two of my machines talking to each
other via IPv6.


Dan