So, it's possible to wire all 4 ports of opnsense to the switch as trunk and opnsense performs some kind of 'load balancing' (4x GBit)?
Configured as LAGG on switch and opnsense. You don't want that.
I'm note sure what you hope to achieve by trying to do that. You have an APC4, one port will be needed for WAN. So you have a maximum of three available ports for all LANs, whether they be DMZ or whatever. My point was that you didn't need to use all the ports with VLANs.
My goal is also to avoid sharing bandwidth between the VLANS on same physical layer.
BTW; why is WAN on opnsense igb1 on default, not igb0? I left the default to be on the safe side in case of ...
clr1$ ip -d link show mgmt 4: mgmt@enp3s0: ... vlan protocol 802.1Q id 10clr1$ ip addr show dev mgmt4: mgmt@enp3s0: ... inet 192.168.10.11/24 brd 192.168.10.255 scope global mgmtclr1$ ip -d link show dmz5: dmz@enp3s0: ... vlan protocol 802.1Q id 90 clr1$ ip addr show dev dmz5: dmz@enp3s0: ... inet 192.168.90.11/24 brd 192.168.90.255 scope global dmz
tux $ ip addr show dev enp5s02: enp5s0: .... inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic noprefixroute enp5s0tux $ ip -d link show enp5s0.1011: enp5s0.10@enp5s0: .... vlan protocol 802.1Q id 10 tux$ ip r show 192.168.10.0/24192.168.10.0/24 dev enp5s0.10 proto kernel scope link src 192.168.10.100 metric 400
tux$ ping -c 3 192.168.90.11PING 192.168.90.11 (192.168.90.11) 56(84) bytes of data.64 bytes from 192.168.90.11: icmp_seq=1 ttl=63 time=1.02 ms...tux$ ping -c 3 192.168.90.1PING 192.168.90.1 (192.168.90.1) 56(84) bytes of data.64 bytes from 192.168.90.1: icmp_seq=1 ttl=64 time=0.506 ms...
tux$ ping -c 3 192.168.10.1PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.^Ctux$ ping -c 3 192.168.10.11PING 192.168.10.11 (192.168.10.11) 56(84) bytes of data.^C
admin@OPNsense:~ % ping -c3 192.168.10.1PING 192.168.10.1 (192.168.10.1): 56 data bytes64 bytes from 192.168.10.1: icmp_seq=0 ttl=64 time=0.233 ms...admin@OPNsense:~ % ping -c3 192.168.10.11PING 192.168.10.11 (192.168.10.11): 56 data bytes^C
According to your screenshot there is no vlan10 on igb2. Thus you can't connect to vlan10 in the DMZ.Is there no switch involved anymore?
Don't crate a 2nd vlan 10 on igb2, let the switch handle that single vlan10 on the igb1 port.
Also I'd use a 'real' Trunk between igb1 and switch, with tagged LAN and tagged Mngmt and let the switch hand out an untagged LAN to the clients port.
tux$ ip route showdefault via 192.168.1.1 dev enp5s0 proto dhcp metric 100 default via 192.168.10.1 dev enp5s0.10 proto static metric 20400 192.168.1.0/24 dev enp5s0 proto kernel scope link src 192.168.1.100 metric 100 192.168.10.0/24 dev enp5s0.10 proto kernel scope link src 192.168.10.100 metric 400 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown tux$ ip route show table mgmtdefault via 192.168.10.1 dev enp5s0.10 tux$ ip -d link show enp5s0.103: enp5s0.10@enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 00:1f:d0:9d:e7:81 brd ff:ff:ff:ff:ff:ff promiscuity 0 minmtu 0 maxmtu 65535 vlan protocol 802.1Q id 10 <REORDER_HDR> addrgenmode none numtxqueues 1 numrxqueues 1 gso_max_size 64000 gso_max_segs 64 tux$ ping 192.168.10.100PING 192.168.10.100 (192.168.10.100) 56(84) bytes of data.64 bytes from 192.168.10.100: icmp_seq=1 ttl=64 time=0.049 ms...tux$ ping 192.168.10.1PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.^C
admin@OPNsense:~ % ping 192.168.10.1PING 192.168.10.1 (192.168.10.1): 56 data bytes64 bytes from 192.168.10.1: icmp_seq=0 ttl=64 time=0.238 ms...admin@OPNsense:~ % ping 192.168.10.100PING 192.168.10.100 (192.168.10.100): 56 data bytes^C
iperf3 -c 192.168.1.1 -p 44002Connecting to host 192.168.1.1, port 44002[ 5] local 192.168.1.102 port 41168 connected to 192.168.1.1 port 44002[ ID] Interval Transfer Bitrate Retr Cwnd[ 5] 0.00-1.00 sec 25.4 MBytes 213 Mbits/sec 42 69.3 KBytes [ 5] 1.00-2.00 sec 25.6 MBytes 215 Mbits/sec 36 65.0 KBytes [ 5] 2.00-3.00 sec 24.9 MBytes 209 Mbits/sec 16 69.3 KBytes [ 5] 3.00-4.00 sec 25.4 MBytes 213 Mbits/sec 13 67.9 KBytes [ 5] 4.00-5.00 sec 25.8 MBytes 217 Mbits/sec 2 67.9 KBytes [ 5] 5.00-6.00 sec 23.3 MBytes 196 Mbits/sec 72 65.0 KBytes [ 5] 6.00-7.00 sec 25.4 MBytes 213 Mbits/sec 31 48.1 KBytes [ 5] 7.00-8.00 sec 24.8 MBytes 208 Mbits/sec 41 65.0 KBytes [ 5] 8.00-9.00 sec 25.8 MBytes 216 Mbits/sec 25 65.0 KBytes [ 5] 9.00-10.00 sec 25.0 MBytes 209 Mbits/sec 18 65.0 KBytes - - - - - - - - - - - - - - - - - - - - - - - - -[ ID] Interval Transfer Bitrate Retr[ 5] 0.00-10.00 sec 251 MBytes 211 Mbits/sec 296 sender[ 5] 0.00-10.00 sec 251 MBytes 211 Mbits/sec receiver