Skip to main content

Network configuration

All instances come with a routed /32 IPv4 and a routed /64 IPv6 network by default.

You can see your instance's network configuration in the Networking tab of your instance details.

Should I use DHCP or static network configuration?​

We run DHCPv4 servers towards all instances, so you can use DHCP to automatically configure your IPv4 networking. IPv6 must however be configured statically.

Configuration for Ubuntu (Netplan)​

# cat /etc/netplan/01-netcfg.yaml
network:
version: 2
ethernets:
eth0:
match:
name: e*
addresses:
- 109.248.43.xx/32
- 2a04:ff07:xx:yy::1/64
routes:
- to: 0.0.0.0/0
via: 172.16.0.1
on-link: true
gateway6: 'fe80::1'

Configuration for Oracle/CentOS/Alma/Rocky/EL (network-scripts)​

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
IPV6INIT=yes
IPV6_FAILURE_FATAL=no
IPV6ADDR=2a04:ff07:xx:yy::1/64
IPV6_DEFAULTGW=fe80::1%eth0