If your internet provider gives you an IPv6 connectivity, you can add one or multiple addresses to your workstation/server.
In my case, Orange, my provider, gives me the following IPv6 (bloc/prefix) :
Under OpenBSD, the static configuration is made with two files :
- /etc.hostname.[device] where you can configure the addresses allocated to a specific network device.
- /etc/mygate allowing you to enable default network routes.
Let's start by configuring our network interface (re0 in my case) :
# vi /etc/hostname.re0 inet 192.168.1.3 255.255.255.0 inet6 2a01:cb06:3e0:eb00::cafe 56 up
Finally, let's add the IPv6 default route in mygate :
# vi /etc/mygate 192.168.1.1 2a01:cb06:3e0:eb00::
Need help ?
Subscribe to CagedMonster'S Blog
Get the latest posts delivered right to your inbox