Use different IP's for each vm on virtualbox (Dedicated Server)












0















I have a dedicated server with a /29 block, how can I setup 8 linux vm and assign each vm with a different IP? Is it possible?



edit 1 - Hello, guys. Thank you so much for your answers. I am using windows server 2008 as host, and I am trying to (still learning basics) use linux ubuntu as vm. I just installed ubuntu 16.04 and turned machine off to try to configure the VM network settings, but haven't seen anything that made me advance on this quest to give this VM one of the /29 IPs. So for your informations I learned that /29 are 5 IPs instead of 8, but thats still cool. And also I have a couple private HTTPS proxies that I could use (on host) with proxycap or proxifier, but I wouldn't know how to link the proxy to each vm. I am sorry If my text is confused and I hope you guys can understand.



edit 2 - I manage to manually add the extra ips, the one I access via windows remote desktop is xxx.xxx.149.162 and I add .163 to .166 but just to test, added .168 and 169 and it accepted on the ipv4 setings, even I am sure I don't own the ips, and the .167 could not be added for some reason, tried several times.



no description



edit 3 - So maybe I am starting to understand, my block doesn't start on .162 , but on .161, and the 5 usable are .162 to .166. Alright! That explains a lot.



edit 4 - @HazardousGlitch Hello, I could access the server using from .162 to .166, about the subnet mask, I googled and it says to use like this, then used on all ips but .162 which you can see its different. Should I put different values on all ips or can you point me the errors? Also, I am still unable to link the ips to the vm, how should I proceed?










share|improve this question




















  • 1





    Yes it's possible. Adding IPs to VMs is easy and well within the normal capabilities of any hypervisor. So what have you tried so far? Please use the edit button to add context and what you have tried.

    – music2myear
    Jan 26 at 4:23






  • 1





    @music2myear it may be possible, but it aint very practical. Broadcast and network tskes you down to 6, then you have the host itself, so 5. If the /28 is routed over a /30 (or similar) you would be better off with internal IPs on the VNs and port mapping.

    – davidgo
    Jan 26 at 9:36






  • 2





    Oh, yea. Networking has never clicked with me the way other tech subjects have. The available IPs in a /29 just isn't the first thing my mind calculates.

    – music2myear
    Jan 26 at 20:57






  • 1





    Just to be clear, /29 has 6 useable IPs. One will be used for the default route, which is likely the router to the interwebs, and remaining 5 are for whatever.

    – HazardousGlitch
    Jan 29 at 2:47








  • 1





    You're able to add whatever (valid IPs) you want but you'll never get the traffic for IPs that aren't being routed to your server by your provider. Also, you entered the wrong subnet mask for .163 and I suspect for .168 as well because you would have likely gotten an error.

    – HazardousGlitch
    Jan 29 at 12:12


















0















I have a dedicated server with a /29 block, how can I setup 8 linux vm and assign each vm with a different IP? Is it possible?



edit 1 - Hello, guys. Thank you so much for your answers. I am using windows server 2008 as host, and I am trying to (still learning basics) use linux ubuntu as vm. I just installed ubuntu 16.04 and turned machine off to try to configure the VM network settings, but haven't seen anything that made me advance on this quest to give this VM one of the /29 IPs. So for your informations I learned that /29 are 5 IPs instead of 8, but thats still cool. And also I have a couple private HTTPS proxies that I could use (on host) with proxycap or proxifier, but I wouldn't know how to link the proxy to each vm. I am sorry If my text is confused and I hope you guys can understand.



edit 2 - I manage to manually add the extra ips, the one I access via windows remote desktop is xxx.xxx.149.162 and I add .163 to .166 but just to test, added .168 and 169 and it accepted on the ipv4 setings, even I am sure I don't own the ips, and the .167 could not be added for some reason, tried several times.



no description



edit 3 - So maybe I am starting to understand, my block doesn't start on .162 , but on .161, and the 5 usable are .162 to .166. Alright! That explains a lot.



edit 4 - @HazardousGlitch Hello, I could access the server using from .162 to .166, about the subnet mask, I googled and it says to use like this, then used on all ips but .162 which you can see its different. Should I put different values on all ips or can you point me the errors? Also, I am still unable to link the ips to the vm, how should I proceed?










share|improve this question




















  • 1





    Yes it's possible. Adding IPs to VMs is easy and well within the normal capabilities of any hypervisor. So what have you tried so far? Please use the edit button to add context and what you have tried.

    – music2myear
    Jan 26 at 4:23






  • 1





    @music2myear it may be possible, but it aint very practical. Broadcast and network tskes you down to 6, then you have the host itself, so 5. If the /28 is routed over a /30 (or similar) you would be better off with internal IPs on the VNs and port mapping.

    – davidgo
    Jan 26 at 9:36






  • 2





    Oh, yea. Networking has never clicked with me the way other tech subjects have. The available IPs in a /29 just isn't the first thing my mind calculates.

    – music2myear
    Jan 26 at 20:57






  • 1





    Just to be clear, /29 has 6 useable IPs. One will be used for the default route, which is likely the router to the interwebs, and remaining 5 are for whatever.

    – HazardousGlitch
    Jan 29 at 2:47








  • 1





    You're able to add whatever (valid IPs) you want but you'll never get the traffic for IPs that aren't being routed to your server by your provider. Also, you entered the wrong subnet mask for .163 and I suspect for .168 as well because you would have likely gotten an error.

    – HazardousGlitch
    Jan 29 at 12:12
















0












0








0








I have a dedicated server with a /29 block, how can I setup 8 linux vm and assign each vm with a different IP? Is it possible?



edit 1 - Hello, guys. Thank you so much for your answers. I am using windows server 2008 as host, and I am trying to (still learning basics) use linux ubuntu as vm. I just installed ubuntu 16.04 and turned machine off to try to configure the VM network settings, but haven't seen anything that made me advance on this quest to give this VM one of the /29 IPs. So for your informations I learned that /29 are 5 IPs instead of 8, but thats still cool. And also I have a couple private HTTPS proxies that I could use (on host) with proxycap or proxifier, but I wouldn't know how to link the proxy to each vm. I am sorry If my text is confused and I hope you guys can understand.



edit 2 - I manage to manually add the extra ips, the one I access via windows remote desktop is xxx.xxx.149.162 and I add .163 to .166 but just to test, added .168 and 169 and it accepted on the ipv4 setings, even I am sure I don't own the ips, and the .167 could not be added for some reason, tried several times.



no description



edit 3 - So maybe I am starting to understand, my block doesn't start on .162 , but on .161, and the 5 usable are .162 to .166. Alright! That explains a lot.



edit 4 - @HazardousGlitch Hello, I could access the server using from .162 to .166, about the subnet mask, I googled and it says to use like this, then used on all ips but .162 which you can see its different. Should I put different values on all ips or can you point me the errors? Also, I am still unable to link the ips to the vm, how should I proceed?










share|improve this question
















I have a dedicated server with a /29 block, how can I setup 8 linux vm and assign each vm with a different IP? Is it possible?



edit 1 - Hello, guys. Thank you so much for your answers. I am using windows server 2008 as host, and I am trying to (still learning basics) use linux ubuntu as vm. I just installed ubuntu 16.04 and turned machine off to try to configure the VM network settings, but haven't seen anything that made me advance on this quest to give this VM one of the /29 IPs. So for your informations I learned that /29 are 5 IPs instead of 8, but thats still cool. And also I have a couple private HTTPS proxies that I could use (on host) with proxycap or proxifier, but I wouldn't know how to link the proxy to each vm. I am sorry If my text is confused and I hope you guys can understand.



edit 2 - I manage to manually add the extra ips, the one I access via windows remote desktop is xxx.xxx.149.162 and I add .163 to .166 but just to test, added .168 and 169 and it accepted on the ipv4 setings, even I am sure I don't own the ips, and the .167 could not be added for some reason, tried several times.



no description



edit 3 - So maybe I am starting to understand, my block doesn't start on .162 , but on .161, and the 5 usable are .162 to .166. Alright! That explains a lot.



edit 4 - @HazardousGlitch Hello, I could access the server using from .162 to .166, about the subnet mask, I googled and it says to use like this, then used on all ips but .162 which you can see its different. Should I put different values on all ips or can you point me the errors? Also, I am still unable to link the ips to the vm, how should I proceed?







linux virtualbox proxy ip dedicated-server






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 29 at 18:57







Mirage

















asked Jan 26 at 3:04









MirageMirage

2817




2817








  • 1





    Yes it's possible. Adding IPs to VMs is easy and well within the normal capabilities of any hypervisor. So what have you tried so far? Please use the edit button to add context and what you have tried.

    – music2myear
    Jan 26 at 4:23






  • 1





    @music2myear it may be possible, but it aint very practical. Broadcast and network tskes you down to 6, then you have the host itself, so 5. If the /28 is routed over a /30 (or similar) you would be better off with internal IPs on the VNs and port mapping.

    – davidgo
    Jan 26 at 9:36






  • 2





    Oh, yea. Networking has never clicked with me the way other tech subjects have. The available IPs in a /29 just isn't the first thing my mind calculates.

    – music2myear
    Jan 26 at 20:57






  • 1





    Just to be clear, /29 has 6 useable IPs. One will be used for the default route, which is likely the router to the interwebs, and remaining 5 are for whatever.

    – HazardousGlitch
    Jan 29 at 2:47








  • 1





    You're able to add whatever (valid IPs) you want but you'll never get the traffic for IPs that aren't being routed to your server by your provider. Also, you entered the wrong subnet mask for .163 and I suspect for .168 as well because you would have likely gotten an error.

    – HazardousGlitch
    Jan 29 at 12:12
















  • 1





    Yes it's possible. Adding IPs to VMs is easy and well within the normal capabilities of any hypervisor. So what have you tried so far? Please use the edit button to add context and what you have tried.

    – music2myear
    Jan 26 at 4:23






  • 1





    @music2myear it may be possible, but it aint very practical. Broadcast and network tskes you down to 6, then you have the host itself, so 5. If the /28 is routed over a /30 (or similar) you would be better off with internal IPs on the VNs and port mapping.

    – davidgo
    Jan 26 at 9:36






  • 2





    Oh, yea. Networking has never clicked with me the way other tech subjects have. The available IPs in a /29 just isn't the first thing my mind calculates.

    – music2myear
    Jan 26 at 20:57






  • 1





    Just to be clear, /29 has 6 useable IPs. One will be used for the default route, which is likely the router to the interwebs, and remaining 5 are for whatever.

    – HazardousGlitch
    Jan 29 at 2:47








  • 1





    You're able to add whatever (valid IPs) you want but you'll never get the traffic for IPs that aren't being routed to your server by your provider. Also, you entered the wrong subnet mask for .163 and I suspect for .168 as well because you would have likely gotten an error.

    – HazardousGlitch
    Jan 29 at 12:12










1




1





Yes it's possible. Adding IPs to VMs is easy and well within the normal capabilities of any hypervisor. So what have you tried so far? Please use the edit button to add context and what you have tried.

– music2myear
Jan 26 at 4:23





Yes it's possible. Adding IPs to VMs is easy and well within the normal capabilities of any hypervisor. So what have you tried so far? Please use the edit button to add context and what you have tried.

– music2myear
Jan 26 at 4:23




1




1





@music2myear it may be possible, but it aint very practical. Broadcast and network tskes you down to 6, then you have the host itself, so 5. If the /28 is routed over a /30 (or similar) you would be better off with internal IPs on the VNs and port mapping.

– davidgo
Jan 26 at 9:36





@music2myear it may be possible, but it aint very practical. Broadcast and network tskes you down to 6, then you have the host itself, so 5. If the /28 is routed over a /30 (or similar) you would be better off with internal IPs on the VNs and port mapping.

– davidgo
Jan 26 at 9:36




2




2





Oh, yea. Networking has never clicked with me the way other tech subjects have. The available IPs in a /29 just isn't the first thing my mind calculates.

– music2myear
Jan 26 at 20:57





Oh, yea. Networking has never clicked with me the way other tech subjects have. The available IPs in a /29 just isn't the first thing my mind calculates.

– music2myear
Jan 26 at 20:57




1




1





Just to be clear, /29 has 6 useable IPs. One will be used for the default route, which is likely the router to the interwebs, and remaining 5 are for whatever.

– HazardousGlitch
Jan 29 at 2:47







Just to be clear, /29 has 6 useable IPs. One will be used for the default route, which is likely the router to the interwebs, and remaining 5 are for whatever.

– HazardousGlitch
Jan 29 at 2:47






1




1





You're able to add whatever (valid IPs) you want but you'll never get the traffic for IPs that aren't being routed to your server by your provider. Also, you entered the wrong subnet mask for .163 and I suspect for .168 as well because you would have likely gotten an error.

– HazardousGlitch
Jan 29 at 12:12







You're able to add whatever (valid IPs) you want but you'll never get the traffic for IPs that aren't being routed to your server by your provider. Also, you entered the wrong subnet mask for .163 and I suspect for .168 as well because you would have likely gotten an error.

– HazardousGlitch
Jan 29 at 12:12












0






active

oldest

votes











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',
autoActivateHeartbeat: false,
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%2f1398635%2fuse-different-ips-for-each-vm-on-virtualbox-dedicated-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398635%2fuse-different-ips-for-each-vm-on-virtualbox-dedicated-server%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

Сан-Квентин

Алькесар

Josef Freinademetz