Network Bridge as WAN on OPNsense

muzicman0

Member
Oct 16, 2024
32
7
8
I have a dual 10 Gbps (Intel) NIC. I am trying to set up 1 of the ports as a WAN in my OPNsense VM, and the other port as the LAN. The LAN side is working fine (I just used the default vmbr0 bridge). The WAN side I created a 2nd bridge named wan0 but didn't put an IP on it. My ISP (Cox) provides DHCP for the public IP address.

The problem I am having is that it won't pull the correct IP. My modem (surfboard) can work as a plain basic router as well and will send out DHCP of 192.168.100.xx/24 which is what I get on the bridge in OPNsense.

If I pass the NIC through, then it works fine, it will initially (the first time I boot OPNsense) pull the 192.168 address, but then re-pulls the public IP within a few seconds.

But as a bridge, it just won't work.

Is it possible to make this work?

I don't want to pass the NIC through if I can avoid it for a variety of reasons (RAM reporting, and portability of hardware to name a few).

Any help would be great.

[EDIT] After a little more research, I am guessing it is because the Bridge is acting like a switch, so the modem is assuming it needs to be the router. So, is there another way to configure this without having the modem think it's connected to a switch?
 
Last edited: