I’ve been scouring the web for hours readin every post I could find… So if this has been asked before, and I missed the answer I apologize in advance…<\/p>\n
Advertisement
Long story short, I have a HP2920 that I am planning on using as the entry point to my network, before going to a redundant OPNSense configuration…<\/p>\n
Advertisement
My main issue lies in that the ISP is only providing me one DHCP’d IP Address, and for CARP in OPNSense, I need 3 IPs.<\/p>\n
My “Goal” is to take the incoming ISP Connection on Port A1 (VLAN 1 - IP Address set to DHCP), and Route it somehow (IP Routing, NAT, whatever) to my “Transfer” VLAN (VLAN 2 - 192.168.1.1/30 - Ports B1 & B2), which will go to my OPN1 (192.168.1.2) and OPN2 (192.168.1.3) which have a shared Virtual IP (192.168.1.4)<\/p>\n
For reference, my Redundant OPNSense configuration will handle my LAN (192.168.10.x), with each OPN Box routing 4x 1gbps trunks to ports 37-40 and 41-44 on the 2920 (Ports 1-48 are VLAN 3), and each OPN Box also has a 10Gbps connection to my server and desktop directly… VLAN 3 is mostly just for management, and the ethernet spread through my house.<\/p>\n
Is what I’m trying to do even possible? Any suggestions for how to resolve this that doesn’t involve introducing another SPoF? (the 2920 as a SPoF is acceptable to me for now, as I have extra PSU’s for it)<\/p>\n
Appreciate any help that can be provided<\/p>","upvoteCount":3,"answerCount":15,"datePublished":"2025-06-08T11:29:36.724Z","author":{"@type":"Person","name":"seanmcg182","url":"https://community.spiceworks.com/u/seanmcg182"},"acceptedAnswer":{"@type":"Answer","text":"
Use CARP on the LAN side and then configure the WAN with the same MAC address on each but only have 1 WAN up at a time. Add a static route to the other that’ll be low precedence that the ISP gateway when its up.<\/p>\n
The HP2920 can’t do NAT but can be used to connect the OPNsense routers to the ISP a layer 2 with only one active at a time. Put the switch management interface on the LAN VLAN instead of the WAN VLAN. Don’t use the switch for routing or only within the LAN.<\/p>\n
If OPNsense is a VM could replicate between the 2 hosts.<\/p>\n
Use Cron to update at night to avoid updating during the day.<\/p>","upvoteCount":3,"datePublished":"2025-06-09T02:15:42.953Z","url":"https://community.spiceworks.com/t/hp-2920-routing-help/1213277/14","author":{"@type":"Person","name":"matthew-martin","url":"https://community.spiceworks.com/u/matthew-martin"}},"suggestedAnswer":[{"@type":"Answer","text":"
I’ve been scouring the web for hours readin every post I could find… So if this has been asked before, and I missed the answer I apologize in advance…<\/p>\n
Long story short, I have a HP2920 that I am planning on using as the entry point to my network, before going to a redundant OPNSense configuration…<\/p>\n
My main issue lies in that the ISP is only providing me one DHCP’d IP Address, and for CARP in OPNSense, I need 3 IPs.<\/p>\n
My “Goal” is to take the incoming ISP Connection on Port A1 (VLAN 1 - IP Address set to DHCP), and Route it somehow (IP Routing, NAT, whatever) to my “Transfer” VLAN (VLAN 2 - 192.168.1.1/30 - Ports B1 & B2), which will go to my OPN1 (192.168.1.2) and OPN2 (192.168.1.3) which have a shared Virtual IP (192.168.1.4)<\/p>\n
For reference, my Redundant OPNSense configuration will handle my LAN (192.168.10.x), with each OPN Box routing 4x 1gbps trunks to ports 37-40 and 41-44 on the 2920 (Ports 1-48 are VLAN 3), and each OPN Box also has a 10Gbps connection to my server and desktop directly… VLAN 3 is mostly just for management, and the ethernet spread through my house.<\/p>\n
Is what I’m trying to do even possible? Any suggestions for how to resolve this that doesn’t involve introducing another SPoF? (the 2920 as a SPoF is acceptable to me for now, as I have extra PSU’s for it)<\/p>\n
Appreciate any help that can be provided<\/p>","upvoteCount":3,"datePublished":"2025-06-08T11:29:36.788Z","url":"https://community.spiceworks.com/t/hp-2920-routing-help/1213277/1","author":{"@type":"Person","name":"seanmcg182","url":"https://community.spiceworks.com/u/seanmcg182"}},{"@type":"Answer","text":"
Everything I’ve ever seen about this says you can not have DHCP or PPPOE on the wan side. You need a static subnet with a minumum of a /29 on the wan subnet to make this work.<\/p>","upvoteCount":1,"datePublished":"2025-06-08T12:49:21.559Z","url":"https://community.spiceworks.com/t/hp-2920-routing-help/1213277/2","author":{"@type":"Person","name":"PatrickFarrell","url":"https://community.spiceworks.com/u/PatrickFarrell"}},{"@type":"Answer","text":"
If I was using direct WAN IP’s, you would be correct. CARP on OPNSense needs 3 WAN IPs.<\/p>\n
But it doesn’t necessarily care if its actual WAN, or a “fake” WAN (in my example, the 192.168.1.x “transfer” network). That subject has been firmly established on the OPNSense documentation.<\/p>\n
Specifically the subject talks about using a router to NAT the single DHCP WAN to a small intermediary LAN network for CARP to use…<\/p>\n
I’m just trying to accomplish this with a managed switch I already have, and was already planning on using, as my rack doesnt have space for more equipment…<\/p>\n
So it boils down to “is the 2920 capable of Translating a DHCP WAN IP to another subnet”<\/p>\n
In theory, I 100% could (and have tested) doing this by IP Routing the existing IP from the WAN on my 2920… my only concern is the IP changing when the DHCP lease renews.<\/p>","upvoteCount":1,"datePublished":"2025-06-08T13:22:39.495Z","url":"https://community.spiceworks.com/t/hp-2920-routing-help/1213277/3","author":{"@type":"Person","name":"seanmcg182","url":"https://community.spiceworks.com/u/seanmcg182"}},{"@type":"Answer","text":"
The 2920 can route between VLANs, but in your case, you aren’t routing stuff from VLAN x (internal WAN) to VLAN y (External WAN) you specifically want stuff in VLAN X to route to a specific IP in VLAN Y so you’re going to have a default route that points to that IP. If that IP changed, you would have to update the route.<\/p>\n
How often does your DHCP IP change? I don’t think mine has changed in years.<\/p>","upvoteCount":1,"datePublished":"2025-06-08T13:30:26.285Z","url":"https://community.spiceworks.com/t/hp-2920-routing-help/1213277/4","author":{"@type":"Person","name":"PatrickFarrell","url":"https://community.spiceworks.com/u/PatrickFarrell"}},{"@type":"Answer","text":"
I’d like to understand what problem you are trying to solve, you say you don’t want another single point of failure, but isn’t your ISP exactly that?<\/p>\n
Is this purely for learning and understanding load-balancing, CARP and failover?<\/p>","upvoteCount":1,"datePublished":"2025-06-08T13:54:02.143Z","url":"https://community.spiceworks.com/t/hp-2920-routing-help/1213277/5","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"
Yeah IP Routing is what i used in my test. \nAnd I’m not sure to be honest. I’ve had Dynamic DNS setup for a while with my existing configuration. Haven’t personally tracked the IP Changes<\/p>","upvoteCount":1,"datePublished":"2025-06-08T14:06:38.513Z","url":"https://community.spiceworks.com/t/hp-2920-routing-help/1213277/6","author":{"@type":"Person","name":"seanmcg182","url":"https://community.spiceworks.com/u/seanmcg182"}},{"@type":"Answer","text":"