Questions tagged [netplan]

106 questions
0
votes
1 answer

Is "netplan apply" required if I reboot after changing /etc/netplan/xxx-config.yaml file

If I change the network device config in /etc/netplan/00-installer-config.yaml and then reboot will it apply the changes, or must I explicitly do "netplan apply"? (Ubuntu 22.04)
guesty
  • 63
  • 5
0
votes
1 answer

Respond to inbound connections from multiple gateways on a single interface

I have a network with multiple gateways (gw1: 10.0.0.1 and gw2: 11.0.0.1). My server (Ubuntu 20.04) have one NIC with multiple addresses (eth0:gw1: 10.0.0.55 and eth0:gw2: 11.0.0.55). Each gateway provide internet access and have a NAT rule…
fox91
  • 163
  • 7
0
votes
1 answer

Netplan routing with two uplinks

We have servers in a colocation DC and have two uplinks: A fast metered connection (for live traffic) and a slow flat rate one (for things like backups). We'd like to use a Linux box for routing and have a specific uplink be used depending on the…
zrav
  • 1
0
votes
0 answers

Netplan - two interfaces internet/intranet

I have server with two NIC. One is for intranet (ens160) and second is for access to internet (ens192). I tried to set this configuration through netplan and tried several combinations, unfortunately I have a problem with incoming connection from…
rumcajs
  • 1
  • 1
0
votes
0 answers

Best way of configuring a OpenVPN to allow access from the Internet to hosts behind a firewall

I have a Proxmox node with a bunch of VMs connected to a virtual bridged network. I have one VM on that bridged network that I want to connect to a Cloud VPS running OpenVPN. I then want to run an Nginx reverse proxy or directly port forward from…
obevan
  • 1
  • 1
0
votes
2 answers

How do I configure netplan in Ubuntu 22.04 with dynamic IPv4 and static IPv6?

With Ubuntu 22.04, the gateway option is deprecated and nearly every example I find for configuring netplan with static IPv6 uses gateway. My ISP's default /etc/netplan/01-netcfg.yaml only includes dynamic IPv4 and they do not provide DHCP support…
Paul
  • 3,037
  • 6
  • 27
  • 40
0
votes
0 answers

How to setup netplan routing for second (non-default) NIC to Lan gateway, while using iptables?

Trying to setup netplan (networkd) gateway-routing, with no-dhcp, iptables forwarding+Nat, between the 2 NICs: wan0 connected to Internet via its (default) gateway lan0 connected to the Lan gateway/router (**) The current yaml looks like: Let…
akhu
  • 1
0
votes
0 answers

MTU resetting back to 1500 after `netplan apply`

I'm trying to change the MTU of the eth0 interface on my machine running Ubuntu 18.04 (Nvidia Jetson Xavier NX). Running sudo netplan apply successfully sets the mtu for eth0 to 1280. Unfortunately, within a minute, my SSH connection is dropped. I…
Ben Butterworth
  • 562
  • 5
  • 12
0
votes
0 answers

Ubuntu 22.04 box cannot ping and connect to some services

iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ufw-before-logging-input all -- anywhere anywhere ufw-before-input all -- anywhere anywhere …
0
votes
0 answers

How to overwrite an interface config with match option in netplan?

I am using an Ubuntu 18 on a virtualbox machine and I am trying to overwrite a netplan config related to an interface. There are two config files located in /etc/netplan/. 50-cloud-init.yaml: network: ethernets: enp0s3: …
0
votes
1 answer

Can't add second IP adress via Netplan on Ubuntu

So I have a dedicated server for which I need a second IP adress. After ordering the adress the hoster just told me that i can now use the ip (giving me the IP, gateway and netmask). OS: Ubuntu 20.04.5 LTS x86_64 My issue is that I don't understand…
flololan
  • 101
0
votes
0 answers

2 Interfaces with different metric, and a single default gateway - losing connection

I have a weird issue. I have two interfaces: One is my WiFi, The other is a 4G USB I am trying to set up the default GW through the 4G USB (which is NATed by the 4G provider, hence, I can't SSH through this interface into the device) because I need…
Joe
  • 1
  • 2
0
votes
0 answers

Netplan routes do not seem to wrok with scaleway ip failover

I have a scaleway dedicated server (dedibox) with 1.1.1.1 as my primary IP. i have linked a "failover ip" 2.2.2.2 to this server i can ssh into the server with the two ip, but i can't get the outgoing traffic to go through 2.2.2.2 if i completely…
Nils
  • 101
  • 1
0
votes
1 answer

Ubuntu ethernet bridge limited to 1Gbs?

I have an Intel 522SFP network adapter in a Ubuntu Server machine and I am facing a strange issue with speed. If I use it "directly" with this netplan (enp1s0f0 interface) : # This is the network config written by 'subiquity' network: …
Karnalta
  • 129
  • 7
0
votes
1 answer

IPV6 conflict VM Ubuntu 20.04 - Netplan

I have a problem, I've two virtual machines, but the problem is that when I turn on the second VM I lost the connection on the first one and vice versa. Here is the bridge netplan configuration on the host server : network: version: 2 renderer:…
Irkoska
  • 3
  • 2