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.

Filter by
Sorted by
Tagged with
1
vote
0answers
154 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 ...
5
votes
4answers
5k views

Can netplan configured nameservers supersede (not merge with) the DHCP nameservers?

I would like to use DHCP to assign an IP address to my server, but specify the DNS servers manually. I tried the following simple configuration: network: version: 2 renderer: networkd ...
2
votes
1answer
1k views

Netplan-configured LXD host doesn't restore network config on reboot

I have 17.10 server with LXD installed via snap (2 containers). I've configured host to have static IP and let containers be accessible from LAN. My 01-netcfg.yaml in /etc/netplan: network: ...
4
votes
1answer
6k views

Configuration of a bridge with a static IP with the netplan to be used with linux container

Summary: how to configure the netplan on a host machine to create a bridge (with a static IP address) that would be used on guest virtual machine (shall be accessible from a local lan). I am using ...
3
votes
1answer
1k views

How can I add a route that is “on the link”, directly connected to the interface even if the IPs are not the same?

We're working on an Ubuntu 17.10 linux and we would have to use Netplan for network configuration. We have a /run/systemd/network/*.network file which fit what we need, but we want to "translate" it ...
1
vote
1answer
18k views

netplan with multiple vlans on single interface - help needed

I have a single virtual interface and 802.1q enabled. When I have a single vlan for my interface in netplan it works, but when I add a second, additional vlan only the last vlan in the file works, ...
10
votes
3answers
11k views

Virtual interface in netplan

In the old /etc/network/interfaces I could define a virtual interface: auto enp7s0f0 iface enp7s0f0 inet static address aaa.aaa.aaa.aaa netmask 255.255.255.0 gateway aaa.aaa.aaa.1 auto ...
9
votes
2answers
3k views

ipv6 tunnel in Ubuntu 17.10?

I used to be able to do the configuration below with no issues in /etc/network/interfaces but now it's not picked up anymore. How do I configure a ipv6 tunnel now? I see see the new netplan software ...
4
votes
1answer
2k views

Can “netplan” be used with OpenVPN

I'm using Kubuntu 17.10, and use OpenVPN to connect to my corporate network. Since Ubuntu moved over to the new "netplan" way of doing network related things, I have found that several things in ...
0
votes
1answer
326 views

phone connects to wifi hotspot (Ubuntu 17.10) but I can't browse

I am getting an error when initiating the Wi-Fi hotspot that reads: Turn On Wi-Fi Hotspot? It is not possible to access the internet through your wireless while the hotspot is active. Wi-Fi hotspots ...
3
votes
0answers
7k views

Disable IPv6 on Ubuntu 17.10 (Netplan) [duplicate]

I'm trying to disable IPv6 on all of the adapters on an Ubuntu 17.10 machine. I used to be able to do so (prior Ubuntu versions) by editing /etc/sysctl.d/99-sysctl.conf to add disable parameters as ...
1
vote
2answers
2k views

How do I use netplan to configure PPPoE?

I want to add lines to a working 01-netcfg-yaml file to automatically connect an interface to ppp using a script created by pppoeconf. But I can't find any guides or examples. I would much ...
1
vote
2answers
9k views

Routes in Netplan… using routes: from the example says unknown key

I have two NIC both connected to private networks one that goes to a dead end network and the other that can get to the internet through NAT. When I bring up both the defaut route gets switched to ...
4
votes
2answers
2k views

How to get netplan on 17.10 server to work with a Windows Server DHCP server using MAC address reservations?

To do this on recent Fedora and Arch, it is necessary to set dhcp-client-identifier = hardware to get DHCP to work. I suspect the same is true on 17.10. However, Artful uses netplan and systemd-...
12
votes
3answers
9k views

netplan configuration on Ubuntu 17.04 virtual machine

I'm running VirtualBox with 2 network adapters: standard NAT (enp0s3) and a Host-only Adapter (enp0s8). I use the NAT to access the internet and the Host-only Adapter to SSH in from my local machine. ...
2
votes
1answer
1k views

How can I control the configuration that netplan generates?

Say I want to run a certain command after netplan has done its magic and started the network. In my case, I need to run a command to add a special "onlink" route, which netplan doesn't support yet. ...
0
votes
1answer
3k views

netplan or /etc/network/interfaces?

Is wireless networking better handled through /etc/network/interfaces as so: thufir@doge:~$ thufir@doge:~$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo ...
4
votes
1answer
5k views

How do I use a static IP in Ubuntu 17.10 and newer?

I changed config from dhcp to static (192.168.0.17), but still getting a dhcp assigned (192.168.0.141) IP. I don't know where else to check... any idea? ifconfig ens33: flags=4163<UP,BROADCAST,...
2
votes
1answer
4k views

Using networkd, how to see DNS Server

So the Ubuntu server is configured with netplan and the renderer is: networkd. How does one see the active DNS Server ? i.e. there is no NetworkManager.
7
votes
3answers
19k views

Ubuntu 17.10+ disable netplan

According to: https://wiki.ubuntu.com/Netplan I can disable netplan by: "preseeding netcfg/do_not_use_netplan=true (adding it the the command-line when you boot the Ubuntu Server installation media" ...
7
votes
2answers
5k views

Why is the network configuration I set in /etc/network/interfaces ignored on Ubuntu 17.10?

I've just installed ubuntu server 17.10. During installation, it suggested me to connect to the network through wifi, and so i did. After installation was finished and system was rebooted, computer ...