Skip to main content

IPv4/IPv6 Network Configuration

Out of the box, everything should be configured so that you can get started right away. By default, IPv4 connectivity is configured using DHCP with a static lease, meaning your system will automatically get assigned the correct IP address.

To see your current configuration, access the network page on the Customer Panel:

  1. Sign in to the Customer Panel.
  2. Select the server you want to see the network configuration for.
  3. Click on the Network tab.

IPv4 Configuration#

As noted earlier, IPv4 configuration automatically takes place using DHCP. That means that normally, no additional steps are necessary, even after a fresh installation. If however you want to statically assign your IP address, you are free to do so. Just apply the correct values for IP Address, Subnet Mask and Router to your static configuration.

IPv6 Configuration#

OakHost offers IPv6 support with simple manual configuration. Each hosting package comes with its own dedicated /64 subnet which can be assigned however you like. As with the IPv4 configuration, you can find your assigned subnet in the Customer Panel under the Network section, as well as details about your Router and DNS server.

The host IPv6 Address can be any address within your assigned subnet, except ::1, which is the Router / Gateway. For example, if your assigned subnet would be 2001:abc:def::/64, your configuration could look like this:

IPv6 Address:2001:abc:def::2 (anything within your subnet works)
Prefix Length:64

Configuring your Mac#

To configure your Mac to use an IPv6 address, follow these steps:

  1. Open the System Settings.
  2. Click on Network and select Advanced... on the Ethernet adapter.
  3. Under Configure IPv6 select Manually and type in the IP addresses provided in your customer panel for Router, IPv6 Address and Prefix Length.
  4. When done, hit Ok and don't forget to press Apply to apply your configuration changes.

Configuring Ubuntu (netplan)#

For Ubuntu systems using netplan, locate your netplan configuration file. It can be found under /etc/netplan and is usually called 00-installer-config.yaml or something similar. Create a backup copy in case something goes wrong, then open it with your editor of choice and adjust it as follows:

version: 2
renderer: networkd
dhcp4: false
dhcp6: false
- {your IPv4 address}/27
- {your IPv6 address}/64
gateway4: {your IPv4 gateway}
gateway6: {your IPv6 gateway}
addresses: [{ipv4-dns}, {ipv6-dns}]

Please make sure that your existing IPv4 configuration doesn't break. If you have been using dhcp, make sure to set DHCP4 to true and remove your IPv4 addresses.

To apply your new configuration, we recommend running the try command:

netplan try

This will apply the configuration, but will revert back to its original state if the change won't get confirmed within a few minutes. This greatly reduces the risk of locking yourself out.

Setting up Reverse DNS (rDNS)#

If you need to set up a Reverse DNS entry for any of your IPv4 or IPv6 addresses, you can do so by using the Network section of the Customer Panel. Simply select (or add, if not already existing) your IP address and set a new rDNS name. Hit the save button to apply your changes and your rDNS record will be set. It may take a few hours for your changes to be applied everywhere.