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

Setting default DNS on Ubuntu 18.04 (netplan)

I would like to configure my Ubuntu 18.04.2 (LTS) machine to always use the Google DNSs, no matter what the network. I'm experiencing DNS issues with some VPN connections, e.g. if I connect to a VPN ...
0
votes
0answers
11 views

veth down after reboot on bionic beaver (netplan) systemd

First, please forgive my lame markdown skills. Running Bionic Beaver: host:~# lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic Can'...
0
votes
0answers
45 views

Ubuntu Server 18.04 is set to static IP and get also DHCP-Address

I had problems to setup up a bond, i decided now to use only on interface without bonding. But now i have 4 IPs on my two interfaces, 2x static and 2x DHCP. but it is configurated to only have the ...
1
vote
1answer
33 views

Trying to set DHCP IPs and manual DNS server

my Ubuntu 18.04 laptop is connected to a WiFi with DHCP but I want to manual set a unique DNS server into the network. When I set /etc/resolv.conf with the following configuration it works well, but ...
0
votes
0answers
22 views

Changed subnets; routing table is incorrect

When I boot my Ubuntu 18.04 box (this is an old machine that's been through several upgrades) after moving apartments and changing the local subnet from 192.168.1.0 to 192.168.0.0, my networking is ...
0
votes
1answer
43 views

Netplan config not working

I migrated from Ubuntu 16 to 18.04, and now my Internet connectivity is broken. Problem seems to be that 18.04 is using netplan and it wasn't properly configured. The file /etc/network/interfaces ...
0
votes
0answers
18 views

Routing Traffic on additional IP to VM

I've setup a Windows Server 2012 VM on Ubuntu 18.04 for testing purposes. The VM is running but without internet access. I've also got a second ip from my host, Hetzner.de. The Ubuntu server has ip: ...
0
votes
0answers
19 views

box pulls dhcp addr successfully, but cannot ping gateway or anything else on subnet

My wired ubuntu18.04 box pulls a dhcp address Ok, but cannot ping any machine on subnet. It can ping localhost|127.0.0.1|its own (dhcp) ip. # ping 10.0.0.1 From 10.0.0.195 icmp_seq=1 Destination ...
1
vote
0answers
32 views

Cloning an Ubuntu 18.04 physical server

I am working on cloning an Ubuntu 18.04.2 physical server, I use clonezilla for cloning, however, when I apply that image to any other servers (and of course I change the hostname and static IPs), I ...
0
votes
0answers
33 views

netplan - multiple configurations for the same device

in the NetworkManager i can have multiple configurations for the same network interface (i.e. a static address like 192.168.33.3, a static address [to configure a router in factory settings] like 192....
0
votes
0answers
50 views

DNS Resolution Broken After Uninstalling PiHole

Ubuntu Server 18.04. I have been running PiHole on my Ubuntu server for a while now, and decided to break that service off onto a dedicated machine. After uninstalling it however, my server is ...
0
votes
2answers
975 views

Bond slave got IP-address from DHCP in Ubuntu 18.04

I setup up a bond with 2 devices in ubuntu 18.04. It looks like the bond0 is comming and i can ping it, but the physical interfaces got an IP-address from my DHCP-Server, too. IP-address of ...
-1
votes
0answers
41 views

How to dynamically add a secondary IP Address permanently to eth1 interface on Ubuntu 18.04 LTS ec2 instance

actually i need to configure 2 ip address to eth1 interface, in which i want to maintain ip address in dynamic mode so it will get assigned from AWS. In this link https://aws.amazon.com/premiumsupport/...
0
votes
0answers
31 views

Netplan error, setting static ip

someone who can help me please!!! I want to setting an static IP. My file is... This file is generated from information provided by the datasource. Changes to it will not persist across an ...
1
vote
1answer
85 views

How to set up DNS and resolv.conf file

I've had Ubuntu Server 18.04 up and running for a couple weeks. For a while my network interface never connected. I eventually got a proper netplan YAML file setup. I can now ping my servers IP, not ...
0
votes
0answers
42 views

Client gets DHCP but no Network

Our DHCP server (Ubuntu 18.04) is giving out IP addresses. But the clients do not get a network connection. We can ping inside and boarder but nothing more. What are we doing wrong. Also we are new to ...
2
votes
0answers
39 views

Ubuntu 18.04: Host name changes spontaneously from FQDN to PQDN in DNS

We are running Ubuntu 18.04 LTS with networking configured by Netplan. The network has a Windows DHCP server and a Windows DNS server. The Ubuntu 18.04 machine uses this Netplan cfg file to obtain a ...
0
votes
1answer
57 views

NetPlan bridge doesn't work 18.04

I am trying to setup network bridge on 18.04 VPS with 2 IPs and right after applying netplan apply, internet stops working while all configuration and adresses are good: ip -c addr and ifconfig shows ...
0
votes
1answer
92 views

Netplan - multiple interfaces access to ssh and apache issue. Ubuntu 18.04

Okay I've been struggling with this all the week sorry if it's a repost but I couldn't find or understand any other "ask ubuntu" posts. My goal it's to reach the ssh connections from one interface ...
0
votes
2answers
107 views

netplan default gateway / route Internet traffic to WiFi

I need help with a (simple) network configuration with netplan. It is very simple, I have 2 NICs: enp5s0 is ethernet and give access to the company network, and wlp4s0 is WiFi and give access to ...
-1
votes
1answer
37 views

Using netplan with ucarp

we know that new version of the Ubuntu fully support the Netplan. So I want to ask how can I use this feature with ucarp protocol (application). How can i integrate the Netplan with ucarp.If there isn'...
1
vote
1answer
106 views

Bonding stops working when disconnecting primary interface Ubuntu 18.04

I have tried to set up bonding between two switches that link to one switch that is linked to a camera (10.0.10.10): Camera | | Switch 1 - - - - - - - - | | | A ...
2
votes
2answers
83 views

Netplan Indentation Error?

With this configuration I'm getting this error: Error in network definition:expected mapping (check indentation) set-name: eth0. Why? the indentation of the named item is proper ... isn't it? ...
0
votes
2answers
78 views

How to avoid 5 minute boot delay in 18.04: “A start job is running for Raise network interfaces”

Problem: 5 minute delay on startup Device: UP board (small x86 board), running 18.04, with a Panda PAU05 wireless USB adapter, connected via HDMI to a monitor Network configuration: using netplan ...
1
vote
1answer
110 views

IPv6 default route NOT being set netplan Ubuntu 18.04.2 LTS

Am unable to configure the default route using netplan on an Ubuntu 18.04.2 system. The route works when explicit ip -6 route add ... commands are issued. Privacy extensions have been disabled: /etc/...
0
votes
1answer
69 views

Hostname (localserver.local) not working with static IP with netplan

I want to use a local hostname to access the same local server via multiple VLAN's easily. It works very well when I set netplan to DCHP, and follow these steps: https://linuxconfig.org/how-to-change-...
0
votes
0answers
65 views

Netplan configuration nameservice error

I'm using Ubuntu 18.04. Setting up my work PC to connect to the network and domain. I've been working on switching to Netplan from using /etc/network/interfaces I've created the yaml file and run ...
0
votes
0answers
29 views

Ubuntu 18.04 bond with netplan duplicate MAC address after cloning

I have a situation in which I have many identical servers to setup Ubuntu 18.04 on. I set one server up, took an image with Clonezilla and then restored on all others. Normally, I go to each of these ...
0
votes
2answers
70 views

can't seem to generate a valid netplan YAML enough to connect to wifi

How do I know what the proper syntax for netplan is? I've looked up the netplan docs online and everything I try gives me KEY errors when I try to use netplan generate.
0
votes
1answer
130 views

NETPLAN not acepting settings

yaml setup I have the following netplan layout and it keeps coming up with the error IP address shown here as xxx ethernets: check indentation^ network: version: 2 renderer: networkd ...
0
votes
2answers
253 views

Netplan configuration is not persistent

I have configured my network interfaces in my Ubuntu bionic (18.04) server using netplan, and afterwords I ran netplan apply and the configuration kicked in. In particular, I configured the DNS ...
0
votes
0answers
30 views

Routing between two subnets in netplan

I have the following Setup in Virtualbox: Router 1: network: version: 2 renderer: networkd ethernets: enp0s3: dhcp4: yes enp0s8: dhcp4: no addresses: [192.168.1.1/24] ...
0
votes
1answer
963 views

How to setup of Raspberry Pi 3 onboard WiFi for Ubuntu Server 18.04?

How to setup of Raspberry Pi 3 B+ onboard WiFi for Ubuntu Server 18.04? In particular, with netplan? Exiting answers, such as "How to use onboard wifi on Raspberry Pi 3 with Ubuntu Server 16.04?", ...
0
votes
1answer
26 views

route add -net 192.168.19.0/24 dev tun0 to netplan yaml 1 to 1 mapping

as route add is only temporary how can I configure sudo route add -net 192.168.19.0/24 dev tun0 into /etc/netplan/50-cloud-init.yaml
0
votes
0answers
38 views

increase internet speed using two network card and two ip in the same network

I'm installing a server at my university. However the speed of connection is quite slow: Max 10 Mb per second. The server that I'm installing has two network card. I was wondering if there is a way ...
0
votes
1answer
118 views

Netplan uses only the first DNS server

I'm trying to configure the nameservers in my Ubuntu 18.04 with netplan. I got a DNS server which is running on my localhost (127.0.0.1). My configuration looks like this: network: ethernets: ...
0
votes
0answers
58 views

ipv6 address of default LAN gateway

19.04 I'm setting up some IPV6 static addressing using netplan and want to put the ipv6 gateway. wifis: wlp3s0: dhcp4: no dhcp6: no addresses: [10.0.0.120/24,"fe00::120/64"] ...
0
votes
1answer
131 views

Create an acess point with netplan

I am trying to set up a wireless access point on my raspberry pi 3B (running Ubuntu 18.04 server) using netplan. The documentation seems to imply that I can do this by specifying mode: ap in the .yaml ...
0
votes
0answers
110 views

DNS no longer working after Ubuntu-Desktop installed

I built a Ubuntu Server 18.04 server to play with Docker and a few other things. When I initially installed Server I had some issues with Netplan and getting DNS (my own server) to work, but I go ...
0
votes
1answer
57 views

Ubuntu 18.04 LTS configuring WEPA WiFi for static address

I have an Ubuntu 18.04.02 LTS (headless) server that has been communicating with Ethernet. Circumstances demand that I now switch to Wifi using a USB Wifi dongle. I have used this Wifi dongle in the ...
0
votes
1answer
149 views

Ubuntu 18.04 problems with DNS not working for local network devices

I have two PCs on my local network running Ubuntu. One is running 16.04 and the other is running 18.04. I was having trouble accessing other devices/PCs on my local network using their hosthame. I ...
1
vote
3answers
619 views

Ubuntu 19.04 bind not resolving locally

Just trying the newest Ubuntu 19.04 and it has some differences with resolv.conf when running my own bind locally. Previously in 18.04 resolv.conf looks like this nameserver 127.0.0.1 nameserver 127....
0
votes
1answer
106 views

Issues setting up netplan with 2 NICs, one with ppp

I use netplan with 2 NICs, one for the LAN enp0s31f6 and one for the internet enp6s0. Firstly I can't get systemctl to launch iptables successfully. It says it does in the logs - but when I check, ...
0
votes
1answer
57 views

I know the command line so what's the netplan yaml?

in Ubuntu 18.04 (and 18.10) we're finding (on proxmox host) that Ubuntu VM's are losing the lan IP route on restart. We know the command to make them re-add it. But we don't want to have it run it ...
0
votes
1answer
150 views

Set the nameserver in ubuntu with netplan

I'm working on an ansible playbook to set the dns server addresses in my Ubuntu Bionic 18.04.2 server. I don't want to use resolv.conf cause I learned it's deprecated in the new Ubuntu. My question ...
0
votes
0answers
110 views

Ubunutu 19.04 Networking Question

I am currently trying to debug a networking issue with dns and openvpn. I am finding it confusing to work out how ubuntu is currently handling networking in general. Can anyone explain the precedence, ...
-1
votes
1answer
194 views

Ubuntu 18.04.2 netplan basic wired network configuration

Struggling tonight to find basic information on getting a machine back on the network. Wired dhcp no longer works and I can't figure out how to even do a static assignment. I have a wired and wireless ...
0
votes
0answers
62 views

Ubuntu 19 in VMware 15 player (Windows 10): ping get stuck after a few seconds

I have installed the last Ubuntu version (19) in a VMware Workstation 15 player, in bridge mode. I'm experiencing problems with DNS and ping. Looks like the DNS resolution works for a few seconds and ...
0
votes
0answers
47 views

Porting transparent proxy routing configuration to netplan

How can I translate the following ip commands, which divert traffic for the purpose of transparent proxying to the local machine, to a netplan configuration for Ubuntu 18.04? ip route add local 0.0.0....
2
votes
3answers
800 views

make netplan write resolve.conf

I have an Odroid C2 - a single board computer running 18.04 minimal for ARM. Originally, it was using NetworkManager + systemd-resolved to manage network connections, but since I use only Ethernet and ...