Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-29-2010, 02:25 AM
|
#1
|
|
LQ Newbie
Registered: Nov 2010
Posts: 3
Rep:
|
Debian VM unable to get IP address from DHCP
I have a Debian VM on Windows that is not getting an IP address assigned by the DHCP. I tried, ifdown eth0 and then ifup eth0 and still no IP address. my interfaces file looks like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
I am totally new to VM and linux. I don't know what to do about this issue. any help will be appreciated.
-Jocelyn
|
|
|
|
11-29-2010, 02:43 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,828
|
OK, you've not said anything about what kind of VM this is, or what networking model is being used. Where is the DHCP service for the machine? Are you expecting the virtualization system to provide this? If so, is it configured?
|
|
|
|
11-29-2010, 03:11 AM
|
#3
|
|
LQ Newbie
Registered: Nov 2010
Posts: 3
Original Poster
Rep:
|
Thank you Chris for responding. This VM file was given to me by the customer as a .vmx and .vmdk file. Basically, I need to find out the IP address of the VM for my testing purposes and when I ran ifconfig -a, I realised that there is no ip address assigned to eth0. Its a vmware VM and I am using VM Player to play it.The ip address is supposed to be assigned by my network's DHCP.
-Jocelyn
|
|
|
|
11-29-2010, 03:18 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,828
|
ok, well if I remember right vmplayer uses nat networking, so it's not on the same network as the phsyical network your box is connected to. You can probably change that in the vmware player settings though.
|
|
|
|
11-29-2010, 04:21 AM
|
#5
|
|
LQ Newbie
Registered: Nov 2010
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
ok, well if I remember right vmplayer uses nat networking, so it's not on the same network as the phsyical network your box is connected to. You can probably change that in the vmware player settings though.
|
That did it.. I changed the network adapter to NAT in the VM settings. thank you so much for the help,Chris.
-Jocelyn
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:14 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|