Questions tagged [netplan]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
29 views

Xen on Ubuntu 18.04 with IPv4 (without NAT) and IPv6

similar to the Xen on Ubuntu 18.04 with IPv4 (with NAT) and IPv6 I try to set up the netplan configuration for XEN from ubuntu 18.04 with multiple public IP addresses. So far my configuration looked ...
0
votes
0answers
42 views

How to integrate “iwconfig wlan0 power off” into netplan on Ubuntu 19.10?

I configured WLAN on commandline with this file: cat /etc/netplan/wireless.yaml network: version: 2 wifis: wlan0: dhcp4: yes dhcp6: no access-points: "yyy": ...
0
votes
1answer
90 views

Ubuntu 18.04 netplan apply breaks networking reboot fix it

The setup is the following: host1-ip iface: ens192: 10.100.0.11/16 host1-gateway: ens192: 10.100.0.1 host1-ip iface: ens224: 10.0.0.11/16 host1-gateway: ens224: 10.0.0.1 host2-ip iface: ens192: 10....
0
votes
0answers
55 views

Unable to ping other VM's on same subnet after bonding NIC's

I have set up a number of VM's in KVM on a host VM machine running Ubuntu 18.04.3 Desktop. Each machine is running on Ubuntu 18.04.3 Server and has 4 NIC's set up, where NIC 1 & 4 are reserved for ...
1
vote
1answer
151 views

unable to find netplan directory in Debian 10

I am trying to configure the networking using Netplan in Debian 10. I have installed the Netplan package with the following commands. sudo apt update sudo apt install snapd sudo snap install netplan -...
0
votes
1answer
96 views

Ubuntu won't reply on same interface

I have an Ubuntu 18.04 (i.e. NetworkManager / netplan / systemd-networkd) VM which was working nicely until I tried adding a second interface. I initially had problems with the DHCP still running ...
3
votes
0answers
885 views

Unable to successfully setup bridge interface with Netplan, in order to support guest OS with KVM

First of all, I would like to apologize for my bad English. I usually find an answer after a few hours, days or even weeks of research, but today, I feel quite lost and would appreciate some help. ...
0
votes
0answers
22 views

br0 is under control of NetworkManager despite renderer: networkd

I recently switched from iptables-persistent to using firewalld on my Ubuntu-based router (desktop install, not server). The first and only time I used netplan is when I set this machine up initially ...
2
votes
1answer
468 views

Multicast routing using netplan

Trying to setup multicast route to interface in Ubuntu 18.04.2 Netplan's syntax does not allow something like: routes: - to: 224.0.0.0/4 dev: eno1 this config does not work: addresses: - 192....
0
votes
0answers
803 views

Enabling DHCP for IPv6 in netplan with networkd doesn't seem to do anything

I'm currently configuring the network interfaces for a Ubuntu 18.04 server, using netplan with the networkd backend. My hosting provider provides me with an IPv4 and an IPv6 for this server, however ...
0
votes
0answers
66 views

Gateway failover using netplan not working

I'm having trouble setting up 2 IP address so that if one fails it will use the secondary IP address. I've setup netplan as shown in the picture. I can connect via ssh using both IP address, I test ...
1
vote
0answers
120 views

Gateway failover using netplan

I'm having trouble setting up 2 IP address so that if one fails it will use the secondary IP address. I've setup netplan as shown in the picture. I can connect via ssh using both IP address, I test ...
0
votes
0answers
54 views

Netplan doesn't create default route

OVH cloud host allows an easy way to route multiple blocks of their IPs to virtual MACs on one interface. For example, eth0 has an address on the 40.30.20.0/24 network with a gateway of 40.30.20.254, ...
0
votes
2answers
2k views

Prevent netplan from creating default routes to 0.0.0.0/0

I have running an Ubuntu 18.04 with 2 ethernet NICs. On both NICs I'm using DHCP. How can I prevent netplan from creating a default route to 0.0.0.0/0 on both devices? I want one NIC routing to 0.0.0....
0
votes
0answers
183 views

Netplan configuration not being applied on Ubuntu 18

I have just created this file for my linux machine on my private local network root@Andromeda:/etc/netplan# cat /etc/netplan/01-netcfg.yml network: version: 2 rendered: networkd ...
1
vote
1answer
1k views

Will netplan.io be used in Debian Buster?

Netplan.io is a relatively new network interface configuration tool. It came to my attention because it has become the "default" way to configure interfaces on Ubuntu. What about Debian itself? Are ...
2
votes
0answers
2k views

Bring interface up even if link is down (no carrier)

My system is a Dell PowerEdge T140, running Ubuntu 18.04.2. I have a service that depends on the host's primary IP address, and that service fails to start if that address is not configured on the ...
0
votes
1answer
312 views

How to set a static IP using netplan? (running Ubuntu Bionic server)

My problem is that no static IP is getting assigned to the built-in ethernet port. I have run netplan apply several times. I've also rebooted the PC and still no luck. I am sure the ethernet port ...
1
vote
1answer
2k views

Configuring netplan on ubuntu 18 properly

I am trying to configure the wifi and ethernet ports on a linux box in a non-standard way. I have never touched this kind of stuff before, so please excuse my naivety. I have basically just YOLO'd my ...
0
votes
1answer
857 views

Static IP and netplan stop working a couple days after fresh install Ubuntu Server 18.04 LTS

Having some major issues with networking on Ubuntu 18.04 LTS. Fresh install. I set a static IP during install which worked for a couple days and remained set after multiple reboots. Now the interface ...
0
votes
0answers
820 views

Netplan disable default route on interface

I have 4 interfaces on my netplan set up for DHCP (3 vlans and one main interface). This generates 4 "default" routes where it is a bit random which is first but all have the same metric. So I ...
2
votes
0answers
4k views

Multiple static IPs with netplan

on Amazon EC2 I want to set up multiple IPs on secondary Network Interface. whatever I do it sometimes fail to connect to secondary IPs, main word here is sometimes, thats why its very complicated to ...
3
votes
5answers
596 views

setting firewall-cmd --permanent is not sticking after reboot

I have two network interfaces: eth0, and p2p1. My default zone is set to public. I would like to permanently set p2p1 to be trusted. In order the achieve this I run: sudo firewall-cmd --permanent --...
1
vote
1answer
4k views

Ubuntu 18.04 netplan configuration for WPA-EAP

Background I'm using Ubuntu 18.04 server (on a laptop, for development) and am trying to get my wifi configured to work with an WPA-EAP network. To enable Wifi I followed the guide Wifi on Ubuntu 18 ...
2
votes
1answer
2k views

How to get those features in Netplan with Ubuntu?

So apparently Ubuntu 18.04 (or perhaps even one of the 17.x versions) introduced a new mechanism to configure the network interfaces called netplan.io or netplan for short. Now all of this seems ...
21
votes
2answers
10k views

How exactly are NetworkManager, networkd, netplan, ifupdown2, and iproute2 interacting?

I am learning about Linux networking on my Kubuntu 18.04 workstation, and I see there that both NetworkManager and networkd-dispatcher are running: oleg@eclectic:~$ sudo ps -ef | grep -i net root ...
1
vote
1answer
404 views

Virtual NICs in 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
1answer
807 views

Bind DNS configuration - IPv6 LAN, netplan

My ISP has introduced IPv6 to my world and I am happy for that so I don't want to just disable it. However it has introduced some issues. My issue of the moment is that I want my LAN bind DNS to use ...
1
vote
1answer
214 views

Loading netplan scripts from optional mount target

I'm trying to leverage netplan's ability to override configurations with lexicographically later files, but when these files come from another mount point, the whole thing fails. I've created a ...
0
votes
1answer
2k views

Run dhclient on startup

I have this server that loses its network config on reboots, it's running Ubuntu Server 18.04, I tried the netplan commands but none generated a thing, maybe it's because the interface isn't even ...
6
votes
1answer
9k views

Correct way to set dhcp in netplan

In some tutorials (Here and Here) about netplan dhcp4 appear in the following way: network: version: 2 renderer: networkd ethernets: enp2s0: dhcp4: no or dhcp4: yes But in netplan ...
2
votes
2answers
4k views

Netplan in Debian

I'm a Ubuntu user trying out Debian 9.4. Since Ubuntu 17.10 I've been happily using netplan. I do not use Network Manager, preferring to work with all the pieces myself. Edit after installing ...