Linux, 工作, 生活, 家人

Ubuntu

Netplan Bridge Setup

Backup for mysalves

network:
  version: 2
  renderer: networkd
  ethernets:
    enP6p1s0:
      dhcp4: no
  bridges:
    br0:
      dhcp4: no
      interfaces:
         - enP6p1s0
      addresses: [192.168.110.254/16]
      gateway4: 192.168.1.1
      nameservers:
              addresses: [8.8.8.8,8.8.8.4]
      dhcp4: no

ref
https://netplan.io/examples

發佈留言