Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PPPoE authentication & Static IP on WAN

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      timboau 0
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        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

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          timboau 0 @stephenw10
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.