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
0
votes
1answer
2k views

Defining Static IP addresses for Multiple NIC adapters

Just would like to understand how you define static IP addresses for Ubuntu 17.10 server with multiple NIC adapters (i.e.eth0 and eth1) using the /etc/netplan directory. (basically a continuance from ...
6
votes
1answer
3k views

How do I stop netplan from binding a default gateway on every interface

I have a fresh install of ubuntu server 17.10, however the problem may affect previous versions, but this is the first time I have encountered this situation. The server is running 2 separate network ...
4
votes
1answer
10k views

How can I configure default route metric with dhcp and netplan?

My problem is quite similar to this question. My vagrant machine sets default route metric incorrectly. The following is netplan configuration. network: version: 2 ethernets: enp0s3: ...
0
votes
2answers
509 views

Share network with second ethernet port ubuntu 17.10

I want to share network from enp1s9 with second interface enp1s10. The same function in windows bridge adapter. I was trying use bridge and bonds, but without succes. Becouse of ubuntu 17.10 I am ...
0
votes
1answer
329 views

Netplan: How can I assign the entire subnet to the NIC, exept for the gateway and broadcast IP

My /etc/netplan/01-netcfg.yaml # This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: ...
16
votes
1answer
14k views

Why did Ubuntu change the network configuration

As we all know, to configure the network, we can edit /etc/network/interfaces and execute /etc/init.d/networking restart. Today I try to use Ubuntu 17.10 and I've found the network configuration had ...
1
vote
1answer
429 views

Ubuntu Desktop 17.10 will not accept static IP with a wifi dongle

After looking at several threads like this one or this one. Here is my /etc/netplan/01-network-manager-all.yaml content: network: version: 2 renderer: NetworkManager ethernets: ...
1
vote
0answers
151 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 ...
4
votes
4answers
4k 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
5k 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
16k 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, ...
9
votes
3answers
10k 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
2k 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
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
990 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
18k 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 ...