Establishing an Internet Connection with OpenBSD
Learn how to set up your internet connection on OpenBSD.
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.confroute add default <GatewayIP>
3. To set the network configuration permanently, create the file /etc/hostname.vio0 with the following content:
inet <IPAddress> <IPNetmask>
!route add default <GatewayIP>
4. Then, run sh /etc/netstart to configure the network interface.
3. Frequently Asked Questions (FAQ)
Last update: 24 April 2026
Was this article helpful?