Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [netplan]

Netplan is a utility for easily configuring networking on a linux system. You simply create a YAML description of the required network interfaces and what each should be configured to do. From this description Netplan will generate all the necessary configuration for your chosen renderer tool.

5
votes
0answers
2k views

How do I stop netplan from binding a default gateway on every interface

I have a fresh install of ubuntu server 17.10, however the problem may affect previous versions, but this is the first time I have encountered this situation. The server is running 2 separate network ...
3
votes
0answers
1k views

Network setup with Netplan and bridges

I'm having an issue where any bridge I create with netplan doesn't get an address. The following starts my NIC and I get a DHCP address: network: version: 2 ethernets: enp0s3: ...
2
votes
0answers
80 views

netplan issue with Ubuntu 18.04.1 Server. No network connectivity (no routes either)

I've been using Ubuntu since inception and have recently found out about Ubuntu's switch to using netplan vs it's traditional/better /etc/network/interfaces method. I'm attempting to get this to ...
2
votes
0answers
100 views

ubuntu 18.04: not releasing old IPs from DHCP

We're running ubuntu 18.04, with the following configuration of netplan: network: version: 2 renderer: networkd ethernets: ens3: dhcp4: yes Currently we're running into an issue with ...
2
votes
0answers
560 views

Setting up PPPoE wired connection in Ubuntu 18.04.1 Bionic Beaver (Desktop Version)

My ISP provides PPPoE connection with username, password and service name and binds my MAC Address. Since I have connected my router to the WAN, the MAC Address of the router has been bound in their ...
2
votes
0answers
279 views

How to force a bridge to clone mac-address from first added physical port

I'm configuring KVM/QEMU on Ubuntu 18.04 using netplan. There is corporative dhcp-server that provide a lot of mandatory data in addition to ip/netmask. The issue is that a bridge on setup generates ...
2
votes
0answers
507 views

Ubuntu 18 Server GRE tunnel with netplan?

How do I create a GRE tunnel with netplan? Previously in /etc/network/interfaces, I would do.. iface gr0 inet manual pre-up ip tunnel add gr0 mode gre remote 10.10.10.10 local 10.20.10.10 dev ens33 ...
2
votes
0answers
1k views

Server 18.04: netplan, avahi and DHCP combination

For a long time now I have been looking for a means to replicate Window's IPv4 assignment behaviour. That is, first try DHCP and on failure switch to link-local addressing. So far I failed to find ...
1
vote
0answers
13 views

Ubuntu Server 18.04 no IPV4 after resume

I fail to get ipv4 working on an ubuntu server 18.04 after it was suspended and resumed. The only way I get ipv4 running again is reboot. The system is installed as a guest in a vmware virtual machine....
1
vote
0answers
60 views

18.04.1 LTS systemd-network not applying [RoutingPolicyRule]

I have a server instance with two interfaces, and I have created a rule to ensure traffic that comes in ens160 goes out ens160 despite matching the default route for ens192. The routes and rules work ...
1
vote
0answers
43 views

No default gw from dhcp in ubuntu server 18.04 with netplan

I have an issue with network configuration in ubuntu server 18.04. My host does not apply default gateway route from dhcp server. My netplan config is: network: version: 2 ethernets: enp0s8: ...
1
vote
0answers
104 views

Netplan - Bridging over a bond on Ubuntu 18.04 KVM host

Sorry in advance for the long post, this has been rattling me days. I've got a server with 4 NIC (eno1, eno2, eno3, eno4). I'm trying to establish the following setup: Host - Ubuntu Server 18.04 ...
1
vote
0answers
62 views

How do I configure Kickstart network settings with Ubuntu 18.04?

I saw that in Ubuntu Server versions 16.04 and prior, there used to be a way to auto-configure the SystemV networking part of the Ubuntu OS in unattended installs via Kickstart files. However it seems ...
1
vote
0answers
273 views

18.04 server used netplan to setup WiFi, Now WiFi has same Mac address as Lan

Not sure if this is a bug in netplan or is expected behavior. I have tried this using a bare metal computer and also VMware Workstation 14.x and both USB and a PCI WiFi cards have the same Mac ...
1
vote
0answers
212 views

Port Forwarding Ubuntu Server 18.04 with netplan and ufw I have a server with 2 network interfaces

I have an Ubuntu server 18.04 with 2 network interfaces. enp1s0 has ip address 192.168.0.1/24 enp2s0 is connected to DHCP I am looking to forward port 8080 from any incoming traffic connected to ...
1
vote
0answers
42 views

Print netplan config

Does netplan have any options available for writing how it interprets its config files to stdout, an arbitrary directory, or something similar? The context for my question is that I'm updating a ...
1
vote
0answers
260 views

Netplan / systemd-networkd VLAN is missing

I tried to add a additional virtual VLAN Interface, but it is not visible in ifconfig. Netplan Config: network: version: 2 renderer: networkd ethernets: ...
1
vote
0answers
1k views

netplan bridge: no connection to/from virtual machine

I'd like to setup a bride on my host(ubuntu 18.04 server) to get a connection to the internet from/to my virtual machine (also ubuntu 18.04 server), both with netplan. The host is a dedicated machine ...
1
vote
0answers
3k views

Static IP config for Ubuntu Server 18.04 LTS w/ netplan

We are trying to get a new server running 18.04 LTS to connect to the internet, but no luck thus far. The router doesn't distribute DHCP, so we have a static IP assigned to the port the server is ...
1
vote
0answers
3k views

netplan bridge for one static interface not working

I have a static ip address for interface eno1 which should become a bridge for kvm/qemu. My netplan configuration (Ubuntu 18.04) for the static ip looks like this and is working: network: version: ...
1
vote
0answers
251 views

Network not starting when logging into 17.10

I am having to run the following command everytime I login to my Ubuntu sudo netplan apply I am unsure what I have done to make it only start when I run this command and I am wondering how I go ...
1
vote
0answers
116 views

Unable to authenticate on my ubuntu server wireless router

I have ubuntu 17.10 server edition installed to act as a router. Everything works just fine. The only problem I'm having is with setting up the wireless part of the router. I can see the AP on my ...
0
votes
0answers
19 views

Rocky Release using Ubuntu 18.04 with netplan

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 ...
0
votes
0answers
9 views

How to configure IP address for openvsiwtch bridegs with netplan

After upgrade to ubuntu 18.04, I configured the openvsiwth bridge, but failed to work with netpaln. I created the ovs brideg, and set the IP address with netaplan brigdes section, but seems it is ...
0
votes
0answers
24 views

netplan: Enable WiFi with no IP address on 18.04 LTS Server

I intend to run a KVM host. The Host should enable a wireless interface but assign no IP address to it. Like a Hyper-V Server with the WLAN Service enabled and set to "Automatically connect", but with ...
0
votes
0answers
14 views

Network and FTP issues

I am new to Ubuntu. I've done installs on CentOS and Redhat, but on Ubuntu I am having network and ftp issues. I ask them together as these issues might be related. This is also my first experience ...
0
votes
0answers
32 views

Error updating netplan.io

I'm using the last LTS but in the moment of use sudo apt-get update && sudo apt-get upgradeappears a message: The next package has retained: netplan.io Can you help me?
0
votes
0answers
53 views

netplan + WiFi: link is not ready (18.04 Server)

I'm trying 18.04 Server with this fancy new netplan and can't get my WiFi to work. Doing it the old-fashioned way (e.g. configuring wpa_supplicant.service and using dhclient), everything is fine. But ...
0
votes
0answers
34 views

Ubuntu 18.04 configure netplan with 2 network cards

I'm going to install ubuntu 18.04 on a small "server", not a real server, just a deliverer of multimedia files on demand, for a local network. I'm recollecting info because I still have not installed ...
0
votes
0answers
38 views

How do I configure a DNS server for Ubuntu Server 18.04 LTS?

I am aware Ubuntu 18.04 uses netplan for its networking, and I have a file at /etc/netplan/50-cloud-init.yaml with the following info: Picture of /etc/netplan/50-cloud-init.yaml I know the syntax ...
0
votes
0answers
27 views

Yet Another Netplan Question

having trouble getting my head around netplan. I have 2 interfaces: ens18 & 19. ens18 is connected to my external network, ens19 connected internally. I want all internet bound traffic to go out ...
0
votes
0answers
58 views

How to cearte static ip for bond0 in Ubuntu 18.04 server

issue: not folder of root@localhost:~# ls /sys/class/net/bond0/device/ DEBUG:Cannot replug bond0: cannot read link /sys/class/net/bond0/device: [Errno 2] No such file or directory: '/sys/class/net/...
0
votes
0answers
127 views

No network interfaces - Ubuntu Server 18.04

So, I had a fresh install of Ubuntu Server 18.04,everything worked fine till I reboot it today. Now there's no network interfaces except the loopback(lo). if I do 'ifconfig -a' I see my other network ...
0
votes
0answers
35 views

Network doesn't come back up after connection loss

I've successfully gotten my setup working with a 2Gbps connection to the rest of my network through a Unifi switch via bond0 (enp6s0 & enp7s0 in LACP) using netplan. The problem I'm running into ...
0
votes
0answers
11 views

VMware adapter connection

I have router which have "adapter1" for NAT, "adapter2"for intnet1, and "adapter3" for intnet2. I made connection with router, web, and desktop by giving enp0s8 for "adaptor 2" (I changed those at the ...
0
votes
0answers
73 views

Setting up Ubuntu server 18.04 static IP addresses with two NIC

I have two NICs on my Ubuntu 18.04 LTS server and I set first nic (eno1) for Public IP and the second (eno2) for private IP. Here is my 99_config.yaml # This file is generated from information ...
0
votes
0answers
155 views

How to bridge two interfaces with netplan

I want to setup a gateway on an Ubuntu 18.04 machine with 2 eth ports - ETH1 - WAN connection, connected to my corporate network with DHCP ETH0 - LAN connection, connected to my laptop statically I ...
0
votes
0answers
93 views

Is there a way to create a general access point entry in Netplan?

Is it necessary for me to create an access-point entry for each AP I use in order to use VirtualBox's bridge adapter? Edit: this was the netplan config I tried before network completely crashed. ...
0
votes
0answers
53 views

Virtual NICs on Ubuntu 18.04

We are a group of students completing a development project unit at the University of Sydney. We have had difficulty with Linux routing, and would really appreciate being pointed in the right ...
0
votes
0answers
564 views

Ubuntu server 18.04 - No IP address with Netplan

Background: Hardware: Thinkpad X301 In the installation of Ubuntu 18.04.1 Server (64-bit) the installation was stuck at the network setup portion of the installation. The network setup timed out and ...
0
votes
0answers
62 views

How to overwrite the DNS servers from DHCP or set system wide DNS servers?

I have an Ubuntu 18.04 Server with several NICs with different types of configuration: static and DHCP. I want to have a set of DNS servers for all the interfaces, no matter if they are DHCP or ...
0
votes
0answers
89 views

Set Static IP from my ISP using netplan in Ubuntu 18.04

This should be a pretty simple setup. I've edited my yaml config file in /etc/netplan/ to be: network: version: 2 renderer: networkd ethernets: ens32: addresses: - 98.xxx.xxx....
0
votes
0answers
52 views

Internet access only working with untaged vlan 18.04 server

i setup a 18.04 box with 2 NICs. Netplanconfig: network: version: 2 renderer: networkd ethernets: enp2s0: dhcp4: yes enp3s0: dhcp4: yes if the switch tags the traffic with VLAN IDs the Ubuntubox ...
0
votes
0answers
161 views

How can I override netplan's per-interface nameservers, rather than appending to them?

I have an DigitalOcean server that's being configured via cloud-init. With Ubuntu Bionic Beaver, this creates a netplan file in /etc/netplan/50-cloud-init.yaml that contains nameserver addresses. ...
0
votes
0answers
207 views

netplan reports error on Ubuntu 18.04 server

This is my configuration: network: version: 2 renderer: networkd ethernets: ethMac: dhcp4: no dhcp6: no addresses: [192.168.1.3/24] gateway4: 192.168.1.1 ...
0
votes
0answers
60 views

Configure Netplan for Apache CloudStack

I am following this tutorial on setting up CloudStack on Ubuntu 18.04 LTS: https://rohityadav.cloud/blog/cloudstack-kvm/ there it says to configure your network like so: network: version: 2 ...
0
votes
0answers
45 views

netplan+networkd portable/usb setup

I have a number of bootable USB drives with Ubuntu 18.04 which had been upgraded from past versions of Ubuntu. Now I am looking for the most proper and concise config for netplan to express a rule ...
0
votes
0answers
215 views

connect to Wi-Fi with a hidden SSID using CLI 18.04

Is it possible to connect to Wi-Fi with a hidden SSID using the TERMINAL(netplan) that now comes with Ubuntu 18.04? I've done the usual googles and searches and not been able to find an answer. PS ...
0
votes
0answers
33 views

How to input default route in Ubuntu desktop with Network Manager

I am having real trouble making static default route on Ubuntu 17 and 18 Desktop (not server). For the servers its easily done using netplan and giving it routes to 0.0.0.0/0. But as for gui ...
0
votes
0answers
637 views

Wireless setup for server (netplan)

I've tried this solution: Connecting to new Wifi network and looked here: https://netplan.io/examples However, my interface isn't being assigned an ip or anything. If I enter networkctl it shows ...