this post was submitted on 28 Sep 2023
20 points (91.7% liked)

homelab

6602 readers
1 users here now

founded 4 years ago
MODERATORS
 

I installed opnsense on an i5-6500T (native, no vm) but it looks like the performance is very bad, most websites are timing out.

everything is turned off, there's no packet inspection or blocks, even the unbound dns server is not used (using a DC for that)

it's the computer that's underpowered, or i did some mistake in configuring it? Using two routers in the networks for my convenience

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Moonrise2473@feddit.it 0 points 1 year ago (1 children)

i had the idea that two gateways could work in the same network without issues... in my inexperience i tried it with three hosts on an hyperv virtual network and it worked.

my stupid idea it's like this:

  • main router 192.168.1.1
  • opnsense LAN connected to a switch on router LAN1 192.168.1.254
  • opnsense WAN 192.168.1.2 (still on the switch on the router LAN2)
  • pc1 static IP address 192.168.1.3 with main router as gateway and this works
  • PC2 DHCP assigned by opnsense in a pool from 192.168.1.50 to 192.168.1.100 with opnsense 192.168.1.254 as gateway

why i do this? To have a "temporary" setup where i slowly move all the static ip addresses to opnsense and in this way everything can have a valid configuration

[โ€“] veroxii@aussie.zone 3 points 1 year ago

You can still do this but as others have said you need to have 2 separate lans. Your old Lan can go to PC 1 from old router. Then opnsense wan goes to your existing Lan and importantly you are now creating a new Lan on the lan side of opnsense. Here you can connect the PC 2 to test with. Each PC should only be on 1 Lan and each Lan should have a separate subnet.

See this post and the last comment even references a diagram to exactly what you want: https://forum.opnsense.org/index.php?topic=32774.0

There are all kinds of routing protocols and algorithms at play which don't like loops and multiple routers competing to control the same subnet.