PPPoE authentication & Static IP on WAN
-
My ISP needs me to authenticate via PPPoE then set a static IP on the interface.
I can authenticate successfully and am given my IP address via pppoe. Because the ISP doesn’t pass a gateway in this configuration pfsense doesn’t bind the given IP address to the gateway and therefore can’t use it.
I’ve been reading this and it looks like what I need to do...
Is there a better/GUI way of doing this?
https://forum.netgate.com/topic/42981/static-ip-on-pppoe-wan-connection
https://forum.netgate.com/topic/29981/workaround-pppoe-with-static-ip
Thanks
-
Urgh, I would avoid those methods of you can! They are all both very old.
I would expect you can define a virtual IP with you static address on the PPP connection. Then add a gateway on the PPP connection. Then change you outbound NAT to use the VIP IP instead of whatever IP they are handing you.
Unless the IP they give you correct in which case you can probably just add a gateway manually and set it as default.
Steve
-
@stephenw10 Hi and thanks for the reply, yes I was thinking a VirtualIP would be better.
the 'problem' as I can see it is they wont give me a gateway IP which pfsense seems to need.
ie the WAN ip is a /32 - it does seem to work on a Windows 10 machine without the gateway being specified.
-
They don't give you any sort of gateway IP at all?
In a point to point connection technically they don't have to but it would be very unusual.
So do they give you the expected static IP via PPP or something random? Who are your ISP? Someone else must have hit this is they are reasonably big.
You can try just setting any gateway IP and see what happens. As long as it's outside the WAN subnet it won't try to ARP for it.
Steve