Getting an IP address with Ubuntu client from Windows Server 2016 DHCP in VirtualBox
up vote
0
down vote
favorite
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
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.
add a comment |
up vote
0
down vote
favorite
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
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
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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
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
networking server virtualbox windows dhcp
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.
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
add a comment |
@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
add a comment |
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:
Setup Host-Only Network for both machines. Open the file menu and click on
Host Network Manager

Create the Host-Only network by clicking
createbutton:

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:


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.
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
add a comment |
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:
Setup Host-Only Network for both machines. Open the file menu and click on
Host Network Manager

Create the Host-Only network by clicking
createbutton:

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:


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.
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
add a comment |
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:
Setup Host-Only Network for both machines. Open the file menu and click on
Host Network Manager

Create the Host-Only network by clicking
createbutton:

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:


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.
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
add a comment |
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:
Setup Host-Only Network for both machines. Open the file menu and click on
Host Network Manager

Create the Host-Only network by clicking
createbutton:

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:


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.
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:
Setup Host-Only Network for both machines. Open the file menu and click on
Host Network Manager

Create the Host-Only network by clicking
createbutton:

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:


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.
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
add a comment |
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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
@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