Connecting to DHCP managed fibre network.

Started by gareththered, June 17, 2026, 02:48:08 PM

Previous topic - Next topic
YouFibre is an UK ISP which provides routers which connect via DHCP (no PPPoE involved).

All Internet advice suggest that to use with your own router (OPNSense obviously), you need to ensure that the MAC address of the WAN side of your router matches what YouFibre expect, otherwise their DHCP server will refuse to issue you an IP address. Fortunately, their router has its MAC address printed on the base.

If I plug a Fedora laptop into the Optical Network Termination box and override the MAC address of the laptop with that taken from their router, then the connection comes up and a quick speed test shows a blistering 990Mbs on a 1Gbs package.  This shows that the principle works.

However, if I move the Ethernet cable to my OPNSense router and configure the same MAC address, I'm issued an IP address and given a default gateway via DHCP, but there's no further traffic.

I should add that the OPNSense router has been in service for a couple of years now, but the previous ISP used PPPoE.  I simply changed the WAN interface's settings from PPPoE to DHCP as suggested.

I can use the built-in packet sniffer to watch ICMP packets leave the router, but nothing returns.

I've even created a temporary any-any rule on the firewall just in-case I misconfigured something there.

I'm currently online by plugging the OPNSense router (with the MAC address reverted to default) into the LAN port of the provided YouFibre router, and am still managing 900Mbs or so, but I'd rather take the provided router out of the loop if possible.

Has anyone come across a similar situation, either with YouFibre or other DHCP and MAC address based ISPs?

June 17, 2026, 03:05:01 PM #1 Last Edit: June 17, 2026, 03:09:48 PM by sopex
Have you gone to your WAN interface settings on OPNsense and disabled "Block private networks" and "Block bogon networks"? I would start there.

You can also try deleting and re-adding the WAN interface.

Have you tried with the MAC Address spoofing?
My UK fibre provider works perfectly well without it and I get no connection with it.

Quote from: sopex on June 17, 2026, 03:05:01 PMHave you gone to your WAN interface settings on OPNsense and disabled "Block private networks" and "Block bogon networks"? I would start there.

You can also try deleting and re-adding the WAN interface.

Thanks for the suggestions.  The two blocks were already off.  They need to be as the OPNSense router gets a 192.168.x.x address from the YouFibre router, in my current workaround.

I deleted and re-added the WAN interface, but that didn't help.

I also had some tunables I'd set for PPPoE of the previous provider and set those back to default, but that didn't help neither.

Quote from: lnet.admin on June 17, 2026, 07:50:59 PMHave you tried with the MAC Address spoofing?
My UK fibre provider works perfectly well without it and I get no connection with it.

I have to spoof the MAC address, otherwise I don't get an IP address from YouFibre's DHCP servers.