My ISP normally runs IPoE using DHCP and assigns a CGNAT address, and if I leave my WAN config in proto 'dhcp'
this is exactly what I get.
However I also pay for a static IP service from my ISP which is assigned via PPPoE, so if I put my WAN config as proto 'pppoe'
then I get my static IP assigned. Both work, one at a time.
However, I've noticed that since getting a static IP we get a lot more website errors and 'CAPTCHAs' than we used to. Reading up, this is apparently quite common and things like Cloudflare are prone to be more cautious to source IPs in 'datacenter' IP ranges, or IP ranges not commonly used for end-user devices, as they are more likely to be bots/scrapers.
So what I would like to do is run both, have the normal DHCP/CGNAT WAN connection for regular internet use and then the PPPoE/static IP connection just for hosted stuff.
My WAN physical connection is eth0
. At first I tried just creating two interfaces, swan
(static WAN) and dwan
(dynamic WAN) both with device as eth0
but this doesn't work (and thinking about it, shouldn't). So how do I do this properly? What I need to achieve is the virtual equivalent of putting a network switch between my Fibre CPE and the router, so I get two virtual WAN ports (with different MACs) bridged to the upstream eth0
port.
Thanks in advance for advice.