Displaying 20 results from an estimated 1000 matches similar to: "Re: Automatically assign static ipv4 via dhcp to new VMs (Tim)"
2014 Apr 06
3
Changing dnsmasq DNS settings for virtual machines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
maybe this is an old fart, but I cant get it to work.
I am running libvirt on a laptop, where a dnsmasq is already running
to delegate dns info for my local (not-public) network. My resolv.conf
(on the host) lists the system-dnsmasq as first server.
I had to set the listen-adress for the system-dnsmasq to 127.0.0.1 and
set
2017 Aug 30
2
network configuration for guest specific dns-servers
Hello,
similar to how one can configure guest specific IP addresses via mac
addresses:
<ip address="192.168.122.1" netmask="255.255.255.0" localPtr="yes">
<dhcp>
<range start="192.168.122.100" end="192.168.122.254"/>
<host mac="00:16:3e:77:e2:ed" name="foo.example.com"
2014 Apr 10
0
Re: Changing dnsmasq DNS settings for virtual machines
On 04/06/2014 08:33 AM, Johannes Kastl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi everyone,
>
> maybe this is an old fart, but I cant get it to work.
>
> I am running libvirt on a laptop, where a dnsmasq is already running
> to delegate dns info for my local (not-public) network. My resolv.conf
> (on the host) lists the system-dnsmasq as first
2012 Oct 28
5
Re-sizing qcow2 images
Hello All,
I am using Centos 6.3 with libvirt 0.910 and qemu-kvm 0.12
I had to resize a qcow2 disk, and came across several issues;
I used this command to resize the image:
sudo -i /usr/bin/qemu-img /var/lib/libvirt/images/mydisk.img resize
+100G . The disk is attached using virtio.
I then tried to use parted from within the guest to resize the partition.
The first problem was that the
2013 Oct 07
0
Re: Automatically assign static ipv4 via dhcp to new VMs
On 10/04/2013 12:09 PM, Tim wrote:
> Hi guys,
>
> I'm running a KVM/libvirt host in a datacenter and got a fancy IPv4
> subnet from my provider. I'm able to assign IPs from that subnet via
> dhcp to my VMs:
>
> host01 ~ # virsh net-dumpxml internet
> <network connections='3'>
> <name>internet</name>
>
2013 Oct 17
1
Re: Automatically assign static ipv4 via dhcp to new VMs
Thanks for the hint with net-update, thats exactly that what I was
looking for.
Am 07.10.2013 13:10, schrieb Laine Stump:
> On 10/04/2013 12:09 PM, Tim wrote:
>> Hi guys,
>>
>> I'm running a KVM/libvirt host in a datacenter and got a fancy IPv4
>> subnet from my provider. I'm able to assign IPs from that subnet via
>> dhcp to my VMs:
>>
>>
2017 Aug 31
0
Re: network configuration for guest specific dns-servers
On Thu, Aug 31, 2017 at 12:10:22AM +0200, David Ayers wrote:
>Hello,
>
>similar to how one can configure guest specific IP addresses via mac
>addresses:
><ip address="192.168.122.1" netmask="255.255.255.0" localPtr="yes">
> <dhcp>
> <range start="192.168.122.100" end="192.168.122.254"/>
> <host
2013 Oct 04
2
Automatically assign static ipv4 via dhcp to new VMs
Hi guys,
I'm running a KVM/libvirt host in a datacenter and got a fancy IPv4
subnet from my provider. I'm able to assign IPs from that subnet via
dhcp to my VMs:
host01 ~ # virsh net-dumpxml internet
<network connections='3'>
<name>internet</name>
<uuid>37b888cc-510f-46f1-9246-346da96222ed</uuid>
<forward dev='enp5s0f0'
2012 Dec 04
1
Error using virt-convert
All,
I am trying to use virt-convert to convert a KVM/libvirt guest to VMWare
ESX 4, and getting an error. Any help would be greatly appreciated.
I have created a virt-image image file as shown at
http://people.redhat.com/dlutter/virt-image/virt-image-xml.html. See
below for the xml file.
I am using the following command for the conversion, and am getting the
error shown :
2012 Nov 07
1
Virt-io Kernels for older RHEL/CentOS versions
All,
I need to run a number of guests which user older distributions of RHEL
and CentOS on an RHEL 6.3 host. The versions are;
4.8 - i386
5.1 - i386
5.2 - x86_64
5.3 - i386
Currently I am running these with the E1000 network driver and the IDE
driver. Where can I find kernels (or modules) for virtio for these OS's ?
Thanks in advance
Chandana
2012 Jul 17
0
Set IP for LXC-container through libvirt XML
Hi!
How I can set IP to container without using dhcp?
From http://libvirt.org/formatnetwork.html I have:
<network>
<mac address='00:16:3E:5D:C7:9E'/>
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.100" end="192.168.122.254" />
<host
2015 Oct 30
2
Creating network interfaces with specific name in LXC
Hello
I am trying to create interfaces within an LXC container with specific
name. I am using the following XML:
<interface type='network' name='blah'>
<source network='dpbr_n_0'/>
</interface>
This doesn't seem to work; it always ends up creating interface with name
as "eth0".
I found some examples here:
2016 May 20
2
Need information
Hi,
Referring to the link http://wiki.libvirt.org/page/VirtualNetworking, the
scenario described for the routed mode, explains that
"Host has public IP and virtual machines have static public IPs. But one
can't use bridged networking, since provider accept only packets from the
MAC address of the host"
Can someone explain to me why doesn't the switch accept the packets from
2018 Oct 02
1
Re: [virt-tools-list] Virt-manager: Restricted networks
On 10/02/2018 08:50 AM, Olivier Léobal wrote:
> Hello,
>
> 'Isolated' networks created in VMM (I’m running 1.4.3) still connect to
> the host (as gateway). Is it possible to avoid this? It is my
> understanding that QEMU provides a 'restrict' option for that, but I
> don't understand it well, and can’t find it in VMM.
>
ccing libvirt-users
That's
2012 Nov 01
0
libvirt-users Digest, Vol 34, Issue 35
2012/10/31 Chandana De Silva <chandana at desilva.id.au>
> You _can_ do NAT.
>
> Set up a different libvirt network on each machine, like this;
> 10.128.80.65 will have a libvirt network 192.168.65.0/24
> 10.128.80.66 will have a libvirt network 192.168.66.0/24
>
> Set up each of these networks as routed networks.
>
> Now set up routing/iptables rules on each
2015 Oct 30
2
Re: Creating network interfaces with specific name in LXC
Thanks Martin. What I would like to achieve is govern the interface name
created within the container, so that my application can take different
actions on different interfaces (such as eth0, eth1 etc.,).
Libvirt's lxc driver seems to create interfaces as eth0, eth1 and so on,
when there are multiple <interface /> entries in the domain xml. How can I
request for a particular interface
2014 Nov 19
2
Re: virsh net-start default fails
Yes, /etc/libvirt/qemu/networks/default.xml exists and has the contents:
$ cat /etc/libvirt/qemu/networks/default.xml
<network>
<name>default</name>
<bridge name="virbr0" />
<forward/>
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.2"
2015 Oct 30
0
Re: Creating network interfaces with specific name in LXC
On Fri, Oct 30, 2015 at 08:16:33PM +0530, Harish Vishwanath wrote:
>Hello
>
>I am trying to create interfaces within an LXC container with specific
>name. I am using the following XML:
>
> <interface type='network' name='blah'>
> <source network='dpbr_n_0'/>
> </interface>
>
That name='' is not parsed, it
2015 Nov 02
0
Re: Creating network interfaces with specific name in LXC
On Fri, Oct 30, 2015 at 10:09:51PM +0530, Harish Vishwanath wrote:
>Thanks Martin. What I would like to achieve is govern the interface name
>created within the container, so that my application can take different
>actions on different interfaces (such as eth0, eth1 etc.,).
>
<interface>
<guest dev='devicename'/>
</interface>
That is what you're
2013 Dec 14
3
Re: assign static external IP to container
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Gao feng @ 12/12/2013 10:18 PM:
> I saw there are two bridge br0 and virbr0 in your host. which
> bridge the libvirt uses? what's result of #virsh net-list ?
well i don't quite understand bridges and their function, i'm kinda
just following directions. br0 replaced eth0 though in my interfaces
file according to this guide[1] i