Ubuntu ap桥接到有线
/etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
dhcp4: yes
eth1:
dhcp4: no
dhcp6: no
bridges:
br0:
interfaces: [eth1, wlan0]
dhcp4: yes
dhcp6: no
wifis:
wlan0:
dhcp4: no
dhcp6: no
access-points:
"R5C":
mode: ap
band: 2.4GHz
channel: 6
password: "88888888"
netplan generate
netplan apply
浙公网安备 33010602011771号