Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-04-2012, 01:32 PM   #1
LQ Newbie
Registered: Sep 2012
Location: cyberspace
Distribution: Cent, Fedora
Posts: 4

Rep: Reputation: Disabled
using static IP addressing for VM guest machines

if been working on this a bit and have referenced and

While I have been able to establish network connectivity to my guest VMs they are not accepting static addressing. What is most odd about this is that when I dhclient the interface and it grabs an adress it works, but I can ifconfig it to that exact same address/mask/gateway etc.. and it won't work. Any thoughts on why this is? does it have to do with the briding?
Old 10-05-2012, 04:19 PM   #2
Registered: Mar 2008
Posts: 19,348

Rep: Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977
Virtual machines have a virtual router for use when you want to use the Nat way to connect. Guess it could know that it assigned a number already to a mac and for some reason locks it out on release. I think I used a higher number than the normal pool of addresses to work. Say instead of letting it get or whatever it was.
Old 10-06-2012, 02:30 AM   #3
LQ Newbie
Registered: Sep 2012
Location: cyberspace
Distribution: Cent, Fedora
Posts: 4

Original Poster
Rep: Reputation: Disabled
That shouldn't matter though. I have been having all kinds of issues now though following instructions i find here and there on the internet. If the gateway is correct and the nameserver is correction as long as the IP falls within the subnet (even if it is outside the DHCP pool) and is using the correct mask, that address is routable, or I am wasting my time studying for a CCNP becuase I can't grasp basic networking. I mean how can the same address assigned with ifconfig NOT work and the exact same address that was recieved by DHCP does work. DHCP does edit resolv.conf which COULD be an issue since I am pinging internet hostnames to test connectivity but even when i verify that is correct it still doesnt work. My best guess is like.... the wireless routers arp table? but I don't even care anymore, I think I will try and use esxi since I can't verify that configuring VMs with QEMU is part of the RHCSA exam.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Host OS unable to connect to Guest OS (virtual machines) in VMware vikas027 Linux - Virtualization and Cloud 18 08-16-2012 09:15 AM
Linux guest on Vmware is not communicating to other guest machines Saravana Linux - Virtualization and Cloud 2 10-26-2009 12:14 AM
Slackware 12.2: Static IP Addressing, Can't See Gateway tronayne Slackware 15 12-28-2008 08:27 AM
Machines on different subnets / static IPs natv Linux - Networking 4 02-04-2007 03:34 PM
IP Addressing static and dynamic Hockeyfan Linux - Networking 1 10-24-2005 08:06 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration