I think I needed a reboot :)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Patrick M. Hausen on March 05, 2025, 07:45:21 PMPredecessor of that one, yes. German Telekom fibre, VLAN 7, PPPoE, three internal VLANs, 900 Mbit/s downstream. Telekom guarantees 700+something-ish. CPU is not maxed out during the speed test.
Quote from: Patrick M. Hausen on March 04, 2025, 05:36:36 PMAt work a DEC690 does it easily. German Telekom fibre. Probably a bit outside of your price range but for comparison.
Quote from: meyergru on March 03, 2025, 05:38:00 PMThe GX-412TC in its fastest configuration has 1.4 Ghz and only about 11% of the performance of an N100. Your board limits the CPU to 1 GHz, so it is right at its limit with 250 MBit/s.
Quote from: Patrick M. Hausen on October 12, 2023, 06:05:53 PM
I have this small desktop switch with Gbit throughput and interfaces and I just setup a new OPNsense installation - virtualised in bhyve, but network interfaces passed through.
What I see in iperf3 on my Macbook Pro to/from that OPNsense:
1. No VLAN, no bridge, OPNsense and Mac on same switch:root@OPNsense:~ # iperf3 -c 192.168.1.214 -P4
[...]
[SUM] 0.00-10.00 sec 1.10 GBytes 947 Mbits/sec 147 sender
[SUM] 0.00-10.07 sec 1.10 GBytes 941 Mbits/sec receiver
2. Tagged VLAN on OPNsense, untagged on Mac, both on same switch:iperf3 -c 192.168.1.214 -P4
[...]
[SUM] 0.00-10.00 sec 1.10 GBytes 945 Mbits/sec 0 sender
[SUM] 0.00-10.02 sec 1.10 GBytes 939 Mbits/sec receiver
3. Bridge on tagged VLAN on OPNsense, untagged on Mac, both on same switch:iperf3 -c 192.168.1.214 -P4
[...]
[SUM] 0.00-10.00 sec 1.10 GBytes 945 Mbits/sec 0 sender
[SUM] 0.00-10.03 sec 1.10 GBytes 939 Mbits/sec receiver
Kind regards,
Patrick
Quote from: Patrick M. Hausen on October 12, 2023, 03:38:27 PM
I do not experience loss of throughput when I use a single trunk interface to a switch or an LACP lagg to a pair of switches with FreeBSD and VLANs. Something else must be misconfigured in your setup. I grant that the bridge approach might become a performance bottleneck if you create 10 or more bridges. For a single one, also no noticeable degradation.
All with 1 Gbit/s infrastructure. 10 Gbit/s might indead bring FreeBSD to its limits.
Quote from: Patrick M. Hausen on October 12, 2023, 03:09:19 PM
10 VLANs on each LAN port, 10 bridge interfaces ...
Or buy a cheap 5- or 8-port switch like "anything from Ubiquiti". If you pick a model with PoE you can supply power to your APs on the go.
Quote from: CJ on October 10, 2023, 04:46:09 PMQuote from: sherif on October 10, 2023, 04:34:20 PMQuote from: CJ on October 10, 2023, 04:28:37 PM
Are you always testing with just two devices? And only adding more VLANs to the bridge? Or are you adding more devices as well?
It looks like you're trying to have OPNSense route inter VLAN traffic as well as cross VLAN traffic. Is there a specific use case for this? Why not use switches?
Just two devices for now, one connected directly to LAN no vlan port and other connected to VLAN port , just adding more VLANs, no more devices yet, I am still trying to figure out the best setup
So, I just want to go from device with VLAN outside , later I will have firewall rules to access some vlans from other VLANS, also I am getting way better performance if I joined the igb2 and igb3 into LAGG with LB instead of bridge , but still testing that, still nto sure what would be the best approach
Can you post a diagram? You didn't really answer my questions.
Based on my understanding of what you've set up, I'm not surprised that a LAGG performs better than a bridge, as you're offloading the inter VLAN routing to an actual switch instead of trying to force OPNSense to do it.
Quote from: CJ on October 10, 2023, 04:28:37 PM
Are you always testing with just two devices? And only adding more VLANs to the bridge? Or are you adding more devices as well?
It looks like you're trying to have OPNSense route inter VLAN traffic as well as cross VLAN traffic. Is there a specific use case for this? Why not use switches?