Mailinglist Archive: opensuse-virtual (33 mails)

< Previous Next >
[opensuse-virtual] Re: Static IP and internet access in a VM
  • From: Sankar P <sankar.curiosity@xxxxxxxxx>
  • Date: Tue, 7 Jan 2014 10:26:34 +0530
  • Message-id: <>
Hi Bruno,

Sorry for the late reply as I did not get your mail as I was not
subscribed to the
list and I forgot to add my email address explicitly in the CC.

The qmenu xml definition in a host will look like

Also, sorry to say that I was not able to understand what you meant by
qmenu xml definition. I am a total newbie when it comes to setting up
VMs and have used jsut virtualbox with its helpful gui so far. If it
is not too much of an effort, can you explain the steps for
using/generating this XML or point me to relevant documentation where
I can get static IP for my VM but with internet access ? I searched
around but could not find anything newbie friendly.



2014/1/3 Sankar P <sankar.curiosity@xxxxxxxxx>:

I am not sure if this is the right list but this seemed the most suitable.

I am using openSUSE 13.1 and using virt-manager I created a SLES
virtual machine. One of the applications that I am going to install in
the VM requires static ip address and so my VM must have static ip

In the VM Details, I have set the NIC card to be "Virtual network
'default': NAT" and inside the VM I have given a static i.p. in the
yast. However, I am not able to access the internet from my VM.

So, what should I do to get:

1) a static i.p. for my VM
2) with the ability to access the internet in the VM (using the host's
internet connection) ?
3) Ability to ssh into the VM directly without coming into the host
machine, will be good to have but not at all needed if it will
complicate the setup (due to the static ip requirement)

In VirtualBox, I have achieved the above by creating two network cards
one with hostonly and another with Bridged networking. One will be
DHCP (bridged) and will give me access to the internet and the
hostonly will give me a static i.p. address for the VM. (IIRC)

Is there a way to satisfy this requirement ? Google does not seem to
return any helpful results for this.

Any help will be appreciated. Thanks.

Sankar P

Sankar P
To unsubscribe, e-mail: opensuse-virtual+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-virtual+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups