Ask Your Question

Rocky Release using Ubuntu 18.04 with netplan

asked 2018-12-13 14:33:45 -0500

cally725 gravatar image

I am currently using Newton with ubuntu 16.04 and would like to migrate to Rocky over Ubuntu 18.04. But I discovered that Ubuntu 18.04 is using netplan instead of ifupdown to manage the network ressources. I realize that it is more a Ubuntu question but since Openstack required quite a bit of complexity in the networking I think posting the question here is more adequate.

I have the following interfaces file for ubuntu 16.04 and looking on documentation on how to convert that setup to netplan ?

Any body can help ? Thanks

Here is my current /etc/network/interfaces file

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*.cfg

The loopback network interface auto lo iface lo inet loopback

The primary network interface auto eno1 iface eno1 inet manual

auto eno2 iface eno2 inet manual

auto eno3 iface eno3 inet manual mtu 9000

auto eno4 iface eno4 inet manual

Container/Host management bridge auto br-mgmt iface br-mgmt inet static

bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports eno2

OpenStack Networking VXLAN (tunnel/overlay) bridge auto br-vxlan

iface br-vxlan inet static bridge_stp off bridge_waitport 0 bridge_fd 0 bridge_ports eno3 address netmask mtu 9000

OpenStack Networking VLAN bridge auto br-vlan iface br-vlan inet static

bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports eno1
address XX.XX.XX.XX
network XX.XX.0.0
broadcast XX.XX.XX.255
gateway XX.XX.XX.15
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers XX.XX.0.254 XX.XX.0.250
dns-search domlinast.loc
pre-up ip link add br-vlan-veth type veth peer name eth12 || true
pre-up ip link set br-vlan-veth up
pre-up ip link set eth12 up
post-down ip link del br-vlan-veth || true
bridge_ports eno1 br-vlan-veth

Storage bridge auto br-storage iface br-storage inet static

bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports eno4
edit retag flag offensive close merge delete


I don’t have an answer, but it seems you can still go back to the old way Or here:

There seems to be a migration tool, too: netplan ifupdown-migrate.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-13 16:38:35 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2018-12-22 10:42:50 -0500

cally725 gravatar image

Thanks for your answer. Reverting back even if this is not my first choice, this is what I end up doing since I do not receive any answer from either ubuntu, openstack or netplan support.

edit flag offensive delete link more


Hi @cally725

How did you solved this issue?

UHL-Services gravatar imageUHL-Services ( 2019-12-20 06:13:22 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-12-13 14:29:02 -0500

Seen: 1,691 times

Last updated: Dec 13 '18