wlp0s20f3 接外网,
eno1 接内网
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
ethernets:
wlp0s20f3:
addresses: []
dhcp4: true
routes:
- to: 0.0.0.0/0
via: 10.110.32.0
optional: true
eno1:
dhcp4: false
addresses: [172.20.1.100/16]
routes:
- to: 172.20.0.0/16
via: 172.20.1.1
metric: 30
网友评论