Why can some computers use the name for SMB while others need the IP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adecanmin
    Trusted Tech

    Site Contributor
    250+ Posts
    • Oct 2010
    • 291

    #31
    Re: Why can some computers use the name for SMB while others need the IP

    I have some customers with older machines that I use FTP. A have a handful that I can use the hostname but most is IP. I'll use these recommendations to hopefully resolve this as well.

    Comment

    • slimslob
      Retired

      Site Contributor
      25,000+ Posts
      • May 2013
      • 37242

      #32
      Re: Why can some computers use the name for SMB while others need the IP

      Originally posted by adecanmin
      EDIT: I recommend this as a last resort because it could cause a problem if/when the copier is removed from the network. That IP address will be permanently resolved to the hostname of the copier until it's deleted from the host file.

      I'll try that, thanks. It is an issue I've been dealing with on and off for years. I don't mind deleting the information in the hosts file if the copier is replaced down the road if this works. I'll also to check to see if it is private network.
      One huge problem with trying to edit the computer's hosts file. It does nothing to help the copier find the computer. Now if there is a hosts file on the copier and if you can edit it.....

      Comment

      • BillyCarpenter
        Field Supervisor

        Site Contributor
        VIP Subscriber
        10,000+ Posts
        • Aug 2020
        • 16308

        #33
        Re: Why can some computers use the name for SMB while others need the IP

        Originally posted by slimslob
        One huge problem with trying to edit the computer's hosts file. It does nothing to help the copier find the computer. Now if there is a hosts file on the copier and if you can edit it.....

        You're right. It's not gonna do a thing to help the copier find the PC. From my understanding, he's having no problem with communication between the PC and copier as long as he's using the IP address. The problem is when he tries to use the hostname that he loses communication.


        If I remember correctly, and I think I do, when an entry is made in the host file for the PC with the copier's IP address, the PC will look there first before trying to look at DNS cache or router.

        The problem with that is, if the host name is ever changed, the PC will still link that IP address to the old host name. I did this by accident when I was playing around with it.
        Adversity temporarily visits a strong man but stays with the weak for a lifetime.

        Comment

        • slimslob
          Retired

          Site Contributor
          25,000+ Posts
          • May 2013
          • 37242

          #34
          Re: Why can some computers use the name for SMB while others need the IP

          Originally posted by BillyCarpenter
          You're right. It's not gonna do a thing to help the copier find the PC. From my understanding, he's having no problem with ommunication between the PC and copier as long as he's using the IP address The problem is when he tries to use the hostname that he loses communication.

          If I remember correctly, and I think I do, when an entry is made in the host file for the PC with the copier's IP address, the PC will look there first before trying to look at DNS cache or router.

          The problem with that is, if the host name is ever changed, the PC will still link that IP address to the old host name. I did this by accident when I was playing around with it.
          Another problem is when the network itself is changed. I have had instances where the customer has changed their ISP or had to replace cable/dsl modem. If they are using the modem for DHCP then the entire local network can change. Like from 192.168.1.xxx to maybe 192.168.3.xxx or maybe even to a different class of network.

          Comment

          • bsm2
            IT Manager

            25,000+ Posts
            • Feb 2008
            • 29792

            #35
            Re: Why can some computers use the name for SMB while others need the IP

            Wrong information as ALWAYS
            Basic networking
            Hostname Resolution refers to the process through which an assigned hostname is converted or resolved to its mapped IP Address so that networked hosts can communicate with each other.

            Comment

            • slimslob
              Retired

              Site Contributor
              25,000+ Posts
              • May 2013
              • 37242

              #36
              Re: Why can some computers use the name for SMB while others need the IP

              Originally posted by bsm2
              Wrong information as ALWAYS
              Basic networking
              Hostname Resolution refers to the process through which an assigned hostname is converted or resolved to its mapped IP Address so that networked hosts can communicate with each other.
              And in the case of scan to SMB is accomplished through DNS

              Comment

              • rrrohan
                Service Manager

                Site Contributor
                1,000+ Posts
                • Sep 2011
                • 1977

                #37
                Re: Why can some computers use the name for SMB while others need the IP

                Originally posted by emujo2

                Add a global DNS server if possible, 8.8.8.8.
                External DNS will do nothing to help resolve local network host names


                Sent from my Pixel 4 XL using Tapatalk

                Comment

                • BillyCarpenter
                  Field Supervisor

                  Site Contributor
                  VIP Subscriber
                  10,000+ Posts
                  • Aug 2020
                  • 16308

                  #38
                  Re: Why can some computers use the name for SMB while others need the IP

                  Originally posted by rrrohan
                  External DNS will do nothing to help resolve local network host names


                  Sent from my Pixel 4 XL using Tapatalk


                  This is true. External DNS deals with the internet. A local DNS resolver has to do the the Intranet.
                  Adversity temporarily visits a strong man but stays with the weak for a lifetime.

                  Comment

                  • adecanmin
                    Trusted Tech

                    Site Contributor
                    250+ Posts
                    • Oct 2010
                    • 291

                    #39
                    Re: Why can some computers use the name for SMB while others need the IP

                    I went to a c3850 the other day I could not get it to scan smb 2.0 using the computer name in a workgroup for the longest time. I tried using the name this time and now it works. I did nothing to the computer aside from using the name. I had another that was on a public network and it worked using the computer name. I'm gathering there is no definitive answer as to why some can scan using the name while others need an IP in the same office. I'll keep looking for a solution.

                    Comment

                    • emujo2
                      Service Manager

                      1,000+ Posts
                      • Mar 2017
                      • 1580

                      #40
                      Re: Why can some computers use the name for SMB while others need the IP

                      Some times the answer is poor network mgmnt due to a lack of or little care about the network. When Joe from the church is the "network' guy, you can bet he's going to blame the machine. These guys will add equipment, change routers and ISP without any regard to the problems they will induce..Then they expect the copier repair guy to work it out. Sometimes you just want to say..use the scan to usb thumb drive, I'm done with you. E

                      Comment

                      • adecanmin
                        Trusted Tech

                        Site Contributor
                        250+ Posts
                        • Oct 2010
                        • 291

                        #41
                        Re: Why can some computers use the name for SMB while others need the IP

                        Originally posted by emujo2
                        Some times the answer is poor network mgmnt due to a lack of or little care about the network. When Joe from the church is the "network' guy, you can bet he's going to blame the machine. These guys will add equipment, change routers and ISP without any regard to the problems they will induce..Then they expect the copier repair guy to work it out. Sometimes you just want to say..use the scan to usb thumb drive, I'm done with you. E
                        That is true.

                        Comment

                        Working...