Questions tagged [netplan]

106 questions
1
vote
0 answers

Can not set static ip-adress on server (Ubunut Server 22.04)

I have been trying to set up my own cloud via nextcloud on an old laptop. So far it all works fine but the only problem is that I can not make it work with a static ip-adress. It works just fine with dhcp though. Thing I have tried so far is…
memoki
  • 11
  • 1
1
vote
1 answer

Netplan doesn't delete bond interface when removed from config

I have a working bond config, set via Netplan Example, netplan config: network: bonds: bond0: addresses: [10.10.10.135/26] gateway4: 10.10.10.128 interfaces: [ens1f0, ens1f1] nameservers: addresses: [8.8.8.8,…
Rino Bino
  • 511
  • 5
  • 21
1
vote
0 answers

DHCP pushed route to custom table on Linux

Is there a way I can direct routes that I receive from DHCP to a specific routing table depending on what interface it was received on? E.g. eth0 and eth1 are both configured by DHCP. I would like the default route from eth0 to end up in my main…
Carl H
  • 11
  • 1
1
vote
1 answer

Netplan (re)moving route from main routing table into different routing-policy

The high-level overview is this: I have an Impish Ubuntu server with two interfaces, addresses of 172.16.2.103/24 and 10.1.2.10/24. I would like default traffic to go via the gateway 172.16.2.254. However, when I specify a source address of…
1
vote
1 answer

Sent WG trafic to eth1

I setup a wireguard server with AWS, setup the wireguard client with a raspberry PI. Now I need to redirect the WG traffic (wg0) to eth1 (eth0 is the uplink to my switch) -- my goal is to get a IP from my WG server when a client is connected to the…
Kevin
  • 113
  • 4
1
vote
1 answer

netplan apply/try/generate ends with ERROR

We have cloud infrastructure based on VMWare with Windows and Linux VMs. After last reboot 4 of the Ubuntu (3 Ubuntu 20.04 and one Ubuntu 16.04) servers did not start network interface. With lshw -class network I see correct network interface…
Karlis
  • 11
  • 1
  • 3
1
vote
0 answers

How to add static IPv6 in Oracle cloud

I am running OS Ubuntu 18.4. I will add static ipv6 address with netplan in Oracle cloud my netplan yaml file looks like this: network: version: 2 renderer: networkd ethernets: enp0s3: accept-ra: no addresses: -…
1
vote
0 answers

Ubuntu server 2020.4 network bridge for KVM not starting

I'm attempting to configure a bridge to be used for a KVM host on Ubuntu 2020.4 LTS. The basic configuration with netplan works, but the bridge does not work until I manually add the ethernet interface to the bridge with brctl. But when doing that…
markus_b
  • 361
  • 1
  • 5
1
vote
0 answers

Ubuntu Servers 'loose' DNS and need to run netplay apply

I've got a bunch of ubuntu 18,20 servers (web/app) and their /etc/netplan/conf.yaml has the nameservers pointing to our 2 ubuntu bind/dns servers. Randomly, and often, I need to run netplay apply on the app servers because they stop talking to the…
MrPHP
  • 163
  • 8
1
vote
0 answers

Netplan will not assign given IP from yaml file

I have an Ubuntu 20.04.1 system and I am trying to set up the ethernet adapter with a static address and a vlan with a static address - here is my yaml file: network: version: 2 renderer: networkd ethernets: enp1s0f0: match: …
1
vote
0 answers

Netplan fails to bring up VLANs

I'm trying to have a properly configured Ubuntu 20.04 server network at boot. I have an physical interface connected to a trunk so I want to define some vlan tagged interfaces on it. I'm using netplan. Content of /etc/netplan/50-cloud-init.yaml…
loudgefly
  • 11
  • 1
  • 2
1
vote
1 answer

Netplan - Configure two interfaces on same network

I have a set of Ubuntu 18.04.5 LTS servers with two interfaces each. eno1 - 1g management interface eno5 - 10g data interface Both interfaces are in the same L2 subnet (10.98.16.0/22). My issue is that I'm unable to use the eno5 (10g) interface to…
Apatt
  • 11
  • 3
1
vote
1 answer

Xen Domain0 Has Network But DomainU does not

After re-installing my domain 0, a guest VM (domain U) is no longer able to connect to the network. I am using Ubuntu 20.4 on my Domain 0 with Xen 4.11. I am able to successfully connect to internet on this. cat /etc/netplan/config.yaml version:…
curios
  • 363
  • 2
  • 9
1
vote
1 answer

Setting default valid_lft and preferred_lft values with Netplan on Unbutu 20.04

What's the impact, if any, on having values greater than zero/forever for valid_lft and preferred_lft? Should I worry about this, and if so, how to set it automatically to forever at boot time (preferably using Netplan)? root:~# ip a 2: ens3:…
lucasart
  • 123
  • 1
  • 9
1
vote
2 answers

Unable to configure IPv6 correctly in Ubuntu 18.04

I have a cloud instance on OVH which is accessible over IPv4 but not IPv6. It's running Ubuntu 18.04. I've found conflicting advice about using netplan vs configuring systemd-networkd directly, but all of the things I've tried don't seem to have any…
joshsharp
  • 11
  • 5