Can you manually assign IP address that is out of the DHCP range?











up vote
2
down vote

favorite












If I setup a router/modem to have DHCP range of 10.0.0.1 to 10.0.0.50, How do I manually assign one of the machines an IP address out of that range - eg. 10.0.0.51?



I need to do this so that I can give one machine a fixed IP address so that I can setup port-forwarding for Remote Desktop.










share|improve this question
























  • Yes, it is called assigning a static IP...encrypted.google.com/…
    – Moab
    Sep 24 '10 at 2:42















up vote
2
down vote

favorite












If I setup a router/modem to have DHCP range of 10.0.0.1 to 10.0.0.50, How do I manually assign one of the machines an IP address out of that range - eg. 10.0.0.51?



I need to do this so that I can give one machine a fixed IP address so that I can setup port-forwarding for Remote Desktop.










share|improve this question
























  • Yes, it is called assigning a static IP...encrypted.google.com/…
    – Moab
    Sep 24 '10 at 2:42













up vote
2
down vote

favorite









up vote
2
down vote

favorite











If I setup a router/modem to have DHCP range of 10.0.0.1 to 10.0.0.50, How do I manually assign one of the machines an IP address out of that range - eg. 10.0.0.51?



I need to do this so that I can give one machine a fixed IP address so that I can setup port-forwarding for Remote Desktop.










share|improve this question















If I setup a router/modem to have DHCP range of 10.0.0.1 to 10.0.0.50, How do I manually assign one of the machines an IP address out of that range - eg. 10.0.0.51?



I need to do this so that I can give one machine a fixed IP address so that I can setup port-forwarding for Remote Desktop.







dhcp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 24 '10 at 2:49









Moab

50.9k1394159




50.9k1394159










asked Sep 24 '10 at 2:31









Craig Johnston

11112




11112












  • Yes, it is called assigning a static IP...encrypted.google.com/…
    – Moab
    Sep 24 '10 at 2:42


















  • Yes, it is called assigning a static IP...encrypted.google.com/…
    – Moab
    Sep 24 '10 at 2:42
















Yes, it is called assigning a static IP...encrypted.google.com/…
– Moab
Sep 24 '10 at 2:42




Yes, it is called assigning a static IP...encrypted.google.com/…
– Moab
Sep 24 '10 at 2:42










3 Answers
3






active

oldest

votes

















up vote
4
down vote













Yes you can. I would actually recommend doing it this way as it prevents any conflicts with the DHCP. Most guides on setting static IPs will tell you to put it outside the DHCP range. As long its on the same subnet. If your router was 192.168.1.1 you would want to keep the 192.168.1.X. Im pretty sure changing the subnet can make problems.



To actually do this, go Control Panel, Network Connections, right click on the connection you want to set up and go Properties. Click on TCP/IP, and click on properties.



Change the radio button from Obtain automatically to 'Use the following IP address'. Enter in the IP that you want to use, press tab to go to subnet mask, press tab again and it will auto fill itself. The Default Gateway is the IP of your router, so it knows where the internet can be found. You should set the DNS settings too if you're going to use the internet from the computer.



Thats it, you have now set a static IP!



Edit: This is for Win XP. Vista and 7 are slightly different, but same priciple and options.






share|improve this answer






























    up vote
    1
    down vote













    Of course you can, that is a very common practice. Just make sure you use the proper subnet mask and default gateway so it can navigate around and outside the network.






    share|improve this answer




























      up vote
      0
      down vote













      I would recommend doing this by adding the mac address and desired ip address to your router's dhcp static ip configuraion rather than setting it in your device itself, and the set device to obtaid ip address automaticly this avoids the conflict between router and device and also the problem of no lan /internet access to the device






      share|improve this answer





















        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "3"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f192157%2fcan-you-manually-assign-ip-address-that-is-out-of-the-dhcp-range%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        4
        down vote













        Yes you can. I would actually recommend doing it this way as it prevents any conflicts with the DHCP. Most guides on setting static IPs will tell you to put it outside the DHCP range. As long its on the same subnet. If your router was 192.168.1.1 you would want to keep the 192.168.1.X. Im pretty sure changing the subnet can make problems.



        To actually do this, go Control Panel, Network Connections, right click on the connection you want to set up and go Properties. Click on TCP/IP, and click on properties.



        Change the radio button from Obtain automatically to 'Use the following IP address'. Enter in the IP that you want to use, press tab to go to subnet mask, press tab again and it will auto fill itself. The Default Gateway is the IP of your router, so it knows where the internet can be found. You should set the DNS settings too if you're going to use the internet from the computer.



        Thats it, you have now set a static IP!



        Edit: This is for Win XP. Vista and 7 are slightly different, but same priciple and options.






        share|improve this answer



























          up vote
          4
          down vote













          Yes you can. I would actually recommend doing it this way as it prevents any conflicts with the DHCP. Most guides on setting static IPs will tell you to put it outside the DHCP range. As long its on the same subnet. If your router was 192.168.1.1 you would want to keep the 192.168.1.X. Im pretty sure changing the subnet can make problems.



          To actually do this, go Control Panel, Network Connections, right click on the connection you want to set up and go Properties. Click on TCP/IP, and click on properties.



          Change the radio button from Obtain automatically to 'Use the following IP address'. Enter in the IP that you want to use, press tab to go to subnet mask, press tab again and it will auto fill itself. The Default Gateway is the IP of your router, so it knows where the internet can be found. You should set the DNS settings too if you're going to use the internet from the computer.



          Thats it, you have now set a static IP!



          Edit: This is for Win XP. Vista and 7 are slightly different, but same priciple and options.






          share|improve this answer

























            up vote
            4
            down vote










            up vote
            4
            down vote









            Yes you can. I would actually recommend doing it this way as it prevents any conflicts with the DHCP. Most guides on setting static IPs will tell you to put it outside the DHCP range. As long its on the same subnet. If your router was 192.168.1.1 you would want to keep the 192.168.1.X. Im pretty sure changing the subnet can make problems.



            To actually do this, go Control Panel, Network Connections, right click on the connection you want to set up and go Properties. Click on TCP/IP, and click on properties.



            Change the radio button from Obtain automatically to 'Use the following IP address'. Enter in the IP that you want to use, press tab to go to subnet mask, press tab again and it will auto fill itself. The Default Gateway is the IP of your router, so it knows where the internet can be found. You should set the DNS settings too if you're going to use the internet from the computer.



            Thats it, you have now set a static IP!



            Edit: This is for Win XP. Vista and 7 are slightly different, but same priciple and options.






            share|improve this answer














            Yes you can. I would actually recommend doing it this way as it prevents any conflicts with the DHCP. Most guides on setting static IPs will tell you to put it outside the DHCP range. As long its on the same subnet. If your router was 192.168.1.1 you would want to keep the 192.168.1.X. Im pretty sure changing the subnet can make problems.



            To actually do this, go Control Panel, Network Connections, right click on the connection you want to set up and go Properties. Click on TCP/IP, and click on properties.



            Change the radio button from Obtain automatically to 'Use the following IP address'. Enter in the IP that you want to use, press tab to go to subnet mask, press tab again and it will auto fill itself. The Default Gateway is the IP of your router, so it knows where the internet can be found. You should set the DNS settings too if you're going to use the internet from the computer.



            Thats it, you have now set a static IP!



            Edit: This is for Win XP. Vista and 7 are slightly different, but same priciple and options.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 24 '10 at 3:07

























            answered Sep 24 '10 at 2:47









            AkkA

            320410




            320410
























                up vote
                1
                down vote













                Of course you can, that is a very common practice. Just make sure you use the proper subnet mask and default gateway so it can navigate around and outside the network.






                share|improve this answer

























                  up vote
                  1
                  down vote













                  Of course you can, that is a very common practice. Just make sure you use the proper subnet mask and default gateway so it can navigate around and outside the network.






                  share|improve this answer























                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    Of course you can, that is a very common practice. Just make sure you use the proper subnet mask and default gateway so it can navigate around and outside the network.






                    share|improve this answer












                    Of course you can, that is a very common practice. Just make sure you use the proper subnet mask and default gateway so it can navigate around and outside the network.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 24 '10 at 2:46









                    John T

                    141k20291328




                    141k20291328






















                        up vote
                        0
                        down vote













                        I would recommend doing this by adding the mac address and desired ip address to your router's dhcp static ip configuraion rather than setting it in your device itself, and the set device to obtaid ip address automaticly this avoids the conflict between router and device and also the problem of no lan /internet access to the device






                        share|improve this answer

























                          up vote
                          0
                          down vote













                          I would recommend doing this by adding the mac address and desired ip address to your router's dhcp static ip configuraion rather than setting it in your device itself, and the set device to obtaid ip address automaticly this avoids the conflict between router and device and also the problem of no lan /internet access to the device






                          share|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            I would recommend doing this by adding the mac address and desired ip address to your router's dhcp static ip configuraion rather than setting it in your device itself, and the set device to obtaid ip address automaticly this avoids the conflict between router and device and also the problem of no lan /internet access to the device






                            share|improve this answer












                            I would recommend doing this by adding the mac address and desired ip address to your router's dhcp static ip configuraion rather than setting it in your device itself, and the set device to obtaid ip address automaticly this avoids the conflict between router and device and also the problem of no lan /internet access to the device







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 28 at 9:43









                            Ishansh Malviya

                            1




                            1






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Super User!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f192157%2fcan-you-manually-assign-ip-address-that-is-out-of-the-dhcp-range%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                Mangá

                                Eduardo VII do Reino Unido