RaspberryPi 無線LANでのブリッジ接続について
Posted: Sat Feb 19, 2022 6:16 am
RaspberryPiにてVPNサーバーを立てようとしていますが、うまくいかなくてお知恵をお貸しください。
環境
RaspberryPi4B 4M
OS:Raspbian GNU/Linux 11 (bullseye)
LAN:無線LANでの接続
状況
先行情報を参考にブリッジ接続を行おうとしていますが、wlan0とbr0が接続できない状況です。
・/etc/network/interfacesの内容
# wlan0の設定
auto wlan0
iface wlan0 inet manual
#br0の設定
auto br0
iface br0 inet manual
bridge_ports wlan0
bridge_maxwait 10
・/etc/dhcpcd.confの内容
denyinterfaces wlan0
interface br0
static ip_address=192.168.10.56/24
static routers=192.168.10.1
static domain_name_servers=192.168.10.1
・brctl show br0の出力
bridge name bridge id STP enabled interfaces
br0 8000.000000000000 no
テストのためwlan0の部分をeth0にするとbrctl show br0の出力は
bridge name bridge id STP enabled interfaces
br0 8000.e45f0171d00a no eth0
となります。
説明不足な点ありましたらご指摘お願いいたします。
環境
RaspberryPi4B 4M
OS:Raspbian GNU/Linux 11 (bullseye)
LAN:無線LANでの接続
状況
先行情報を参考にブリッジ接続を行おうとしていますが、wlan0とbr0が接続できない状況です。
・/etc/network/interfacesの内容
# wlan0の設定
auto wlan0
iface wlan0 inet manual
#br0の設定
auto br0
iface br0 inet manual
bridge_ports wlan0
bridge_maxwait 10
・/etc/dhcpcd.confの内容
denyinterfaces wlan0
interface br0
static ip_address=192.168.10.56/24
static routers=192.168.10.1
static domain_name_servers=192.168.10.1
・brctl show br0の出力
bridge name bridge id STP enabled interfaces
br0 8000.000000000000 no
テストのためwlan0の部分をeth0にするとbrctl show br0の出力は
bridge name bridge id STP enabled interfaces
br0 8000.e45f0171d00a no eth0
となります。
説明不足な点ありましたらご指摘お願いいたします。