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

    255.255.255.255 subnet

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    7 Posts 3 Posters 5.2k Views
    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.
    • J
      jonnytabpni
      last edited by

      Hi Everyone,

      I've seen some DSL ISPs give out addresses where the subnet is 255.255.255.255 (/32). While I understand that this is a "single host network", there is one thing that is confusing me:

      How does the host (or router) which is using this IP reach its gateway, if there are no other hosts in the same subnet?

      I am familar with how ARP generally works, however I'm very confused when it comes to /32

      Any help would be appreciated

      Thanks

      JT

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        The only option to reach other hosts at that point is a broadcast, which as you've got a point to point link allows you to reach the ISP.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          As Cry Havok explained, that's the way point-to-point (The first two P's in PPP) links work. You don't really need a gateway per se, just dump the packets on the wire and the other side is the only thing there to pick them up.

          Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • J
            jonnytabpni
            last edited by

            Can someone please explain to me the steps the traffic takes? Normally in a normal network with a gateway, I believe that this happens:

            The host will put out an ARP who-has request for the gateway IP
            The Gateway will respond with its MAC address
            The host will send all IP traffic to the gateway (as it knows its MAC address)
            The gateway will do the same as above to find its gateway, and so on…

            I don't understand how just "putting packets on the wire" can be done; surely don't all packet have to have a dest MAC address?

            Thanks

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Not on a point-to-point link. ARP only works for things inside a given subnet.

              Though you can dump packets on the wire even on a normal interface, but nothing would pick them up. On a point-to-point link there is no guessing about the intended destination of the packets. Every packet is destined for the other side of the link, be it inbound or outbound.

              In routing/cisco terms it's the equivalent of putting an interface as the destination of a route instead of an IP address.

              Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • J
                jonnytabpni
                last edited by

                Hi jimp,

                I think I understand now. Point to Point links don't use ethernet, hense no ARP, is that correct? And I'm assuming that it's PPP's job to transport the packets to make sure they get to the other side?

                Just one last thing is bugging me, if all traffic put on the wire reaches the other end, why does pfsense report a gateway in the gateway field in my PPPoE connection?

                Thanks

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  A gateway is supplied from the remote end, though it isn't really necessary in the traditional sense. It's useful to ping the other side to be sure the connection is up, and there are other reasons it's there (but I don't recall them offhand)

                  Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

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