On Wed, Dec 9, 2009 at 8:47 AM,  <sys...@gmx.net> wrote:
> Hello,
>
> I try to setup a new webserver with IPv6 and IPv4 connection. B The IPv4
connection works great. B I'm new in IPv6 and got some routing problems. B I
called the provider support and he told me how to setup the gateway and the
interface... but for linux and not for OpenBSD. B Maybe you can help me to
setup the correct configuration, please?

Here's some old notes I wrote during my time with Virginia Tech:

To add an ipv6 static address to a running OpenBSD box that currently
has a static ipv4 address without rebooting.

1. Add an ipv6 address to /etc/hostname.if

        Before:
                inet 128.173.54.137 255.255.248.0 NONE


        After:
                inet 128.173.54.137 255.255.248.0 NONE
                inet6 alias 2001:468:c80:c111:0000:409d:6cda:7264

2. Add the ipv6 route to /etc/mygate

        Before:
                128.173.48.1

        After:
                128.173.48.1
                2001:468:c80:c111::1

3. If you have pf enabled, it blocks ipv6 by default. Add a line such
as this to /etc/pf.conf to allow all ipv6 and restart pf:

        pass in quick on $if inet6

4. Restart the interface:

        sh /etc/netstart if

For more info, man hostname.if, pf, inet and inet6

Reply via email to