Questions tagged [netplan]
106 questions
0
votes
1 answer
Forcing outgoing traffic via specific IP by process or user
I have a network interface with 5 public IPs. These IPs are working fine for incoming traffic. What I need to do is "force" outgoing traffic through specific IPs.
I also made a simple REST endpoint if you make a request it'll tell you your IP in the…

Tiago
- 101
- 2
0
votes
1 answer
netplan - Network with DHCP configured, but no internet
I am trying to configure my Ubuntu Server 20.04 LTS to use DHCP in its network configuration.
Many tutorials on the internet recommend that I create the following file with the following settings...
root@sinj:/home/brlight# cat…

Eduardo Lucio
- 269
- 4
- 14
0
votes
1 answer
All networking broken after running Remote-SSH on VSCode
I'm really stumped here and so are my friends. I've tried every fix in the book and thus far nothing has worked. I wanted to try out VSCode's Remote-SSH feature so I installed VSCode and the Remote Development extension on my VPS and my local…

onyxcode
- 1
- 1
0
votes
1 answer
How to set up kvm vm on separate nic from host in Ubuntu Server 20.04
I am trying to figure out how to setup a vm in Ubuntu Server 20.04 with kvm, but I am not having much luck.
The goal is to have the host on the 192.168.20.x network and the vm on the 192.168.10.x.
I have two physical nic's available, so I would…

Zach
- 1
0
votes
1 answer
How to drop dhcp ip assignated when using clevis/tang on Ubuntu 20.04
I unlock my drive with clevis/tang on an Ubuntu server (NBDE). It works fine, but even if my server is configured to use a static ip in /etc/netplan/01-netcfg.yaml, my network interface also listen on two dhcp ip attributed on the boot process. How…

Francis
- 481
- 2
- 7
- 19
0
votes
1 answer
Cannot display default NGINX page
I just installed Ubuntu 20.04 on my server. I also installed Nginx.
My problem is that the default sie Nginx page is not displayed. Yet UFW is not activated.
Do you have an idea of the problem ?
This site is inaccessible 24.76.99.542 took too long…

20f2c98f50
- 39
- 2
- 11
0
votes
1 answer
Netplan, two gateways for two subnets
I'm trying to get working following:
Have 2 subnets (ie. 192.168.15.0/24 and 192.168.19.0/24) and two gateways (192.168.105.1/24, 192.168.109.1/24), and Ubuntu 18.04 server with netplan as router (.1/24 in subnets, .2/24 in gateway subnets).
Goal is…

Belegot
- 11
- 1
- 3
0
votes
0 answers
Is there a way to target an interface without knowing its name or mac address?
We're running a handful of virtual servers at OVH, which use openstack.
Most of the servers have a public interface as well as a private interface which is connected to a "virtual private cloud", or vRack as OVH terms it.
I've seen a few times that…

sbrattla
- 1,578
- 4
- 28
- 52
0
votes
0 answers
Configuring DNS in netplan
Ubuntu is installed in the VM. To access a remote corporate repository, I need to configure DNS. At this point, if I use the PING command, I will get the following response:
user@ubuntu:~/projects$ ping -c 3 gitlab.companyname.com
PING…

Roman
- 1
0
votes
0 answers
Adding a whole ipv6 /64 block to a ubuntu 18.04 server
I know there are other questions that had already asked this, but the solutions don't work (anymore and for me).
I added the IP in the netplan config file(01-netcfg.yml):
version: 2
renderer: networkd
ethernets:
eth0:
addresses:…

cloudybyte
- 1
- 1
0
votes
1 answer
Add IP addresses to systemd-network besides netplan
On an Ubuntu 20.04 server, netplan is used to configure the network. It can configure ordinary static IP addresses but I need additional IPv6 addresses with preferred_lft=0. Netplan can't do that (there's an open bug for that). So I found out that…

ygoe
- 123
- 1
- 11
0
votes
1 answer
Dual NIC silently rejecting all incoming traffic from one interface
In my server, I have two ethernet cards:
enp0s17, local IP 192.168.0.7, router's public address x.x.x.x, netmask 255.255.255.255
enp0s18, local IP 172.16.0.7, router's public address y.y.y.y, netmask 255.255.255.0
On both networks, any incoming…
0
votes
1 answer
Configure a web server with two gateways
I have two routers: Router 1 and Router 2 both connected to the internet. A desktop computer (lets name webserver) serving some websites is connected to both routers. Router 1 through WiFi and Router 2 through ethernet. I have a setup using dydns…

TheRimalaya
- 101
0
votes
0 answers
No connection to default gateway
I freshly installed a new ubuntu server and set up netplan for 802.3ad. Now I can reach every device in my network but not the gateway and therefor the internet. The server is directly plugged into the gateway (like every other device). I don't have…

Erik Bender
- 101
- 1
-1
votes
1 answer
how to save static routes permanently in ubuntu
The current configuration:
server1:
sudo route add -host 10.0.1.2 dev enp131s0f0
sudo route add -host 10.0.1.3 dev enp131s0f1
server2:
sudo route add -host 10.0.1.1 dev enp131s0f0
sudo route add -host 10.0.1.3 dev enp131s0f1
server3: …

Lod
- 21
- 6