Home » Linux » Netplan: Static & dynamic interfaces

Netplan: Static & dynamic interfaces

Ảnh đại diện của KiênTT KiênTT 12:14 - 3/06/2022

WARNING **: Problem encountered while validating default route consistency.Please set up multiple routing tables and use `routing-policy` instead.
Error: Conflicting default route declarations for IPv4 (table: main, metric: default), first declared in xxx but also in xxx

FIX:

Step 1:  vi /etc/netplan/00-installer-config.yaml

Step 2: Add in routes

routes:
- to: 0.0.0.0/0
  via: 10.0.0.1

to

routes:
- to: 0.0.0.0/0
  via: 10.0.0.1
  metric: 100
  • Chia sẻ

CÙNG CHUYÊN MỤC

No Image

Ubuntu: Everything

How do I see what packages are installed on Ubuntu Linux? The procedure to list what packages are installed on ...

No Image

KVM: Install

A type 2 hypervisor enables users to run isolated instances of other operating systems inside a host system. As a ...

No Image

KVM: Network bridge with Netplan

Ubuntu 18.04 settings still depend on Network Manager, and wifi/3G is not supported by networkd yet. The following ...

No Image

Netplan: ‘gateway4’ has been deprecated, use default routes instead

** (generate:2683): WARNING **: 15:41:56.657: `gateway4` has been deprecated, use default routes instead. See ...

No Image

Linux: Scripts (bash script) Running in the Background

This articles gives a brief explanation of running bash scripts or scripts in the background. Applies to all linux ...

No Image

Systemd: Networkd wait online Failed with result ‘exit-code’

systemd-networkd-wait-online[855]: Event loop failed: Connection timed out systemd[1]: ...