Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. DHCP in Windows XP

DHCP in Windows XP

Scheduled Pinned Locked Moved The Lounge
sysadminwindows-adminquestion
15 Posts 6 Posters 0 Views 1 Watching
  • 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.
  • W WiseHacker

    Here's the layout. I have a notebook and a PC. I want to easily connect each other directly with an Ethernet cord and use their machine names. At the moment, I'm restricted to using IP addresses set by myself (which can be a headache!) Is there a way to make my PC act as a DHCP server? The solution by Microsoft involves editing the registry file but I want to try other paths before going to that extreme. My thanks in advance.

    B Offline
    B Offline
    Brad Bruce
    wrote on last edited by
    #4

    If I recall correctly... If there is no DHCP server detected, the machine will be assigned a unique address, within a special MS address range. Haven't used it "in anger", but I do recall having an address when I was off the network (not just the regular address sticking around either). [EDIT] Found the link http://support.microsoft.com/kb/220874[^] [/EDIT] Brad

    W 1 Reply Last reply
    0
    • W WiseHacker

      Here's the layout. I have a notebook and a PC. I want to easily connect each other directly with an Ethernet cord and use their machine names. At the moment, I'm restricted to using IP addresses set by myself (which can be a headache!) Is there a way to make my PC act as a DHCP server? The solution by Microsoft involves editing the registry file but I want to try other paths before going to that extreme. My thanks in advance.

      L Offline
      L Offline
      Luis Alonso Ramos
      wrote on last edited by
      #5

      Try Enabling NetBIOS over TCP/IP. It allows the computer to broadcast its computer name over the network, so it can be resolved. By default, NetBIOS is only enabled for dynamically assigned addresses, but not allowed for static IPs. Go to your network properties, TCP/IP properties, and in the WINS tab in advanced settings, you will find three radio buttons.

      Luis Alonso Ramos Intelectix Chihuahua, Mexico

      Not much here: My CP Blog!

      L 1 Reply Last reply
      0
      • W WiseHacker

        Here's the layout. I have a notebook and a PC. I want to easily connect each other directly with an Ethernet cord and use their machine names. At the moment, I'm restricted to using IP addresses set by myself (which can be a headache!) Is there a way to make my PC act as a DHCP server? The solution by Microsoft involves editing the registry file but I want to try other paths before going to that extreme. My thanks in advance.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #6

        You can tuyrn on IP autoconfiguration whic is easier. Each stack will assign itself an address from a certain range which aere unikely to clash. Google for autoconfigured IP addreses, it'll tell you where to put the reg values.

        Truth is the subjection of reality to an individuals perception

        1 Reply Last reply
        0
        • L Luis Alonso Ramos

          Try Enabling NetBIOS over TCP/IP. It allows the computer to broadcast its computer name over the network, so it can be resolved. By default, NetBIOS is only enabled for dynamically assigned addresses, but not allowed for static IPs. Go to your network properties, TCP/IP properties, and in the WINS tab in advanced settings, you will find three radio buttons.

          Luis Alonso Ramos Intelectix Chihuahua, Mexico

          Not much here: My CP Blog!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #7

          You are talking utter crap. Netbios name resuloution nas noithing to do with assigning IP addresses.

          Truth is the subjection of reality to an individuals perception

          1 Reply Last reply
          0
          • W WiseHacker

            I don't mind having to use additional software, I just don't want to touch the registry.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #8

            WiseHacker wrote:

            I don't mind having to use additional software, I just don't want to touch the registry

            You would rather install third party SW than turn on a micrtisift feature called autoIP address configuration? I wouldnt. And dont be scared of the registry, it is nothing really.

            Truth is the subjection of reality to an individuals perception

            W 1 Reply Last reply
            0
            • W WiseHacker

              Here's the layout. I have a notebook and a PC. I want to easily connect each other directly with an Ethernet cord and use their machine names. At the moment, I'm restricted to using IP addresses set by myself (which can be a headache!) Is there a way to make my PC act as a DHCP server? The solution by Microsoft involves editing the registry file but I want to try other paths before going to that extreme. My thanks in advance.

              G Offline
              G Offline
              ggallen
              wrote on last edited by
              #9

              Maintaining separate IP addresses for 2 machines is hardly a headache! XP can provide its own headaches if left to work things out on its own. Don't forget to enable file sharing (and share something) or you won't be able to do much. If you are connecting the machines directly with a cable, use a crossover cable and assign the machines addresses like 192.168.0.100 and 192.168.0.101. If you are connecting both machines to a router use a regular cable and set the gateway address to that of the router and make sure you assign the machines addresses in the same range. (e.g. LinkSys is usually 192.168.1.###, D-Link is usually 192.168.0.###) Garry

              W 1 Reply Last reply
              0
              • L Lost User

                WiseHacker wrote:

                I don't mind having to use additional software, I just don't want to touch the registry

                You would rather install third party SW than turn on a micrtisift feature called autoIP address configuration? I wouldnt. And dont be scared of the registry, it is nothing really.

                Truth is the subjection of reality to an individuals perception

                W Offline
                W Offline
                WiseHacker
                wrote on last edited by
                #10

                I messed up my machine one tampering with it and had to reformat. That's how dangerous it is.

                L 1 Reply Last reply
                0
                • G ggallen

                  Maintaining separate IP addresses for 2 machines is hardly a headache! XP can provide its own headaches if left to work things out on its own. Don't forget to enable file sharing (and share something) or you won't be able to do much. If you are connecting the machines directly with a cable, use a crossover cable and assign the machines addresses like 192.168.0.100 and 192.168.0.101. If you are connecting both machines to a router use a regular cable and set the gateway address to that of the router and make sure you assign the machines addresses in the same range. (e.g. LinkSys is usually 192.168.1.###, D-Link is usually 192.168.0.###) Garry

                  W Offline
                  W Offline
                  WiseHacker
                  wrote on last edited by
                  #11

                  You are missing the point, I want to avoid using IPs. What's the point in naming a machine if you can't use the name? After all they didn't invent hostnames just for kicks. At the moment, I've gone wireless thanks to an AirPort and it has made life so much easier thanks to it's built in DHCP.

                  ggallen wrote:

                  If you are connecting the machines directly with a cable, use a crossover cable and assign the machines addresses like 192.168.0.100 and 192.168.0.101.

                  What's a cross over cable, anyway? I've never touched the underside of networks. At the moment, I'm using a Ethernet cable (that blue thing).

                  G 1 Reply Last reply
                  0
                  • B Brad Bruce

                    If I recall correctly... If there is no DHCP server detected, the machine will be assigned a unique address, within a special MS address range. Haven't used it "in anger", but I do recall having an address when I was off the network (not just the regular address sticking around either). [EDIT] Found the link http://support.microsoft.com/kb/220874[^] [/EDIT] Brad

                    W Offline
                    W Offline
                    WiseHacker
                    wrote on last edited by
                    #12

                    Brad Bruce wrote:

                    Found the link http://support.microsoft.com/kb/220874

                    I found that too. Is it really safe to turn that function on? I use my PC as backup storage for my PhD work.

                    1 Reply Last reply
                    0
                    • W WiseHacker

                      You are missing the point, I want to avoid using IPs. What's the point in naming a machine if you can't use the name? After all they didn't invent hostnames just for kicks. At the moment, I've gone wireless thanks to an AirPort and it has made life so much easier thanks to it's built in DHCP.

                      ggallen wrote:

                      If you are connecting the machines directly with a cable, use a crossover cable and assign the machines addresses like 192.168.0.100 and 192.168.0.101.

                      What's a cross over cable, anyway? I've never touched the underside of networks. At the moment, I'm using a Ethernet cable (that blue thing).

                      G Offline
                      G Offline
                      ggallen
                      wrote on last edited by
                      #13

                      The fact that you set a fixed IP address doesn't mean that you can't then just forget about it and access the machine by name. It DOES, however, make troubleshooting easier. If you know the addresses of the network components then you can attempt to access them directly. e.g If you ping an address and it fails then either the device doesn't exist or you have a TCP/IP problem. If you ping 'Sam' and it fails it may just mean that your DHCP server is unavailable. The Airport will solve your problem just fine... setting one of your machines to be the DHCP server would have resulted in complaints from the other one every time the 'server' wasn't booted first. A crossover cable is one of those 'blue things' with a couple of the wires reversed and is only necessary if you are connecting 2 machines directly. The reasons for this you probably don't want to know! Like most things about computers, if it's working then who cares how it is setup but if it's NOT working then knowing something about the situation may save you money. Garry

                      W 1 Reply Last reply
                      0
                      • G ggallen

                        The fact that you set a fixed IP address doesn't mean that you can't then just forget about it and access the machine by name. It DOES, however, make troubleshooting easier. If you know the addresses of the network components then you can attempt to access them directly. e.g If you ping an address and it fails then either the device doesn't exist or you have a TCP/IP problem. If you ping 'Sam' and it fails it may just mean that your DHCP server is unavailable. The Airport will solve your problem just fine... setting one of your machines to be the DHCP server would have resulted in complaints from the other one every time the 'server' wasn't booted first. A crossover cable is one of those 'blue things' with a couple of the wires reversed and is only necessary if you are connecting 2 machines directly. The reasons for this you probably don't want to know! Like most things about computers, if it's working then who cares how it is setup but if it's NOT working then knowing something about the situation may save you money. Garry

                        W Offline
                        W Offline
                        WiseHacker
                        wrote on last edited by
                        #14

                        ggallen wrote:

                        The fact that you set a fixed IP address doesn't mean that you can't then just forget about it and access the machine by name.

                        It's still harder to type an IP in than the name.

                        ggallen wrote:

                        The Airport will solve your problem just fine

                        Yes, but it only runs ar 56 MBit/s while I have Gigabit LANs in both my Notebook and desktop machines. I sometimes have gigabytes files to tranfer as I use virtual machines, hence the need for the cable.

                        ggallen wrote:

                        setting one of your machines to be the DHCP server would have resulted in complaints from the other one every time the 'server' wasn't booted first

                        Not a problem with me as I always turn the desktop machine on first.

                        1 Reply Last reply
                        0
                        • W WiseHacker

                          I messed up my machine one tampering with it and had to reformat. That's how dangerous it is.

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #15

                          You should take backups of course.

                          Truth is the subjection of reality to an individuals perception

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups