My ISP offers IPv6 by default. However, my ISPs IPv6 setup appears to be a bit strange because the default IPv6 gateway is located outside of my servers subnet. Under linux it is possible to setup a static route to that gateway using ip -6 route add <gateway ip> dev <interface>
. However, this doesn't work on openbsd, does anybody know the equivalent of that command on openbsd or does anyone know know another approach to fix this problem?
OpenBSD default gateway outside subnet
gatewayipv6networkingopenbsd
Related Topic
- Linux – Sending netmask and gateway/route with dhcp for ipv6
- OpenBSD – Gateway Outside Subnet Works in Linux
- Multi-homed OpenBSD system: Policy based routing vs. mpath default routes
- Centos – Configuring a Hurricane Electric IPv6 tunnel without being the default gateway
- Ubuntu Networking – Default IPv6 Route Keeps Disappearing
- IPv6 Gateway Outside Network (OVH) – Configuration Guide
- Windows IPV6 – Cannot Ping Outside Local Network
Best Answer
Add the following to /etc/rc.conf:
then reset networking by either rebooting or running
Or you can do it by hand: