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
19 views

Rocky Release using Ubuntu 18.04 with netplan

I am currently using Newton with ubuntu 16.04 and would like to migrate to Rocky over Ubuntu 18.04. But I discovered that Ubuntu 18.04 is using netplan instead of ifupdown to manage the network ...
0
votes
0answers
9 views

How to configure IP address for openvsiwtch bridegs with netplan

After upgrade to ubuntu 18.04, I configured the openvsiwth bridge, but failed to work with netpaln. I created the ovs brideg, and set the IP address with netaplan brigdes section, but seems it is ...
1
vote
1answer
26 views

Netplan Different Machine

I am currently trying to install Ubuntu 18.10 on a HP X310 headless server with no VGA port. Due to this I am unable to install directly on the machine. I have a system with similar specs and same ...
0
votes
0answers
24 views

netplan: Enable WiFi with no IP address on 18.04 LTS Server

I intend to run a KVM host. The Host should enable a wireless interface but assign no IP address to it. Like a Hyper-V Server with the WLAN Service enabled and set to "Automatically connect", but with ...
0
votes
0answers
14 views

Network and FTP issues

I am new to Ubuntu. I've done installs on CentOS and Redhat, but on Ubuntu I am having network and ftp issues. I ask them together as these issues might be related. This is also my first experience ...
1
vote
0answers
13 views

Ubuntu Server 18.04 no IPV4 after resume

I fail to get ipv4 working on an ubuntu server 18.04 after it was suspended and resumed. The only way I get ipv4 running again is reboot. The system is installed as a guest in a vmware virtual machine....
0
votes
1answer
26 views

how to set up nat and host only to access server from other computer virtual box

i want to create my own server on virtual box. i already add NAT and HOST-ONLY in virtual box. and this is ip from virtual box host-only Adapter ipv4 address = 192.168.56.1 netmask = 255.255.255.0 ...
0
votes
0answers
32 views

Error updating netplan.io

I'm using the last LTS but in the moment of use sudo apt-get update && sudo apt-get upgradeappears a message: The next package has retained: netplan.io Can you help me?
0
votes
0answers
53 views

netplan + WiFi: link is not ready (18.04 Server)

I'm trying 18.04 Server with this fancy new netplan and can't get my WiFi to work. Doing it the old-fashioned way (e.g. configuring wpa_supplicant.service and using dhclient), everything is fine. But ...
0
votes
0answers
34 views

Ubuntu 18.04 configure netplan with 2 network cards

I'm going to install ubuntu 18.04 on a small "server", not a real server, just a deliverer of multimedia files on demand, for a local network. I'm recollecting info because I still have not installed ...
1
vote
1answer
36 views

Netplan bond/bridge MTU setting not being honored on Bionic system

I'm running Netplan on an 18.04 system. I've been able to workout and convert most of my network configuration from my 16.04 systems to Netplan for 18.04, however I've run into an issue now when ...
1
vote
1answer
47 views

Ubuntu 18.04, complex network configuration with Netplan

I have a system on which I am using Netplan to provide networking and am running into some issues with the configuration. When I boot the box, there is not networking. When I try to run netplan ...
0
votes
1answer
41 views

Ubuntu 18.04 route to the gateway

i just start to use the Ubuntu 18.04. When i try to set up the static IPs on that VM. i can't access the internet. But if i switch to use the gateway as the DHCP device, it works. Any idea what went ...
0
votes
1answer
93 views

18.04 - does it force netplan or can I still use resolved.conf?

I kept getting timeout errors on 18.04 Bionic Beaver, until I switched to OpenDNS using these commands sudo rm -f /etc/resolv.conf sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf sudo ...
1
vote
1answer
47 views

Ubuntu Server 18.04.1 - error in network definition when trying to set static IP with sudo netplan apply

I get this error when trying to set static IP with the command sudo netplan apply: Error in network definition //etc/netplan/50-cloud.init.yaml line 5 column 34: expected scalar Here's what my config ...
1
vote
1answer
46 views

network doesn't work after adding second interface to netplan

I have a fresh install of Ubuntu 18.04.1 server. When I configure netplan with just my WAN address it starts up fine and I can ping out right away. However; when I add another address to my netplan ...
0
votes
1answer
51 views

Netplan bridge issue

I am trying to create a bridge using Netplan. I copied this part of the guide. But it gives me an error: root@ubuntu:~# netplan generate Error in network definition //etc/netplan/01-netcfg.yaml line ...
0
votes
1answer
93 views

Unable to ping 18.04 desktop unless this machine first pings the client, when using networkd instead of network-manager

I'm trying to set up networking with netplan and networkd as renderer on an 18.04 machine. It runs the desktop distribution because it's connected to my TV and used for multimedia, but I'll call it a ...
0
votes
0answers
38 views

How do I configure a DNS server for Ubuntu Server 18.04 LTS?

I am aware Ubuntu 18.04 uses netplan for its networking, and I have a file at /etc/netplan/50-cloud-init.yaml with the following info: Picture of /etc/netplan/50-cloud-init.yaml I know the syntax ...
0
votes
0answers
27 views

Yet Another Netplan Question

having trouble getting my head around netplan. I have 2 interfaces: ens18 & 19. ens18 is connected to my external network, ens19 connected internally. I want all internet bound traffic to go out ...
1
vote
0answers
60 views

18.04.1 LTS systemd-network not applying [RoutingPolicyRule]

I have a server instance with two interfaces, and I have created a rule to ensure traffic that comes in ens160 goes out ens160 despite matching the default route for ens192. The routes and rules work ...
1
vote
0answers
43 views

No default gw from dhcp in ubuntu server 18.04 with netplan

I have an issue with network configuration in ubuntu server 18.04. My host does not apply default gateway route from dhcp server. My netplan config is: network: version: 2 ethernets: enp0s8: ...
0
votes
1answer
95 views

Ubuntu 18.04 fails to start network, netplan DHCP configuration

Netplan configured for DHCP on interface ens160: more /etc/netplan/01-netcfg.yaml network: version: 2 renderer: networkd ethernets: ens160: dhcp4: yes When executing netplan restart ...
0
votes
1answer
51 views

home server DNS with dnsmasq

Pulling my hair for days here setting up DNS and DHCP with dnsmasq and the new way of doing things with netplan. WAN-router is on 192.168.0.1 - works fine LAN-router is on 192.168.1.1 - DHCP works ...
0
votes
1answer
73 views

Netplan with 2 NICs each connected to a different gateway

I'm a bit confused on how to configure my Ubuntu 18 server with two NICS using Netplan. Each NIC is on a separate subnet. They are directly connected to separate router interfaces on the router (this ...
0
votes
1answer
33 views

Can't use DNS name instead of ip for jdbc connection on local network

I have the following connectionString for my db: jdbc:sqlserver://{someIpAdress}:1433;database=db I want to resolve someIpAdress to the DNS name instead. By running nslookup on the ip I get the ...
1
vote
1answer
78 views

Ubuntu Server 18.04 weirdest connectivity issue - can ping externally but no internal connectivity

I'm running Ubuntu Server 18.04.1 on a Dell 7240 laptop. I have both the ethernet and wifi connected to my network (/24). The IP addresses are reserved by the DHCP server (my Asus router) and dished ...
1
vote
0answers
104 views

Netplan - Bridging over a bond on Ubuntu 18.04 KVM host

Sorry in advance for the long post, this has been rattling me days. I've got a server with 4 NIC (eno1, eno2, eno3, eno4). I'm trying to establish the following setup: Host - Ubuntu Server 18.04 ...
0
votes
0answers
58 views

How to cearte static ip for bond0 in Ubuntu 18.04 server

issue: not folder of root@localhost:~# ls /sys/class/net/bond0/device/ DEBUG:Cannot replug bond0: cannot read link /sys/class/net/bond0/device: [Errno 2] No such file or directory: '/sys/class/net/...
0
votes
1answer
56 views

Unable to convert partial VLAN from systemd to netplan

I will start by saying I do not know whether I am dealing with a user (me!) error (me!), a netplan bug, or even a systemd bug. I won't bloat this question with configurations and diagnostics yet, just ...
1
vote
0answers
62 views

How do I configure Kickstart network settings with Ubuntu 18.04?

I saw that in Ubuntu Server versions 16.04 and prior, there used to be a way to auto-configure the SystemV networking part of the Ubuntu OS in unattended installs via Kickstart files. However it seems ...
2
votes
0answers
80 views

netplan issue with Ubuntu 18.04.1 Server. No network connectivity (no routes either)

I've been using Ubuntu since inception and have recently found out about Ubuntu's switch to using netplan vs it's traditional/better /etc/network/interfaces method. I'm attempting to get this to ...
0
votes
2answers
368 views

Netplan error in network definition expected mapping

no way to make the network works on the new ubuntu server. This is the netplan yaml file: # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-...
0
votes
1answer
159 views

Ubuntu 18.04 desktop: netplan.io+NetworkManager: wrong default route mask (0.0.0.0/24)

My yaml file is: network: version: 2 renderer: NetworkManager ethernets: enp2s0: dhcp4: no dhcp6: no enp3s0: dhcp4: no dhcp6: no addresses: [192.168.245.50/...
0
votes
1answer
63 views

How to route IP net to interface using netplan

The VLAN of eth0 holds 2 IP nets, from the machine with IP 10.64.0.101/27 (eth0@machine-1) I used to connect to the openVPN server at 10.0.0.41/27 (eth0@machine-2) with the IP range 192.168.0.0/24. ...
0
votes
1answer
68 views

How do I config tunnels in netplan

I cant find any docs on how to bring up tunnels with netplan. Can some point me to the correct docs or does netplan not manage tunnels?
0
votes
1answer
93 views

Ubuntu 18.04 Netplan subnet routing (virbr0)

I have an Ubuntu 16.04 host with 6 LXC/LXD containers connected to the Internet in both directions using a routed setup. Each container gets one IPv4 address from a routed IPv4/29 subnet. In addition ...
0
votes
0answers
128 views

No network interfaces - Ubuntu Server 18.04

So, I had a fresh install of Ubuntu Server 18.04,everything worked fine till I reboot it today. Now there's no network interfaces except the loopback(lo). if I do 'ifconfig -a' I see my other network ...
0
votes
1answer
192 views

Network is unreachable

I have one server using 192.168.1.2/24 and the other server using 192.168.2.2/24. They are connected on my router with separate adapters. I tried ping test from my router, it worked. However, when ...
0
votes
0answers
35 views

Network doesn't come back up after connection loss

I've successfully gotten my setup working with a 2Gbps connection to the rest of my network through a Unifi switch via bond0 (enp6s0 & enp7s0 in LACP) using netplan. The problem I'm running into ...
0
votes
0answers
11 views

VMware adapter connection

I have router which have "adapter1" for NAT, "adapter2"for intnet1, and "adapter3" for intnet2. I made connection with router, web, and desktop by giving enp0s8 for "adaptor 2" (I changed those at the ...
1
vote
1answer
135 views

netplan apply does not change the IP address

ok, my file is located at /etc/netplan/50-cloud-init.yaml I changed the IP address as a static IP address as following: network: version: 2 renderer: netwokrd ethernets: dhcp4: no ...
0
votes
1answer
32 views

Ubuntu & Netplan - Example of blackhole or unreachable routes

I have not found examples of how to configure Netplan in Ubuntu Bionic 18.04 with global blackhole/unreachable routes. So I'll put it here in case someone else runs into the same problem, has an ...
1
vote
1answer
355 views

fixed IP address on LAN under Ubuntu 18.04 (netplan)

I've just installed Ubuntu for the first time and I want to set up a fixed IP address for my computer as a first step towards connecting from outside via ssh. I can find no menu in my router to ...
2
votes
0answers
100 views

ubuntu 18.04: not releasing old IPs from DHCP

We're running ubuntu 18.04, with the following configuration of netplan: network: version: 2 renderer: networkd ethernets: ens3: dhcp4: yes Currently we're running into an issue with ...
0
votes
0answers
73 views

Setting up Ubuntu server 18.04 static IP addresses with two NIC

I have two NICs on my Ubuntu 18.04 LTS server and I set first nic (eno1) for Public IP and the second (eno2) for private IP. Here is my 99_config.yaml # This file is generated from information ...
1
vote
0answers
275 views

18.04 server used netplan to setup WiFi, Now WiFi has same Mac address as Lan

Not sure if this is a bug in netplan or is expected behavior. I have tried this using a bare metal computer and also VMware Workstation 14.x and both USB and a PCI WiFi cards have the same Mac ...
0
votes
0answers
155 views

How to bridge two interfaces with netplan

I want to setup a gateway on an Ubuntu 18.04 machine with 2 eth ports - ETH1 - WAN connection, connected to my corporate network with DHCP ETH0 - LAN connection, connected to my laptop statically I ...
0
votes
1answer
242 views

Multiple network interfaces with netplan

So in short, I have 3 network interface on my Ubuntu Server 18.04 ens160 - LAN 192.168.1.50/24 set by dhcp ens192 - LAB 10.10.10.50/24 set by dhcp ens224 - SAN 10.10.15.50/24 static ip. They ...
0
votes
0answers
93 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. ...