Questions tagged [netplan]
42 questions
1
vote
1 answer
order list from ansible network interfaces
i'm trying to setup an linux docker host w/ ansible.
as already known docker creates network interfaces.
my machine has also two network interfaces for networking w/ diffrent networks.
the playbook snippet looks like this:
- name: Dump grep…

TheRojam
- 121
- 6
1
vote
0 answers
Ubuntu 18.04 netplan configuration for aws ec2 instance
In Ubuntu 16.06, I was adding another interface with following configuration
auto ens4
iface ens4 inet dhcp
sudo ip route add default via 10.10.8.1 dev ens4 table ens4_rt
sudo ip rule add from 10.10.8.0/25 lookup ens4_rt prio 1000
sudo ip route add…

Pooja
- 481
- 1
- 8
- 15
0
votes
0 answers
Cloudstack System VM Networking not working
I've set up a CloudStack testing environment using two VMs: VM 1 has Ubuntu, NFS and KVM installed. VM 2 has Cloudstack installed.
The issue is, that the generated system VMs don't seem to be able to connect to the internet. They are shown as…

Luigi
- 27
- 3
0
votes
1 answer
Cannot communicate to public IPV6 on the 2nd Network Interface Card of Azure Linux VM
There is a new Azure Linux VM (Ubuntu 22.04 LTS x64), with the following two network interface cards (NICs):
eth0
Mac Address: 00:22:48:8f:ba:bf
Private IPV4 Address: 10.0.0.4
Public IPV4 Address: 20.25.226.73
Private IPV6 Address:…

Edward Zhou
- 1
- 3
0
votes
0 answers
How to set the promiscusing netplan in Ubuntu 20.04 and 22.04 and make the flag appear after a restart
How to set the promisc flag on a network interface using netplan in Ubuntu 20.04 and 22.04 and make the flag appear after a restart.
Please suggest a solution using netplan or in another way (Through a script and adding it to the scheduler is not…

Kevin
- 1
0
votes
0 answers
Why does my multi-IP per NIC setup in netplan disrupt my network
I recently connected my second NIC on my server (running Ubuntu server LTS 22.04) and changed /etc/netplan/00-installer-config.yaml as described below to add multiple IPs to the second NIC (eno1 has IP 10.0.30.21 assigned from DHCP…

Aephir
- 157
- 6
0
votes
0 answers
docker run hello-world error: docker: Error response from daemon: Get "https://registry-1.docker.io/v2/" lookup proxy.hostname on 8.8.8.8:53: no such
I just installed docker in Ubuntu 22.04. The command:
docker run hello-world
displays the error message:
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": proxyconnect tcp:…

Mauro Assis
- 375
- 1
- 5
- 22
0
votes
1 answer
Select first interface with yq on YAML netplan file
I'm trying to select the first interface with yq (the Github mikefarah/yq version) on /etc/netplan/00-installer-config.yaml :
$ cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
…

SebMa
- 4,037
- 29
- 39
0
votes
1 answer
Ubuntu 20.04 NetworkManager ignoring eth0 configuration? Netplan configuration abandoned?
Until sometime last night, my UBUNTU 20.04 system was working fine with this configuration file at /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
…

Dennis
- 1,071
- 2
- 17
- 38
0
votes
0 answers
How to connect a bridge to a tunnel with netplan?
Well, before I asked this question, I searched a lot and couldn't find a proper answer (or the question was wrongly asked).
I want to connect a bridge to a GRE tunnel on netplan.
I can successfully do the connection, but the routing table doesn't…

Webix
- 17
- 5
0
votes
1 answer
bonding interfaces, can't reach the outside world
I am trying to bond two physical ifaces together with netplan/ubuntu 20.04. The first iface, eth0 has a public routable ip provided my cloud provider. eth1 is used for my private network. The goal is to bind these together in round robin mode. …

Daxcor
- 115
- 1
- 8
0
votes
1 answer
NetPlan configured VLAN in Ubuntu 18.04 cannot ping
I have an Ubuntu 18.04 server in AWS EC2, running Docker.
I want to have separate network cards for each Docker container, as the app inside them needs to use the same port (5003).
I added some private IPs to the server via the EC2 console, and…

JonJ
- 45
- 1
- 6
0
votes
1 answer
Start a QEMU/KVM guest with static networking configuration
I'm trying to build a VM using cloud-init and qemu-kvm as hypervisor. I have the following script that builds the VM with user data:
# Create an overlay image
qemu-img create -f qcow2 -b "$CLOUD_BASE_IMG" "$1".img
qemu-img resize "$1".img +22G
#…

Sergio Giménez
- 33
- 6
0
votes
1 answer
Netplan listen to a range of IP addresses
I have purchased a range of IP addresses. I want to bind all the available addresses to my VPS.
I have configured Netplan this way:
user@server:/etc/netplan# cat 60-static.yaml
network:
version: 2
renderer: networkd
ethernets:
ens3:
…

Leon Boon
- 357
- 3
- 16
0
votes
1 answer
How can I extend a netplan config & ensure the changes are applied
I'm currently trying to create a pve template for Ubuntu 20.04, I've managed to get everything working apart from that I can't seem to extend my netplan config (which adds keys that make networking work as a whole)
I've tried the…

viction
- 3
- 2