Questions tagged [netplan]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
1answer
4k 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 ...
5
votes
1answer
7k 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 ...
3
votes
4answers
232 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 --...
2
votes
1answer
820 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 ...
2
votes
2answers
3k views

Debian 9.4 netplan

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: As 0xC0000022L ...
2
votes
0answers
433 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 ...
1
vote
1answer
239 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 ...
1
vote
1answer
488 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 ...
1
vote
0answers
22 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 ...
1
vote
0answers
1k 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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
251 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 ...
1
vote
1answer
129 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
0answers
12 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
26 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 ...
0
votes
0answers
15 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
76 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
38 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 ...
0
votes
0answers
69 views

Routing outgoing traffic between two NIC

I'm looking for a solution to proxify all the outgoing connections through several network interfaces so that they would appear to come from different IP's and I'm using Ubuntu 18.04 EC2's. What I ...
0
votes
0answers
183 views

Ubuntu 18.04 server dhcp issues on VirtualBox 6.0.4 with bridged adapter

I'm having issues with dhcp on virtualbox 6.0.4 with an ubuntu 18.04 server guest -- when using a bridged adapter, it hangs on startup while configuring network settings, and dhclient just fails ...
0
votes
1answer
241 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
582 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 ...
0
votes
1answer
458 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
129 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 ...