New ISP incoming (youfibre in the UK) -> Change from PPPoE to DHCP on WAN

Started by tinkermanuk, November 16, 2024, 08:39:53 AM

Previous topic - Next topic
New ISP incoming -> Change from PPPoE to DHCP on WAN

Hi as title says, I've got a new ISP coming on Monday. I'm currently using idnet in the UK and the setup is ONT->opnSense WAN port... PPPoE on WAN port, works fine.

So this is very strange - I am prepping, so just went in to my WAN interface which is on PPPoE as stated. My plan on Monday was basically to change this over to DHCP so it get's a public IP from youfibre (i'm going to pay for a static IPv4). I understand that's the right way to do it youfibre ONT -> opnsense WAN port. I certainly don't want their ISPs router in between if I can avoid it!

But I don't get it - in the dropdown Interfaces->WAN -- "IPv4 Configuration Type", I only see two options the currently selected type PPPoE and None. I was expecting to have dhcp as an option.

Anyone know what I'm missing here pls in preparation for Monday?

I'd be very grateful for a step by step if possible as I want to make the downtime as little as possible and the changeover as simple as possible. What's the path of least resistance here while still remaining secure and how can i verify security afterwards please.

I have a gateway also which is WAN_PPPOE (active), I guess this is relevant also, do i have to monkey with that also!

Currently....

LAN - igb0
WAN - igb1


November 16, 2024, 09:13:40 AM #1 Last Edit: November 16, 2024, 09:16:05 AM by dseven
Actually your WAN is currently pppoe0 (probably), which runs over igb1, but it is a device in its own right. You would change the "WAN" Interface Assignment to use igb1 instead, then configure it for DHCP.

Thanks - i was a bit confused it seems - i think (and hope) I can get there from this.

If you've got any other tips for sensible actions when doing this switch please let me know and generally if anyone has youfibre, am looking to be as prepared as poss. Mrs won't be impressed with internet downtime ! haha.

I'll certainly be doing a ZFS snapshot before and after (love that feature).



So I had another look around the interface.

Sounds like after new service is installed and I'm ready to switch basic steps are.

1) snapshot
2) go to Interfaces -> Assignments (which is currently like this)


[LAN] lan igb0 (mac_address)
[WAN] wan pppoe0 (igb1) - FTTP.user@ispusername
[internetonly] opt1 vlan01 internet-only (Parent:igb0, Tag: 555)


3) change the WAN like be the plain device igb1 (not the pppoe0)

4) go to Interfaces -> [WAN] and configure this igb1 to be DHCP

Block private networks (tick it)
Block bogon networks (tick it)
IPv4 Configuration Type (set to DHCP)
IPv6 Configuration Type (set to none - already default none anyway, I don't want ipv6)

5) reboot




That should be enough, right? Thanks, mainly checking I've not missed anything and don't have to mess with "System -> Gateways -> Configuration" - presuming that's dynamic?

Thanks

Hi @tinkermanuk did you ever get this successfully sorted?

I'm planning on swtiching from BT (pppoe) to BRSK shortly (DHCP IPv4 and SLAAC for IPv6) and was looking at the same settings as you were in OPNSense and got confused.  I had hoped it was a simple setting switch but it looks more complex.  For example did you have to make any changes to  gateways in addition to the pppoe > DHCP switch?