Last updated on 3 Ocak 2023 Salı
nano /etc/netplan/00-installer-config.yaml
network: version: 2 renderer: networkd ethernets: ens18: dhcp4: true dhcp6: no gateway4: 10.10.22.19 routes: - to: 10.10.22.0/24 via: 0.0.0.0 scope: link metric: 100 ens19: dhcp4: no dhcp6: no addresses: - 10.122.100.11/24 gateway4: 10.122.1.1 nameservers: addresses: [172.16.1.200, 172.16.1.203] routes: - to: 10.122.1.0/24 via: 0.0.0.0 scope: link metric: 200
netplan generate netplan apply
network: version: 2 renderer: networkd ethernets: ens18: wakeonlan: true dhcp4: no dhcp6: no addresses: - 10.10.22.111/24 gateway4: 10.10.22.19 nameservers: addresses: [10.10.22.121, 10.10.22.2] ens19: wakeonlan: true dhcp4: no dhcp6: no addresses: - 10.122.100.11/24 nameservers: addresses: [172.16.1.200, 172.16.1.203] routes: - to: 0.0.0.0/0 via: 10.122.100.1 table: 102 routing-policy: - from: 10.122.100.11 table: 102 priority: 300
İlk Yorumu Siz Yapın