Establishing an Internet Connection with OpenBSD
Learn how to set up your internet connection on OpenBSD.
1. Background
2. Procedure for Manual Network Configuration
3. Frequently Asked Questions (FAQ)
1. Background
OpenBSD uses dhcpleased by default. However, it is not compatible with our infrastructure. As an alternative, you can use isc-dhcp-client.
2. Procedure for Manual Network Configuration
An automatic connection via the OpenBSD installer is not possible. Follow these steps to set up a network connection manually :
- Boot from the DVD and install OpenBSD without configuring the network interfaces (“none”).
- Log in with the VNC console and configure the network manually:
ifconfig vio0 <IPAddress> netmask <IPNetmask>
echo "nameserver 46.38.252.230\nnameserver 46.38.225.230" >> /etc/resolv.conf
route add default <GatewayIP>
- To set the network configuration permanently, create the file
/etc/hostname.vio0with the following content:
inet <IPAddress> <IPNetmask>
!route add default <GatewayIP>
- Then, run
sh /etc/netstartto configure the network interface.
3. Frequently Asked Questions (FAQ)
We use cloud images configured with cloud-init for preconfigured images. However, official cloud images are not offered by OpenBSD itself (as of August 2025).
Last update: 24 April 2026