Hello all,
I use "TP-Link Archer C7 v2" router with OpenWrt 19.07.5 (OpenWrt 19.07.5 r11257-5090152ae3 / LuCI openwrt-19.07 branch git-20.341.57626-51f55b5).
I have 2 SSID set up on 2 different VLAN.
A physical port of the router is connected on my Pfsense (ESXi). The physical port on my ESXi is trunked (Port group : VLAN ID 4095).
The 2 vlans are declared on my Pfsense.
I would like to declare one of the two vlans on my ESXi as well in order to have a virtual machine in the same subnet.
For that, I have to create a bridge interface on Pfsense regrouping the interface that will be for the ESXi (for my VM) and the interface used for my SSID on Openwrt.
When I create my bridge interface, my virtual machine responds correctly. The network is OK. But I lose the network with my wifi equipment. Despite some tests I don't know why.
Do you have any idea ?
My configuration :
root@OpenWrt:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xxxx:xxxx:xxxx::/xx'
config interface 'lan'
option type 'bridge'
option ifname 'eth1.1'
option proto 'static'
option netmask 'XXX.XXX.XXX.XXX'
option ipaddr 'XXX.XXX.XXX.X'
option gateway 'XXX.XXX.XXX.X'
list dns 'XXX.XXX.XXX.X'
list dns 'XXX.XXX.XXX.XXX'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 2 3 4 5'
option vid '1'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 6t'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0t 2t'
option vid '20'
config interface 'SSID_1'
option ifname 'eth1.20'
option type 'bridge'
option proto 'none'
config switch_vlan
option device 'switch0'
option vlan '4'
option ports '0t 2t'
option vid '10'
config interface 'SSID_2'
option proto 'none'
option type 'bridge'
option ifname 'eth1.10'
Thanks & regards,