Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running an opennebula instance with opensuse as a guest machine. There is only one network interface eth0 with ipaddress 192.168.122.155 . However I can ping the machine 2 IP address 192.168.122.155 and 192.168.122.160. I dont want to assign 192.168.122.160 to the vm. How can I figure out what is going on?

share|improve this question

closed as not a real question by Chopper3, Wesley, Ward, mulaz, HopelessN00b Sep 26 '12 at 23:48

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
If you didn't explicitly set .160 to the VM, it sounds like you have bridged your virtual network, and the VM has picked up a DHCP address. –  Nate Jun 18 '12 at 14:19
    
Can you explain the setup you'd like to have? –  Nate Jun 18 '12 at 14:19
    
Yes the virtual netowrk is bridged. How do I check if it has obtained the address from DHCP? –  bonzi Jun 18 '12 at 14:22
    
Thanks I checked the /var/log/messages and it seems vm obtained address from dhcp. eth0: renewing lease of 192.168.122.160. But ifconfig still shows .155 then why am I able to ping .160? –  bonzi Jun 18 '12 at 14:26
    
It would seem that if the connection is bridged, and you have DHCP, the server has obtained .155, and the VM obtained .160. You can ping both addresses because there is one machine on each... if you don't want the VM to have an IP, configure it to not lease from DHCP. –  Nate Jun 18 '12 at 15:04
show 1 more comment

1 Answer

192.168.122/24 is a common subnet used for the VM Host's NAT'd network. Perhaps you're pinging one of the other guests?

share|improve this answer
    
Not really. I tried ssh-ing to the machine and it is the same one. –  bonzi Jun 18 '12 at 14:20
    
If you already know that, such information really ought to be included in the initial question. –  Magellan Jun 18 '12 at 15:13
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.