Questions tagged [netplan]

106 questions
1
vote
1 answer

Select next-hop based on source address

I'm trying to set up a Ubuntu-based gateway between clients and the core router, the ideal traffic flow should be: ClientGroup 1 (10.0.0.0/24) -> Ubuntu gateway (10.0.0.2) -> Core router (10.0.0.1) -> Internet ClientGroup 2 (10.0.1.0/24) -> Ubuntu…
GreenVine
  • 23
  • 4
0
votes
0 answers

ubuntu 18 nic bonding not working

I have some issue with my aggregated nics in ubuntu 18. I was not able to make it work. it is not pingable and not able to ping also. **Netplan config:** *network: bonds: bond0: addresses: - 192.168.1.5/24 …
101100t
  • 1
  • 3
0
votes
1 answer

Ubuntu set default outgoing ipv6 address

On my ubuntu server I configured multiple ipv6 addresses as following with netplan: network: version: 2 renderer: networkd ethernets: eth0: addresses: - xx.xx.xx.xx/22 - xxxx:xxxx:xx:xx::/64 -…
Migster
  • 1
  • 1
  • 4
0
votes
1 answer

Netplan configuration is not persistent

I have configured my network interfaces in my Ubuntu bionic (18.04) server using netplan, and afterwords I ran netplan apply and the configuration kicked in. In particular, I configured the DNS servers, and my server did resolved ips with the…
Yuval Pruss
  • 111
  • 1
  • 5
0
votes
1 answer

Add an on-link route in netplan

I'm trying to replicate in Netplan the equivalent of ip -6 r a 2605:6400:1:fed5::1 dev eth0 There's no "via" address. I've tried: routes: - to: "2605:6400:1:fed5::1" on-link: true But unfortunately, netplan comes back with…
GDR
  • 329
  • 4
  • 14
0
votes
0 answers

Netplan static routes break my DNS

On my network, 192.168.1.0/24, I have a sub-network with a pfSense router (static "WAN" IP 192.168.1.90, LAN and OPT interface IPs 192.168.2.{1,129}) and two subnets therein, 192.168.2.{0,128}/25 with two machines at IPs 192.168.2.30 and…
bjd2385
  • 141
  • 4
0
votes
1 answer

Netplan routing failure on reboot

I've got the following netplan config in a Ubuntu server 18.04.1: $ cat /etc/netplan/01-netcfg.yaml network: ethernets: ens160: dhcp4: true ens192: addresses: - 192.168.10.104/27 dhcp4: false routes: -…
ateam
  • 1
  • 2
0
votes
0 answers

How to set an IPv6 neighbour discovery proxy with Netplan?

How can I configure the following commands in Netplan? ip -6 neigh add proxy 2a03:4000:21b:44bc:1::1 dev ens3 ip -6 neigh add proxy 2a03:4000:21b:44bc:1::11 dev ens3 ip -6 neigh add proxy 2a03:4000:21b:44bc:1::12 dev ens3 I'm in a situation where I…
Peter Gloor
  • 101
  • 3
0
votes
0 answers

Setting up Bridge for KVM on Ubuntu 18.04.1 Server

I'm trying to setup KVM on Ubuntu 18.04.1 Server. I tried following the instructions here, however I got stuck at the part which has me configure the bridge. I don't have a 50-cloud-init.yaml file, only a 01-netcfg.yaml file (not a cloud setup, so…
NEW2WEB
  • 119
  • 1
  • 6
0
votes
1 answer

network configuration after restoring a snapshot on newly created VPS instance

I have a website up and running on a VPS instance from Vultr running Ubuntu 18.04LTS, everything is fine. I wanted to try out a snapshot of the instance in a restore session just in case something bad happened to the system. So I created a new…
doctorate
  • 101
  • 4
0
votes
2 answers

Ubuntu 18.04 setting up network on secondary interface

I've got a VM running Ubuntu 18.04 - it's all setup and running on a single public IP and has two interfaces - ens160 (public) & ens192 (private). My interface ens160 is already fully configured. However, when I try and setup ens192 and apply the…
Chris
  • 1,289
  • 2
  • 18
  • 34
0
votes
1 answer

Conflicting routes on wireless and Ethernet interfaces

I have two network interfaces: LANIF interface is Ethernet with no connection to the internet, and WANIF interface is of wifi type and with outside connection. I am having some problems trying to define the default routes of both interfaces. The ops…
deadlock
  • 111
  • 1
  • 4
0
votes
0 answers

Ubuntu: Netplan dont remove Nameserver

iam running ubuntu 22.04 on hetzner. After changing the nameservers with netplan, the old nameserver still show up resolvectl status and /etc/resolve.conf. Removing them from resolve.conf does not work, after reboot they are back. Is there a way to…
0
votes
0 answers

Extra DNS entries in the Linux routing table

I have a Linux machine Ubuntu 22.04 with two interfaces that I called bond0 and bond1. This machine has IP 10.242.87.123 and the following name servers: nameserver 161.26.0.7 nameserver 161.26.0.8 This server is part of a Patroni/PostgreSQL…
0
votes
0 answers

netplan mac address matching doesn't seem to work

I have a small pc box that only have one network interface, and since I needed 2 more interfaces, I've bought two usb network cards. Both same manufacturer. I wanted to rename interfaces (since they originally have pretty complex names) to: eth1 and…
zbro
  • 27
  • 6