Stack Exchange Network

Stack Exchange network consists of 175 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.

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
323 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
8k 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-...
10
votes
3answers
8k 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
985 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
4k 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
17k 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 ...