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

[SOLVED] reference computers on network by name instead of IP

Scheduled Pinned Locked Moved General pfSense Questions
14 Posts 6 Posters 9.9k 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.
  • K
    kejianshi
    last edited by Mar 23, 2015, 7:15 AM

    It does.  Thats what I was referring to.

    I also recommend making the IPs static lease.

    That way if you ever have issue with names you can easily use IPs also.

    1 Reply Last reply Reply Quote 0
    • N
      Nullity
      last edited by Mar 23, 2015, 8:19 AM

      @kejianshi:

      It does.  Thats what I was referring to.

      I also recommend making the IPs static lease.

      That way if you ever have issue with names you can easily use IPs also.

      Sounds like a good idea.

      Just yesterday I did experience a strange side-effect with Mac OS X… the Mac client actually switched it's hostname to the hostname specified by pfSense's DHCP static lease. None of my other Unix-based operating systems have ever done that, thankfully.

      Please correct any obvious misinformation in my posts.
      -Not a professional; an arrogant ignoramous.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by Mar 23, 2015, 9:04 AM

        @Nullity:

        the Mac client actually switched it's hostname to the hostname specified by pfSense's DHCP static lease. None of my other Unix-based operating systems have ever done that, thankfully.

        Huh, why exactly you'd have non-matching hostnames like this? To confuse the enemy?

        1 Reply Last reply Reply Quote 0
        • N
          Nullity
          last edited by Mar 23, 2015, 9:57 AM

          @doktornotor:

          @Nullity:

          the Mac client actually switched it's hostname to the hostname specified by pfSense's DHCP static lease. None of my other Unix-based operating systems have ever done that, thankfully.

          Huh, why exactly you'd have non-matching hostnames like this? To confuse the enemy?

          The default Android hostname is "android-755477589854367" and I think you need to be rooted to change it at the client.

          I cannot think of anything funny to say… octothorpe.

          Please correct any obvious misinformation in my posts.
          -Not a professional; an arrogant ignoramous.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by Mar 23, 2015, 10:15 AM

            Android is a lost cause regarding DHCP. IIRC it does not use the DHCP-supplied DNS servers either, used to be hardcoded to 8.8.8.8 and 8.8.4.4

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by Mar 23, 2015, 11:12 AM

              @doktornotor:

              @Nullity:

              the Mac client actually switched it's hostname to the hostname specified by pfSense's DHCP static lease. None of my other Unix-based operating systems have ever done that, thankfully.

              Huh, why exactly you'd have non-matching hostnames like this? To confuse the enemy?

              It worked - I'm confused.

              1 Reply Last reply Reply Quote 0
              • P
                p2ranger
                last edited by Mar 24, 2015, 4:03 AM

                Thanks for your help

                I was able to get it to work.

                I went to Services->DNS Reslovler. Enable was already marked and I marked DHCP Registration and Static DHCP.

                I then made sure under Services->DHCP server there was a listing for the computer that has the static IP that I want under DHCP Static Mappings.

                Is there a way to get this to work without having a static IP? For example a laptop that I want to be able  to access by name when on my network but when it connects some place else it can still take what ever IP it receives at another network?

                Thanks

                Jason

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by Mar 24, 2015, 4:14 AM

                  DHCP static mapping are this way already.  It doesn't mess with the way a laptop get DHCP IPs on this and that network.  Only the way pfsense assigns their ip.

                  1 Reply Last reply Reply Quote 0
                  • W
                    Waggles
                    last edited by Mar 24, 2015, 4:21 AM

                    @doktornotor:

                    @Nullity:

                    the Mac client actually switched it's hostname to the hostname specified by pfSense's DHCP static lease. None of my other Unix-based operating systems have ever done that, thankfully.

                    Huh, why exactly you'd have non-matching hostnames like this? To confuse the enemy?

                    Besides Android, some devices have screwed up host names.  The host name populated in the initial static lease for my HP1810-8Gv2 switch looked like nothing in the setup pages on its web server.  Therefore, it became known as "switch" in DNS forwarder and now all is good with the world.

                    1 Reply Last reply Reply Quote 0
                    • P
                      p2ranger
                      last edited by Mar 24, 2015, 10:35 PM

                      @kejianshi:

                      DHCP static mapping are this way already.  It doesn't mess with the way a laptop get DHCP IPs on this and that network.  Only the way pfsense assigns their ip.

                      Ah yes, thank you. I didn't think about that but should have.

                      Jason

                      1 Reply Last reply Reply Quote 0
                      14 out of 14
                      • First post
                        14/14
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received