Hey!
I'm currently running OpenWrt 22.03.5 using VirtualBox on a Windows 11 Host machine. I have 4 adapters configured in VirtualBox. Currently the fourth adapter is set to receive an IP address from the WIFI the my computer is connected to via DHCP, for the OpenWrt's lan source. Also eth0 is the host-only adapter, so the windows 11 host machine can access the OpenWrt's services/subnet, and this works perfectly. The issue is that when I try bridging eth0, eth1, and eth2, only eth0 seems to work, and if I change the order and put eth1 first then the internal network works and the host only adapter stops working, and of course the ethernet controller (eth3) never works unless put first. I've provided some of my configuration info below, if any more is need please ask! Thank you for any help!!
ADAPTERS;
Adapter 1: (HOST-ONLY ADAPTER) HOST-ONLY (FOR ACCESS TO WRT SERVICE FROM HOST MACHINE) (eth0)
Adapter 2: (int-net) Internal Network (FOR OTHER VMS) (eth1)
Adapter 3: (BRIDGED) ETHERNET CONTROLLER (FOR INDIVIUAL DEVICE OR NETWORK SWITCH) (eth2)
Adapter 4: (BRIDGED) WIRELESS ADAPTER (FOR ROUTER WIFI) (eth3)
VirtualBox Adapters (picture);
https://prnt.sc/Uzl1zWDgX_RZ
IFCONFIG OUTPUT:
br-lan Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:10.71.71.1 Bcast:10.71.71.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:682 (682.0 B) TX bytes:883 (883.0 B)
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:822 (822.0 B) TX bytes:919 (919.0 B)
eth1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:918 (918.0 B)
eth2 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:918 (918.0 B)
eth3 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:425 errors:0 dropped:0 overruns:0 frame:0
TX packets:167 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:424866 (414.9 KiB) TX bytes:18018 (17.5 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:130 errors:0 dropped:0 overruns:0 frame:0
TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12429 (12.1 KiB) TX bytes:12429 (12.1 KiB)
NETWORK CONFIG OUTPUT:
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
list ports 'eth1'
list ports 'eth2'
option ipv6 '0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '10.71.71.1'
option netmask '255.255.255.0'
option peerdns '0'
option dns '10.71.71.1:5353' # local AGH
option ipv6 '0'
option delegate '0'
config interface 'wan'
option device 'eth3'
option proto 'dhcp'
option peerdns '0'
option dns '10.71.71.1:5353' # local AGH
option ipv6 '0'
option delegate '0'
BRCTL SHOW OUTPUT:
bridge name bridge id STP enabled interfaces
br-lan xxxx.xxxxxxxxxxxx no eth0
eth1
eth2