I can't assign an IP address to vmware VM from DHCP pool
up vote
-1
down vote
favorite
In GNS3, I have configured the DHCP pool on the router R1, and I have a vmware VM (Ubuntu 16.04), another router R2 and VPCs are connected to R1. The R2 and VPC can get their IP address without a problem, however, the vmwareVM can't receive the IP address.
Note that:
- the station is configured as host-only
- the connect a host virtual adapter to this network is checked
- the VMware Workstation DHCP Server is turned OFF
- No configuration on my local PC Network Connections (DHCP)
Once I type the command dhclient eth0 to get the IP address from dhcp, it freezes and returns nothing and no IP address is assigned.
I want to know what is the problem that causes that issue and how to solve it.
Thank you.
networking virtual-machine vmware router dhcp
add a comment |
up vote
-1
down vote
favorite
In GNS3, I have configured the DHCP pool on the router R1, and I have a vmware VM (Ubuntu 16.04), another router R2 and VPCs are connected to R1. The R2 and VPC can get their IP address without a problem, however, the vmwareVM can't receive the IP address.
Note that:
- the station is configured as host-only
- the connect a host virtual adapter to this network is checked
- the VMware Workstation DHCP Server is turned OFF
- No configuration on my local PC Network Connections (DHCP)
Once I type the command dhclient eth0 to get the IP address from dhcp, it freezes and returns nothing and no IP address is assigned.
I want to know what is the problem that causes that issue and how to solve it.
Thank you.
networking virtual-machine vmware router dhcp
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
In GNS3, I have configured the DHCP pool on the router R1, and I have a vmware VM (Ubuntu 16.04), another router R2 and VPCs are connected to R1. The R2 and VPC can get their IP address without a problem, however, the vmwareVM can't receive the IP address.
Note that:
- the station is configured as host-only
- the connect a host virtual adapter to this network is checked
- the VMware Workstation DHCP Server is turned OFF
- No configuration on my local PC Network Connections (DHCP)
Once I type the command dhclient eth0 to get the IP address from dhcp, it freezes and returns nothing and no IP address is assigned.
I want to know what is the problem that causes that issue and how to solve it.
Thank you.
networking virtual-machine vmware router dhcp
In GNS3, I have configured the DHCP pool on the router R1, and I have a vmware VM (Ubuntu 16.04), another router R2 and VPCs are connected to R1. The R2 and VPC can get their IP address without a problem, however, the vmwareVM can't receive the IP address.
Note that:
- the station is configured as host-only
- the connect a host virtual adapter to this network is checked
- the VMware Workstation DHCP Server is turned OFF
- No configuration on my local PC Network Connections (DHCP)
Once I type the command dhclient eth0 to get the IP address from dhcp, it freezes and returns nothing and no IP address is assigned.
I want to know what is the problem that causes that issue and how to solve it.
Thank you.
networking virtual-machine vmware router dhcp
networking virtual-machine vmware router dhcp
asked Nov 21 at 21:10
Nick
164
164
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
My mistake was in the configuration of my VMware network adapter (VMnet2) in my network adapter in my host.
so in order to get the IP address from the DHCP router: I did the following steps:
- Create a virtual network (VMnet2) in the virtual network editor
of VMware. - I checked the "Host-only" option
- I checked the
"connect a host virtual adapter to this network" option - Uncheck the "use local DHCP service to distribute IP address to VMs".
- Do not change the default configuration of the VMnet from your
network connexion options.
I hope that will help someone has the same issue as me
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
My mistake was in the configuration of my VMware network adapter (VMnet2) in my network adapter in my host.
so in order to get the IP address from the DHCP router: I did the following steps:
- Create a virtual network (VMnet2) in the virtual network editor
of VMware. - I checked the "Host-only" option
- I checked the
"connect a host virtual adapter to this network" option - Uncheck the "use local DHCP service to distribute IP address to VMs".
- Do not change the default configuration of the VMnet from your
network connexion options.
I hope that will help someone has the same issue as me
add a comment |
up vote
1
down vote
My mistake was in the configuration of my VMware network adapter (VMnet2) in my network adapter in my host.
so in order to get the IP address from the DHCP router: I did the following steps:
- Create a virtual network (VMnet2) in the virtual network editor
of VMware. - I checked the "Host-only" option
- I checked the
"connect a host virtual adapter to this network" option - Uncheck the "use local DHCP service to distribute IP address to VMs".
- Do not change the default configuration of the VMnet from your
network connexion options.
I hope that will help someone has the same issue as me
add a comment |
up vote
1
down vote
up vote
1
down vote
My mistake was in the configuration of my VMware network adapter (VMnet2) in my network adapter in my host.
so in order to get the IP address from the DHCP router: I did the following steps:
- Create a virtual network (VMnet2) in the virtual network editor
of VMware. - I checked the "Host-only" option
- I checked the
"connect a host virtual adapter to this network" option - Uncheck the "use local DHCP service to distribute IP address to VMs".
- Do not change the default configuration of the VMnet from your
network connexion options.
I hope that will help someone has the same issue as me
My mistake was in the configuration of my VMware network adapter (VMnet2) in my network adapter in my host.
so in order to get the IP address from the DHCP router: I did the following steps:
- Create a virtual network (VMnet2) in the virtual network editor
of VMware. - I checked the "Host-only" option
- I checked the
"connect a host virtual adapter to this network" option - Uncheck the "use local DHCP service to distribute IP address to VMs".
- Do not change the default configuration of the VMnet from your
network connexion options.
I hope that will help someone has the same issue as me
answered Nov 22 at 15:09
Nick
164
164
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f53420518%2fi-cant-assign-an-ip-address-to-vmware-vm-from-dhcp-pool%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