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.

0
votes
0answers
95 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
2answers
512 views

How to configure bridge network through WiFi with 18.04 host with netplan in order for bridge adapter to work with VirtualBox?

I'm trying to connect the Ubuntu 18.04 guest machine to the network on my Kubuntu 18.04 host laptop via bridge adapter. The Ubuntu guest won't recognize it, however. I read about how I should be ...
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
1answer
134 views

netplan: how to run script on if-up of specified device only

When I use ifupdown, I wrote a script in if-up.d and use $IFACE to detect the name of the device affected. Now I turn to netplan in Ubuntu Server 18.04. 2 questions need to be solved: 1 Where to put ...
0
votes
0answers
569 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
2answers
222 views

Convert ifupdown using VLAN and Bridge-Utils to Netplan

I need to convert our ifupdown setup which uses apt-get vlan and bridge-utils to Netplan but have been unable to get the same setup using Netplan. Here's the current /etc/network/interfaces config ...
1
vote
0answers
215 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 ...
0
votes
1answer
285 views

interface name mismatch bionic ubuntu 18.04 [duplicate]

Facing an issue where there is a mismatch in the interface name. While installation the rename happens from eth0 to enp3s0 noticed in /var/log/installer/sys.log which also generates ethernet name as ...
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
1answer
24 views

wireless connection only after power off

I am have strange problems to enable wifi on my box. Basically I have a network minimal install plus wpa_supplicant and a wireless usb stick. Within /etc/wpa_supplicant/wpa_supplicant.conf there is: ...
0
votes
1answer
88 views

How to find which module is active for network control?

I have an Ubuntu VPS and I want to change its IP address and gateway. But none of the network commands work on this system. ifconfig works and shows just lo. ifup command not found. /etc/sysconfig/...
0
votes
1answer
341 views

DNS resolution broke after upgrading to 18.04, resolvconf broken or not fully installed

when googling i find stuff like this: askubuntu resolvconf but /etc/resolv.conf doesn't seem to exist sudo dpkg-reconfigure resolvconf returns that resolvconf is broken or not fully installed ...
0
votes
0answers
90 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....
1
vote
1answer
165 views

Multiple ip on an interface with netplan

I have a server that uses multiple ip for proxies with Squid. I'm setting it up on a new server, but with Ubuntu 18 I need to rewrite /etc/network/interfaces for netplan. On the old server /etc/...
0
votes
1answer
577 views

Does Ubuntu 18.04 use dhclient?

I'm trying to figure out how to configure my DHCP client on Ubuntu server 18.04. I have the following netplan configuration, coming from cloud-init: network: version: 2 ethernets: ...
0
votes
0answers
53 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
1answer
699 views

mapping values are not allowed in this context

# Let NetworkManager manage all devices on this system network: version: 2 renderer: NetworkManager wifis: wlan0: dhcp4:no dhcp6:no addresses: [10.10.10.1/24] gateway4: 10.10....
0
votes
0answers
209 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
1answer
1k views

Network problem in Ubuntu 18.04.1 Server

I just installed Ubuntu 18.04 live server edition ,while installing I configured two ethernet and everything worked fine,after the first reboot I cannot ping any address or connect to any network ,I ...
0
votes
0answers
61 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
1answer
574 views

How do I configure my network interface in netplan so that ppp can use it?

I have a new machine which I'm setting up as my LAN router using the 18.04 server release, to provide DHCP and bind services to my LAN, firewalling, NAT'ing, internet access etc. It has 2 ethernet ...
2
votes
0answers
569 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 ...
0
votes
0answers
46 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
1answer
272 views

ubuntu 18.04 no more IP after i removed yaml file from /etc/netplan

I had ubuntu 18.04 server with cloud-init still DHCP enabled IP address. I added yaml file to /etc/netplan and removed the file already there (think it was 50-cloud-init.yaml), but now i can't get ...
0
votes
0answers
216 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
1answer
101 views

Add temporary routes to netplan [duplicate]

I have installed Ubuntu 18.04.1 LTS, and I need to add some routes. Which command shall I use? ifup was deprecated?
1
vote
1answer
4k views

Adding DNS servers to Ubuntu 18.04

There is no less than 3 different ways to add DNS servers posted all over the internet. I have been reading netplan documentation and am I still not clear on how to add dns servers to a laptop. I am ...
0
votes
1answer
440 views

Syntax error in netplan.yaml after adding wifi section

I have a working netplan yaml to which I am trying to add a wifi entry for a second interface. This is an experiment, not an operational requirement. There is an issue with the syntax of the file. I ...
1
vote
1answer
619 views

Ubuntu Server 18.04.1 Cannot Keep Static IP Address After Assigned

I am trying to assign a series of static IP addresses to my homelab server so that I can run a media service. I edited /etc/netplan/ with the following: 01-netcfg.yaml: network: version: 2 renderer:...
0
votes
2answers
549 views

Scripting Netplan for static IP address

I've posted in the forum but thought I would ask here also. So, I am new to Ubuntu Server 18.04, netplan and .yaml. In the past using Ubuntu Server 16.04 I was able to create a pretty decent shell ...
1
vote
1answer
192 views

Netplan source route through script

I was using Ubuntu 14.04 and 16.04 but now when installing new ones or upgrading servers to 18.04, netplan has shown up. The machines work with DHCP and I currently have a couple of network scripts ...
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 ...
0
votes
1answer
914 views

Ubuntu 18.04 netplan.io how to prevent the creation of 2 default gateways [duplicate]

When I add 2 interfaces (eth0 LAN, eth1 WAN) with static IPs (or maybe also with DHCP), Ubuntu 18.04 Server is adding 2 default gateways. Thats not the goal. How can I define only 1 default gateway? ...
1
vote
1answer
1k views

Ubuntu 18.04 SERVER VPS on failover IP OVH

I am new into Ubuntu 18.04 and I am trying to make my VPS hosted on dedicated server (VMware) working, I tried the automatic network setup during install, but I got an subnet error, because IP and ...
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
2answers
1k views

Ubuntu server 18.04 LTS as WIFI access point

What is the correct way to run a WIFI access point on Ubuntu server 18.04 LTS? Netplan / systemd-networkd (as installed by default) doesn't support AP mode. Networkmanager (apparently) only works on ...
0
votes
1answer
273 views

Wifi Problem After Setting Static IP in Ubuntu 18.04.01 LTS

I set a static IP by following the instructions on https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/netplan-how-to-configure-static-ip-address-in-ubuntu-18-04-using-netplan.html At first, it ...
0
votes
1answer
251 views

ubuntu 18.04 netplan support ppp interface with specific ISP provider

Sorry about this could be FAQ but I did not find any useful information on Internet/Google. I setup a 4G/LTE modem on a Ubuntu 18.04 and it is verified by "sudo pon/poff provider". The next step ...
0
votes
0answers
645 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 ...
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: ...
0
votes
0answers
700 views

netplan 2 nic setup

I have a home server with an integrated gigabit Ethernet, and a PCI-e gigabit Ethernet card. I want to have my own LAN, separated from the ISP router. I don't want to use a dedicated router, I want to ...
0
votes
0answers
300 views

Netplan & samba-ad-dc

I'm running an active directory on ubuntu 18.04. I previously had one on 16.04 and it ran fine; I'm just rebuilding it with the new version and streamlining some stuff. Anyway, it kind of works. It ...
1
vote
1answer
2k views

Networking problem on Ubuntu 18.04: no gateway

After a fresh installation of Ubuntu 18.04 LTS I have configured netplan to use a static IP address by following the instructions available online here: https://www.tecmint.com/ifconfig-vs-ip-command-...
0
votes
0answers
480 views

Any way to set interface to promiscuous in 18.04 using netplan?

I'm honestly a bit stunned that this isn't covered. It's not that unusual, and it's simply not at all covered in the man pages for netplan. Any idea how to set an interface to promiscuous using ...
0
votes
1answer
365 views

netplan: is there an equivalent to `post-up`?

I have a VM with one interface configured via DHCP and the other configured statically. It boots up and configures the interfaces on start-up. However, in this VM I need a static route configured to ...
-1
votes
2answers
3k views

How to add additional IP to new interface on ubuntu 18.04?

I have an ubuntu 18.04 VPS with 2 additional IPs, this is the config file I'm using which config all IPs on ens3: network: version: 2 renderer: networkd ethernets: ens3: dhcp4: no ...
1
vote
2answers
4k views

Netplan bridge for KVM on Ubuntu Server 18.04 with static ips

I set up my first ubuntu server recently and I am struggeling with netplan. As I need a Windows to run one service which isnt available on linux, I try to set up KVM. The server has serveral static ...
0
votes
0answers
595 views

Ubuntu 18.04, network interface enp9s0 disappears suddenly

I am new to ubuntu, and I am using ubuntu 18.04 server. I configured the network interface enp9s0 with static address using netplan, and everything was working fine. Suddenly the the network interface ...
0
votes
1answer
815 views

Ubuntu 18.04 netplan issues: VM with 2 interfaces with static IP addressing will not configure the interfaces on boot

I have a VM with two interfaces that are configured statically. For this I have an /etc/netplan/config.yaml file like this: network: version: 2 ethernets: ens3: dhcp4: ...