OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: bobbythomas on December 24, 2020, 04:05:06 pm

Title: Having issues getting public IP on WAN interface
Post by: bobbythomas on December 24, 2020, 04:05:06 pm
Hi Team,

Hope everyone enjoying the holidays.

Well it seems like my holidays are going from bad to worse. Coming to the point I have an OPNsense firewall setup in a VM in Proxmox and it has been working great, couple of weeks back my ISP replaced my Docsis 3 ethernet cable modem with a wifi one, since then I was facing issues. I have disabled the wifi on the new Wifi Docsis modem and configured Bridge mode (as I need public IP terminating on my OPNsense firewall). I got public ip on the modem for some time then it started causing issues, I started getting IP address from 192.168.5.0/24 range even though I have disabled DHCP service on the wifi modem. What ever I do, I only receive an IP address from the range 192.168.5.0/24 on my OPNsense firewall, while if I connect a PC to the modem I am hetting a public IP issued by ISP DHCP server. I am scratching my head to understand why it's happening like this.

I also tried a different approach by assigning the MAC address of the PC to the OPNsense WAN interface and then it gets the public IP but it cannot communicate with anything in WAN (cannot ping gateway or it seems no traffic passing through). Any idea how I can get this issue fixed? I think there is some issue with OPNsense DHCP client service.

Thanks in advance,
Regards,
Bobby Thomas
Title: Re: Having issues getting public IP on WAN interface
Post by: MBfromOK on January 02, 2021, 06:41:01 pm
Just another ProxMox + OPNSense + DOCSIS user here...

I have had this issue as well, still looking for a long term solution.

The most productive settings I have found so far:

Title: Re: Having issues getting public IP on WAN interface
Post by: MBfromOK on January 02, 2021, 06:42:33 pm
I think there is some issue with OPNsense DHCP client service.

I agree with this sentiment, although I have yet to figure out what to change to resolve that issue... Again, it seems to be a routing / translation issue.
Title: Re: Having issues getting public IP on WAN interface
Post by: bobbythomas on January 02, 2021, 07:04:20 pm
No, it's not related to routing or NAT, as soon as I change the modem from bridge mode to routed mode I get the private IP from the modem. As for the "Block private networks", it's already unchecked. My ISP doesn't provide IPv6 addresses yet, so it's not related to IPv6.

 I think this is something related to DHCP client service or some configuration on the ISP side which restricts IP allocation to certain MAC addresses (like some virtual mac addresses which has unknown OUI).