07-13-周一_12-48-35
This commit is contained in:
@@ -806,6 +806,27 @@ boot etc lib media opt root sbin sys usr
|
|||||||
- linux-bridge(linux自带)
|
- linux-bridge(linux自带)
|
||||||
- ovs(open-vswitch)
|
- ovs(open-vswitch)
|
||||||
|
|
||||||
|
**扩展阅读**,如果让netplan(ubuntu2204默认的网络管理工具)让给NetworkManager管理网络
|
||||||
|
|
||||||
|
```bash
|
||||||
|
root@ubuntu:~# cat /etc/netplan/50-cloud-init.yaml
|
||||||
|
network:
|
||||||
|
renderer: NetworkManager
|
||||||
|
ethernets:
|
||||||
|
enp1s0:
|
||||||
|
dhcp4: true
|
||||||
|
version: 2
|
||||||
|
root@ubuntu:~# netplan apply
|
||||||
|
root@ubuntu:~# systemctl disable --now systemd-networkd
|
||||||
|
root@ubuntu:~# systemctl enable --now NetworkManager
|
||||||
|
root@ubuntu:~# nmcli device status
|
||||||
|
DEVICE TYPE STATE CONNECTION
|
||||||
|
enp1s0 ethernet connected enp1s0
|
||||||
|
lo loopback unmanaged --
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**NAT网络拓扑**
|
**NAT网络拓扑**
|
||||||
|
|
||||||
- 查看Linux网卡桥接
|
- 查看Linux网卡桥接
|
||||||
|
|||||||
Reference in New Issue
Block a user