Questions tagged [netplan]
106 questions
0
votes
0 answers
Two IP addresses on different networks - Netplan
I have a server with only one network card (enp2s0) and I would like to have two IP addresses on two different networks. However, I would like to have one static IP and one using DHCP.
The first network on which I want a static IP is:…

Bastien
- 11
- 1
0
votes
0 answers
Ubuntu/netplan/iproute: route everything except specific /24 across interface
2 VLANs
10.160.32.0/24 on ens160 -> * (assume multiple non-merging subnets)
10.192.16.0/24 on ens192 -> management
Through ens160 I can hit other networks via routing.
Through ens192 is my management interface which isn't routeable via…

ClontarfX
- 1
- 2
0
votes
1 answer
Ubuntu on VMWare with multiple adapters - can't ping outside
I've made a machine with 3 nic adapters. Everything works inside configured networks, but It looks like routing is not working correctly:
ping 8.8.8.8
ping: connect: Network is unreachable
Here's my config:
/etc/netplan/00-installer-config.yaml…

Alby11
- 123
- 2
- 5
0
votes
0 answers
Keep two IP's in one subnet set on two interfaces separated
I have something I do not understand and is not working for me. So I hope that someone here can help me with this.
The situation is that I have one server with to network interfaces each in their own separated physical network.
Now I have configured…

arnby
- 1
- 1
0
votes
1 answer
Secondary IP not pingable from internet - Ubuntu 20.04 using netplan on Hetzner server
Let me start be saying I'm not an network expert. That being said, I'd need some help here as I'm breaking my head on this issue for two days now. I have several questions but will focus only on one specific one.
I ordered a hetzner root server and…

AGI_rev
- 1
- 3
0
votes
1 answer
NetPlan: multiple IPs with multiple gateways
I'm trying to add additional IPs linked to different gateways to my server. I'm following the example for, "Using multiple addresses with multiple gateways" from netplan.io/Examples
Invalid YAML: mapping values are not allowed in this context:
via:…

EfficionDave
- 221
- 1
- 4
- 16
0
votes
0 answers
Ubuntu server can be accessed only after ping
and tank you in andvantage for any suggestion,
I hve ubuntu server (20.04) on lan, but I can access to it (ssh or web-server apache) from other pc (windows 10) only if I do a ping from server to client (ubuntu must ping windows).
I read this post,…

petunia rose
- 1
- 1
0
votes
0 answers
Ubuntu 20.04 setting up 2 network interface on 2 differents subnet (1 WAN and 1 LAN)
I got a vm (on proxmox) to which I passthrough 2 physical NIC.
ens16f0: LAN connected (which is behind a routeur connected to a different WAN)
ens16f1: WAN directly connected
Both work as they should if configured individually, but when I try to…

Sébastien Beausoleil
- 31
- 1
- 2
0
votes
1 answer
Netplan - Error in network definition: Updated definition changes device type
I'm trying to set a static ip on Ubuntu.
ip a:
1: lo mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
...
2: epn2s0: mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
…

Gimme the 411
- 101
- 1
- 1
- 4
0
votes
0 answers
Networking.service failed to start - RTNETLINK answers: file exists
I've been having an issue with a server after rebooting it. Previously the networking was fine, and I rarely touched it as it's a back up server. Since rebooting it, it's been having issues. The server is running ubuntu 18.04
systemctl status…

AlexG42
- 1
- 2
0
votes
1 answer
two IPs and two gateways on one interface in bridge configuration with netplan on Ubuntu 20.04
I have a Hetzner dedicated server with single network card and two public IP addresses (both IPs have its own gateway). Right know it has only one address configured with neplan. Below is my config
network:
version: 2
renderer: networkd
…

Mariusz
- 1
- 1
0
votes
1 answer
How to specify the source IP for outgoing traffic
Morning folks !
I have multiple public ips set on my server, and I would need to use one in particular for the outgoing traffic, as it has been whitelisted on some services I need to reach.
I have the following in my /etc/netplan/netcfg.yaml file :
…

Arthur Deslauriers
- 13
- 3
0
votes
2 answers
Cannot add extra ip addresses on Ubuntu 20.04. using netplan
My servers has 10.20.10.100 ip address on eno1 interface.
I can successfully add temporarily ip address 10.20.50.60 (or any else).
When I try to add permanently using netplan I cannot connect to server anymore using it original ip address.
Content…

iWizard
- 418
- 3
- 12
- 27
0
votes
1 answer
Ubuntu Server 20.04: IP address in use
I have a bare metal dedicated server with a UK hosting company.
They have an automated system which keeps blocking my server because they claim that I am using an unauthorised IP address. The IP address which they claim my server is trying to bind…

user1022788
- 103
- 1
0
votes
0 answers
Best practice for configuring a complex virtual network with multple links and multiple virtual machines
I have a somewhat complex virtual network setup with multiple virtual machines and the links between them. There are perhaps 40 ip commands to set it up which (if I read the docs correctly) need to be translated into appropriate interface…

RabidMutant
- 123
- 5