Displaying 20 results from an estimated 10000 matches similar to: "Xen + NAT + dhcp (static assignment using MAC)"
2019 Aug 01
2
libvirt/dnsmasq is not adhering to static DHCP assignments
This is basically a continuation of an older posting[0] I found, but
apparently no solution has been posted. So, I'm trying to setup static
DHCP leases with dnsmasq that is being started by libvirtd:
-----------------------------------------------------------
$ sudo virsh net-dumpxml --network default
<network>
[...]
<dns enable='no'/>
<ip
2013 Aug 21
2
Problem with DHCP and default route in CentOS
I have a CentOS 6.4 VM that is getting its DHCP information from dnsmasq (a
libvirt instance). However, it is not applying the routing information.
Attached is a tcpdump of the dhcpc output. You'll see:
Default-Gateway Option 3, length 4: 192.168.122.1
However, when I run 'route -n', I get:
# route -n
Kernel IP routing table
Destination Gateway Genmask
2017 Oct 31
1
Re: libvirt/dnsmasq is not adhering to static DHCP assignments
Hi,
It looks like that's the issue:
# cat /var/lib/libvirt/dnsmasq/osc_mgmt.hostsfile
52:54:00:2c:85:92,192.168.80.1,openstack-controller-00
But it makes me wonder...libvirt should be generating and managing this
file right? Do I need to edit this myself or should libvirt be updating
this file? If so then why isn't it?
On Mon, Oct 30, 2017 at 5:21 AM, Yalan Zhang
2017 Oct 30
2
libvirt/dnsmasq is not adhering to static DHCP assignments
Given the following network configuration:
===========
<network>
<name>osc_mgmt</name>
<uuid>d93fe709-14ae-4a0e-8989-aeaa8c76c513</uuid>
<forward mode='route'/>
<bridge name='osc_mgmt' stp='on' delay='0'/>
<mac address='52:54:00:3f:fe:10'/>
<ip address='192.168.80.254'
2018 Feb 07
2
Re: libvirt and NAT on a system that already has a DHCP server
On 2/1/2018 9:28 AM, Laine Stump wrote:
> On 02/01/2018 09:22 AM, Daniel P. Berrangé wrote:
>> On Thu, Feb 01, 2018 at 09:19:11AM -0500, Laine Stump wrote:
>>> On 01/30/2018 07:37 PM, john@bluemarble.net wrote:
>>>> I'm trying to use virt-manager and qemu/kvm on Arch Linux. The box I'm
>>>> using is also the router for my house. It runs a kea DHCP
2018 Feb 01
2
Re: libvirt and NAT on a system that already has a DHCP server
On Thu, Feb 01, 2018 at 09:19:11AM -0500, Laine Stump wrote:
> On 01/30/2018 07:37 PM, john@bluemarble.net wrote:
> > I'm trying to use virt-manager and qemu/kvm on Arch Linux. The box I'm
> > using is also the router for my house. It runs a kea DHCP server. When I
> > try to start the default NAT network, it can't start dnsmasq because that
> > port is
2018 Jan 31
2
libvirt and NAT on a system that already has a DHCP server
I'm trying to use virt-manager and qemu/kvm on Arch Linux. The box I'm
using is also the router for my house. It runs a kea DHCP server. When I
try to start the default NAT network, it can't start dnsmasq because that
port is already bound. Is there a way to have it not bind on this
interface? I see there is an except-on statement in the dnsmasq.conf, but
I can't add lines to that
2013 Nov 22
1
Re: Help with Vrbr0
On Friday 22 November 2013 04:19 PM, Sherin A wrote:
> On Friday 22 November 2013 01:33 PM, Sherin A wrote:
>> On Friday 22 November 2013 01:24 PM, Gao feng wrote:
>>> On 11/22/2013 03:47 PM, Sherin A wrote:
>>>> Hello,
>>>>
>>>> I am not able to see vrbr0 in my box. Can some one help me
>>>> with this ? . I am trying
2013 Oct 06
1
Re: Automatically assign static ipv4 via dhcp to new VMs (Tim)
You can do this with the built in dhcp server for the virtual network.
The definition is passed to dnsmasq.
...
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.100" end="192.168.122.254" />
<host mac="00:16:3e:e2:ed" name="foo.example.com"
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'
2017 Oct 30
0
Re: libvirt/dnsmasq is not adhering to static DHCP assignments
Please check the dnsmasq hostsfile, should have all the records there:
# cat /var/lib/libvirt/dnsmasq/osc_mgmt.hostsfile
52:54:00:2c:85:92,192.168.80.1,openstack-controller-00
52:54:00:e2:4b:25,192.168.80.2,openstack-database-00
52:54:00:50:91:04,192.168.80.3,openstack-keystone-00
52:54:00:fe:5b:36,192.168.80.7,openstack-rabbitmq-00
52:54:00:95:ca:bd,192.168.80.5,openstack-glance-00
-------
2008 Jun 13
2
Compiling from source and networking problem
Hey,
I was originally asking questions on xen-users but no one seems to have any
idea about this so I figured I''d try this list.
I compiled Xen from source (3.2 testing) on an Intel machine running Fedora
Core 8 and have discovered that my guest (Windows Vista) does not have a
network connection.
Looking at various online documentation and a machine that does work, I
guessed that I
2011 Mar 08
2
dnsmasq not started when no dhcp enabled ?
Hello everybody,
i've defined a simple network, with no dhcp. I'd like to use dnsmasq
only as a dns server.
$ virsh net-dumpxml basicswitch
<network>
<name>basicswitch</name>
<uuid>60f491d2-d6c4-6b57-8a50-081cace8dedc</uuid>
<forward mode='nat'/>
<bridge name='virbr1' stp='on' delay='0' />
<ip
2013 Jun 06
7
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
Hello,
First, this setup works fine without any error in syslinux 4.06 as show
below.
For convenience, both versions of syslinux 4.06 [#1] and 5.10 [#2]
directories (~2MB each) are uploaded ready for test.
As said before, this is tested on qemu-1.5.0 + dnsmasq 2.66 in Arch
Linux @ 64-bit.
If more info is needed, please let me know.
Good luck!
Relevant directory structure is at
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>
>
2019 Aug 02
0
Re: libvirt/dnsmasq is not adhering to static DHCP assignments
On 8/1/19 4:21 AM, Christian Kujau wrote:
> This is basically a continuation of an older posting[0] I found, but
> apparently no solution has been posted. So, I'm trying to setup static
> DHCP leases with dnsmasq that is being started by libvirtd:
>
>
> -----------------------------------------------------------
> $ sudo virsh net-dumpxml --network default
>
2018 Dec 18
3
Samba and dnsmasq
Hello everyone !
Well, I'm setting up a 'new' box with samba 4.9.3 on Ubuntu 18.04
Idea is to use Host OS for Domain Controler (dc1.smb.domain.tld) and a
LXC container (ubuntu 18.04 too) as Domain Member with File Server
(fs.smb.domain.tld).
Administration through Windows OS will be done with a Qemu KVM.
Bad thing is that I get :
> Failed to bind to 0.0.0.0:53 TCP -
2018 Feb 08
0
Re: libvirt and NAT on a system that already has a DHCP server
On 02/07/2018 03:07 PM, John Ratliff wrote:
> On 2/1/2018 9:28 AM, Laine Stump wrote:
>> On 02/01/2018 09:22 AM, Daniel P. Berrangé wrote:
>>> On Thu, Feb 01, 2018 at 09:19:11AM -0500, Laine Stump wrote:
>>>> On 01/30/2018 07:37 PM, john@bluemarble.net wrote:
>>>>> I'm trying to use virt-manager and qemu/kvm on Arch Linux. The box I'm
2017 Sep 05
3
DHCP logging settings
I find that libvirt clogs up syslog with trivial DHCP notifications. I
know how to configure alternate logging with dnsmasq directly via
'log-facility' and/or 'quiet-dhcp' options but the XML format used by
libvirt appears to have no equivalent options. Is there a way to reduce
syslog spam from libvirt without switching to a system-wide dnsmasq service?
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:
>>
>>