I can't assign an IP address to vmware VM from DHCP pool
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 |
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 |
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 '18 at 21:10
NickNick
124
124
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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 |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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
});
}
});
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 |
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 |
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 '18 at 15:09
NickNick
124
124
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.
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