Getting an IP address with Ubuntu client from Windows Server 2016 DHCP in VirtualBox











up vote
0
down vote

favorite
1












So we have a task in university which is basically about 3 parts.



We have a Ubuntu 18.04 client and a Windows 2016 Server, both in VirtualBox.



We should do, so that:



1.) The Ubuntu client should get an IP address AUTOMATICALLY from the Windows 2016 Server's DHCP. ((The Win2016 Server DHCP is already configured, but Ubuntu does not connect to it somehow)). Our Ubuntu has 2 IPs currently, one starting with 127.x.x.x and one starting with 10.x.x.x. So it is not good (our DHCP is giving out addressess between 192.168.1.65 and 192.168.1.70)



2.) There is also an IIS installed on the Win2016 server. Typing in the server's IP in the browser (192.168.1.1), it should bring up a "webpage". This does not work on Ubuntu neither, but we can access the webpage when we type in the server's IP on the server. So it SHOULD work.



3.) We should install ProFTP on Ubuntu and connect with it to the server's FTP domain. [[This task should work easily after the two former tasks are done. I THINK. So I do not need help with the 3rd task I THINK.]]



Any help on how to do this is welcomed, since we did not learn this and it would be a really big help since I am not familiar with linux-based OP systems. Thank you guys!



Have a nice day!










share|improve this question







New contributor




Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • @GeorgeUdosen here is the ping :)
    – Noxter
    Nov 28 at 16:42










  • Hello Noxter can we see if we can resolve this issue? I am waiting and have about 10mins!
    – George Udosen
    Nov 29 at 17:03















up vote
0
down vote

favorite
1












So we have a task in university which is basically about 3 parts.



We have a Ubuntu 18.04 client and a Windows 2016 Server, both in VirtualBox.



We should do, so that:



1.) The Ubuntu client should get an IP address AUTOMATICALLY from the Windows 2016 Server's DHCP. ((The Win2016 Server DHCP is already configured, but Ubuntu does not connect to it somehow)). Our Ubuntu has 2 IPs currently, one starting with 127.x.x.x and one starting with 10.x.x.x. So it is not good (our DHCP is giving out addressess between 192.168.1.65 and 192.168.1.70)



2.) There is also an IIS installed on the Win2016 server. Typing in the server's IP in the browser (192.168.1.1), it should bring up a "webpage". This does not work on Ubuntu neither, but we can access the webpage when we type in the server's IP on the server. So it SHOULD work.



3.) We should install ProFTP on Ubuntu and connect with it to the server's FTP domain. [[This task should work easily after the two former tasks are done. I THINK. So I do not need help with the 3rd task I THINK.]]



Any help on how to do this is welcomed, since we did not learn this and it would be a really big help since I am not familiar with linux-based OP systems. Thank you guys!



Have a nice day!










share|improve this question







New contributor




Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • @GeorgeUdosen here is the ping :)
    – Noxter
    Nov 28 at 16:42










  • Hello Noxter can we see if we can resolve this issue? I am waiting and have about 10mins!
    – George Udosen
    Nov 29 at 17:03













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





So we have a task in university which is basically about 3 parts.



We have a Ubuntu 18.04 client and a Windows 2016 Server, both in VirtualBox.



We should do, so that:



1.) The Ubuntu client should get an IP address AUTOMATICALLY from the Windows 2016 Server's DHCP. ((The Win2016 Server DHCP is already configured, but Ubuntu does not connect to it somehow)). Our Ubuntu has 2 IPs currently, one starting with 127.x.x.x and one starting with 10.x.x.x. So it is not good (our DHCP is giving out addressess between 192.168.1.65 and 192.168.1.70)



2.) There is also an IIS installed on the Win2016 server. Typing in the server's IP in the browser (192.168.1.1), it should bring up a "webpage". This does not work on Ubuntu neither, but we can access the webpage when we type in the server's IP on the server. So it SHOULD work.



3.) We should install ProFTP on Ubuntu and connect with it to the server's FTP domain. [[This task should work easily after the two former tasks are done. I THINK. So I do not need help with the 3rd task I THINK.]]



Any help on how to do this is welcomed, since we did not learn this and it would be a really big help since I am not familiar with linux-based OP systems. Thank you guys!



Have a nice day!










share|improve this question







New contributor




Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











So we have a task in university which is basically about 3 parts.



We have a Ubuntu 18.04 client and a Windows 2016 Server, both in VirtualBox.



We should do, so that:



1.) The Ubuntu client should get an IP address AUTOMATICALLY from the Windows 2016 Server's DHCP. ((The Win2016 Server DHCP is already configured, but Ubuntu does not connect to it somehow)). Our Ubuntu has 2 IPs currently, one starting with 127.x.x.x and one starting with 10.x.x.x. So it is not good (our DHCP is giving out addressess between 192.168.1.65 and 192.168.1.70)



2.) There is also an IIS installed on the Win2016 server. Typing in the server's IP in the browser (192.168.1.1), it should bring up a "webpage". This does not work on Ubuntu neither, but we can access the webpage when we type in the server's IP on the server. So it SHOULD work.



3.) We should install ProFTP on Ubuntu and connect with it to the server's FTP domain. [[This task should work easily after the two former tasks are done. I THINK. So I do not need help with the 3rd task I THINK.]]



Any help on how to do this is welcomed, since we did not learn this and it would be a really big help since I am not familiar with linux-based OP systems. Thank you guys!



Have a nice day!







networking server virtualbox windows dhcp






share|improve this question







New contributor




Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 28 at 16:42









Noxter

12




12




New contributor




Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Noxter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • @GeorgeUdosen here is the ping :)
    – Noxter
    Nov 28 at 16:42










  • Hello Noxter can we see if we can resolve this issue? I am waiting and have about 10mins!
    – George Udosen
    Nov 29 at 17:03


















  • @GeorgeUdosen here is the ping :)
    – Noxter
    Nov 28 at 16:42










  • Hello Noxter can we see if we can resolve this issue? I am waiting and have about 10mins!
    – George Udosen
    Nov 29 at 17:03
















@GeorgeUdosen here is the ping :)
– Noxter
Nov 28 at 16:42




@GeorgeUdosen here is the ping :)
– Noxter
Nov 28 at 16:42












Hello Noxter can we see if we can resolve this issue? I am waiting and have about 10mins!
– George Udosen
Nov 29 at 17:03




Hello Noxter can we see if we can resolve this issue? I am waiting and have about 10mins!
– George Udosen
Nov 29 at 17:03










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Let provide an arrangement that should work. For questions (2) and (3) that has to do with the network set which if the steps I will show goes well then those should work.



Step 1: Set Host-Only network on Virtualbox:





  1. Setup Host-Only Network for both machines. Open the file menu and click on Host Network Manager



    enter image description here




  2. Create the Host-Only network by clicking create button:



    enter image description here




  3. Now on both machines do the following:




    • Set click on the machine then settings and setup both NAT for first adapter then Host-Only for second adapter as seen in the images below:


    enter image description here



    enter image description here




Now I have not tested this and I have adapted it from an answer given here. I am assuming like you said the Windows DHCP Server has been setup so following that reference simply turning on the Ubuntu client should have it connect to the Windows server and get an IP from there. Enable that network on Ubuntu machine.






share|improve this answer























  • Thank you. We will check it soon and I will give you a feedback once we are done. Fingers crossed! :) So should we set this up on the Win server as well or only on the Ubuntu client?
    – Noxter
    Nov 30 at 19:32












  • It's for both machines!
    – George Udosen
    Nov 30 at 19:55










  • Hey. We tried it now. We added a host only network in VB (with default settings) and then we added a host only adapter card for both the ubuntu client and the win server as well. We try to ping the server's IP and it doesnt work. We are not getting an IP from the server. We did everything the way the picture show us. Do you have any idea we should try out? A guy told us that the ubuntu client only need an "inner" card and it should work automatically while the server needs a NAT AND AN INNER CARD to work. It doesnt work either. :(
    – Noxter
    2 days ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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
});


}
});






Noxter is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096868%2fgetting-an-ip-address-with-ubuntu-client-from-windows-server-2016-dhcp-in-virtua%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Let provide an arrangement that should work. For questions (2) and (3) that has to do with the network set which if the steps I will show goes well then those should work.



Step 1: Set Host-Only network on Virtualbox:





  1. Setup Host-Only Network for both machines. Open the file menu and click on Host Network Manager



    enter image description here




  2. Create the Host-Only network by clicking create button:



    enter image description here




  3. Now on both machines do the following:




    • Set click on the machine then settings and setup both NAT for first adapter then Host-Only for second adapter as seen in the images below:


    enter image description here



    enter image description here




Now I have not tested this and I have adapted it from an answer given here. I am assuming like you said the Windows DHCP Server has been setup so following that reference simply turning on the Ubuntu client should have it connect to the Windows server and get an IP from there. Enable that network on Ubuntu machine.






share|improve this answer























  • Thank you. We will check it soon and I will give you a feedback once we are done. Fingers crossed! :) So should we set this up on the Win server as well or only on the Ubuntu client?
    – Noxter
    Nov 30 at 19:32












  • It's for both machines!
    – George Udosen
    Nov 30 at 19:55










  • Hey. We tried it now. We added a host only network in VB (with default settings) and then we added a host only adapter card for both the ubuntu client and the win server as well. We try to ping the server's IP and it doesnt work. We are not getting an IP from the server. We did everything the way the picture show us. Do you have any idea we should try out? A guy told us that the ubuntu client only need an "inner" card and it should work automatically while the server needs a NAT AND AN INNER CARD to work. It doesnt work either. :(
    – Noxter
    2 days ago















up vote
0
down vote













Let provide an arrangement that should work. For questions (2) and (3) that has to do with the network set which if the steps I will show goes well then those should work.



Step 1: Set Host-Only network on Virtualbox:





  1. Setup Host-Only Network for both machines. Open the file menu and click on Host Network Manager



    enter image description here




  2. Create the Host-Only network by clicking create button:



    enter image description here




  3. Now on both machines do the following:




    • Set click on the machine then settings and setup both NAT for first adapter then Host-Only for second adapter as seen in the images below:


    enter image description here



    enter image description here




Now I have not tested this and I have adapted it from an answer given here. I am assuming like you said the Windows DHCP Server has been setup so following that reference simply turning on the Ubuntu client should have it connect to the Windows server and get an IP from there. Enable that network on Ubuntu machine.






share|improve this answer























  • Thank you. We will check it soon and I will give you a feedback once we are done. Fingers crossed! :) So should we set this up on the Win server as well or only on the Ubuntu client?
    – Noxter
    Nov 30 at 19:32












  • It's for both machines!
    – George Udosen
    Nov 30 at 19:55










  • Hey. We tried it now. We added a host only network in VB (with default settings) and then we added a host only adapter card for both the ubuntu client and the win server as well. We try to ping the server's IP and it doesnt work. We are not getting an IP from the server. We did everything the way the picture show us. Do you have any idea we should try out? A guy told us that the ubuntu client only need an "inner" card and it should work automatically while the server needs a NAT AND AN INNER CARD to work. It doesnt work either. :(
    – Noxter
    2 days ago













up vote
0
down vote










up vote
0
down vote









Let provide an arrangement that should work. For questions (2) and (3) that has to do with the network set which if the steps I will show goes well then those should work.



Step 1: Set Host-Only network on Virtualbox:





  1. Setup Host-Only Network for both machines. Open the file menu and click on Host Network Manager



    enter image description here




  2. Create the Host-Only network by clicking create button:



    enter image description here




  3. Now on both machines do the following:




    • Set click on the machine then settings and setup both NAT for first adapter then Host-Only for second adapter as seen in the images below:


    enter image description here



    enter image description here




Now I have not tested this and I have adapted it from an answer given here. I am assuming like you said the Windows DHCP Server has been setup so following that reference simply turning on the Ubuntu client should have it connect to the Windows server and get an IP from there. Enable that network on Ubuntu machine.






share|improve this answer














Let provide an arrangement that should work. For questions (2) and (3) that has to do with the network set which if the steps I will show goes well then those should work.



Step 1: Set Host-Only network on Virtualbox:





  1. Setup Host-Only Network for both machines. Open the file menu and click on Host Network Manager



    enter image description here




  2. Create the Host-Only network by clicking create button:



    enter image description here




  3. Now on both machines do the following:




    • Set click on the machine then settings and setup both NAT for first adapter then Host-Only for second adapter as seen in the images below:


    enter image description here



    enter image description here




Now I have not tested this and I have adapted it from an answer given here. I am assuming like you said the Windows DHCP Server has been setup so following that reference simply turning on the Ubuntu client should have it connect to the Windows server and get an IP from there. Enable that network on Ubuntu machine.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 29 at 17:44

























answered Nov 29 at 17:27









George Udosen

18.6k94265




18.6k94265












  • Thank you. We will check it soon and I will give you a feedback once we are done. Fingers crossed! :) So should we set this up on the Win server as well or only on the Ubuntu client?
    – Noxter
    Nov 30 at 19:32












  • It's for both machines!
    – George Udosen
    Nov 30 at 19:55










  • Hey. We tried it now. We added a host only network in VB (with default settings) and then we added a host only adapter card for both the ubuntu client and the win server as well. We try to ping the server's IP and it doesnt work. We are not getting an IP from the server. We did everything the way the picture show us. Do you have any idea we should try out? A guy told us that the ubuntu client only need an "inner" card and it should work automatically while the server needs a NAT AND AN INNER CARD to work. It doesnt work either. :(
    – Noxter
    2 days ago


















  • Thank you. We will check it soon and I will give you a feedback once we are done. Fingers crossed! :) So should we set this up on the Win server as well or only on the Ubuntu client?
    – Noxter
    Nov 30 at 19:32












  • It's for both machines!
    – George Udosen
    Nov 30 at 19:55










  • Hey. We tried it now. We added a host only network in VB (with default settings) and then we added a host only adapter card for both the ubuntu client and the win server as well. We try to ping the server's IP and it doesnt work. We are not getting an IP from the server. We did everything the way the picture show us. Do you have any idea we should try out? A guy told us that the ubuntu client only need an "inner" card and it should work automatically while the server needs a NAT AND AN INNER CARD to work. It doesnt work either. :(
    – Noxter
    2 days ago
















Thank you. We will check it soon and I will give you a feedback once we are done. Fingers crossed! :) So should we set this up on the Win server as well or only on the Ubuntu client?
– Noxter
Nov 30 at 19:32






Thank you. We will check it soon and I will give you a feedback once we are done. Fingers crossed! :) So should we set this up on the Win server as well or only on the Ubuntu client?
– Noxter
Nov 30 at 19:32














It's for both machines!
– George Udosen
Nov 30 at 19:55




It's for both machines!
– George Udosen
Nov 30 at 19:55












Hey. We tried it now. We added a host only network in VB (with default settings) and then we added a host only adapter card for both the ubuntu client and the win server as well. We try to ping the server's IP and it doesnt work. We are not getting an IP from the server. We did everything the way the picture show us. Do you have any idea we should try out? A guy told us that the ubuntu client only need an "inner" card and it should work automatically while the server needs a NAT AND AN INNER CARD to work. It doesnt work either. :(
– Noxter
2 days ago




Hey. We tried it now. We added a host only network in VB (with default settings) and then we added a host only adapter card for both the ubuntu client and the win server as well. We try to ping the server's IP and it doesnt work. We are not getting an IP from the server. We did everything the way the picture show us. Do you have any idea we should try out? A guy told us that the ubuntu client only need an "inner" card and it should work automatically while the server needs a NAT AND AN INNER CARD to work. It doesnt work either. :(
– Noxter
2 days ago










Noxter is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Noxter is a new contributor. Be nice, and check out our Code of Conduct.













Noxter is a new contributor. Be nice, and check out our Code of Conduct.












Noxter is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1096868%2fgetting-an-ip-address-with-ubuntu-client-from-windows-server-2016-dhcp-in-virtua%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

Category:香港粉麵

List *all* the tuples!

Channel [V]