Displaying 20 results from an estimated 10000 matches similar to: "How assign static ip using NAT?"
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
2020 Nov 11
2
DNS forwarding for guest domains on isolated network
Hi @all,
I'm having trouble to realize my use case and hope somebody could help me.
# Use case
For a home lab I want to deploy several guest domains. These domains
must not have a direct or NAT connection to the internet or my LAN. They
should only be able to reach my LAN and the internet through a proxy.
# What I've done
I've created the following virtual switch in isolated
2014 Apr 10
2
Re: Changing dnsmasq DNS settings for virtual machines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10.04.2014 13:08 Laine Stump wrote:
> On 04/06/2014 08:33 AM, Johannes Kastl wrote:
>> There was a bug in libvirt for quite awhile that caused
>> locally-unresolved requests for hostnames in the domain given by
>> the network's <domain name='xyzzy'/> element to be dropped rather
>> than forwarded. Is
2013 Dec 20
2
Re: assign static external IP to container
On 12/16/2013 04:47 AM, Gao feng wrote:
> On 12/14/2013 10:51 AM, scar wrote:
>> -----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
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
2014 Mar 07
4
Cannot chain to another PXE server on the same subnet
On Fri, Mar 7, 2014 at 2:33 AM, Vieri <rentorbuy at yahoo.com> wrote:
> So I take it it's more of a DHCP hack in which:
> 1- client boots and gets DHCP response from 10.215.144.7 with PXE syslinux info
> 2- client loads pxelinux.0 menu and selects menu that chains to Altiris PXE menu except, instead of calling pxechain.com or pxechn.c32 with the Altiris server's IP address,
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"
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"
2017 Nov 24
1
SSL configuration
Hello subscribers,
I have a very strange question regarding SSL setup on gluster storage.
I have create a common CA and sign certificate for my gluster nodes, placed host certificate, key and common CA certificate into /etc/ssl/,
create a file called secure-access into /var/lib/glusterd/
Then, I start glusterd on all nodes, system work fine, I see with peer status all of my nodes.
No problem.
2023 Apr 02
1
SR-IOV pool with static MAC address and vlan
I'm planning to set up a libvirt/kvm system using a card with SR-IOV
support. I'd like to use the vf pool option rather than statically
assigning a vf to each vm. However, I'd also like each vm to have a
static MAC address and I have multiple VLANs they will be on.
I found in the documentation a syntax for specifying a MAC and a vlan
when the vf is statically assigned, but I don't
2006 Feb 09
1
Error Messages in /var/log/messages
Here's the output:
Feb 9 15:51:26 SSI001 kernel: SFW2-INext-ACC-TCP IN=eth0 OUT=
MAC=00:0f:ea:73:88:12:00:40:2b:67:5b:a7:08:00 SRC=192.168.1.54
DST=192.168.1.2 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=51248 DF PROTO=TCP
SPT=1964 DPT=139 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (020405B401010402)
Feb 9 15:51:28 SSI001 kernel: SFW2-INext-ACC-TCP IN=eth0 OUT=
2012 Apr 12
2
domU NAT network cannot connect
Hi,
I followed this
guide<http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2>,
and started my xend service with nat-network support:
(network-script network-nat)
(vif-script vif-nat)
Then I started my domU with the following vif configure:
vif = [''ip=10.0.0.1'' ]
my domU is a win7 system, and I configured the network as:
ip:
2014 Mar 06
3
Cannot chain to another PXE server on the same subnet
On Thu, 2014-03-06 at 16:52 -0500, Gene Cumm wrote:
> > RFC2131, section 4.1, and particularly the second paragraph on page 24.
>
> Conditionally. "Options may appear only once, unless otherwise
> specified in the options document." I don't see any indication of any
> options that DO allow it unless "The information is an opaque object
> of n
2013 Dec 13
3
Re: assign static external IP to container
Gao feng @ 12/11/2013 01:49 AM:
> I have a machine running libvirt lxc,
> on this machine(host), the network configure looks like this
> eth0 is the physical nic, virbr0 is the bridge libvirt created, and vnet0
> is the veth device created for libvirt lxc container. you can see, the eth0
> is a port of virbr0, and the ip is assigned on virbr0.
>
> [snip]
>
> And in
2012 Jul 20
1
VM dies with error regarding "virConnectNumOfInterfaces"
Hi!
I ran into a problem using a USB device and was wondering if
you could help me.
I'm running a Win XP SP3 in a VM with libvirt on a Xubuntu 11.10.
I configured it to talk to several USB devices.
With one particular device (a Phonak Compilot[1], admittedly a probably
rather unusual device), the VM dies with the following error in the
libvirtd.log:
2012-07-20 21:04:19.591+0000: 1282:
2011 Aug 12
2
VNC ports
I am needing to explicitly assign VNC ports to my virtual guests so that I can connect to them externally via a VNC client, and not virt-viewer. Since I will have multiple KVM Hosts with access to the same shared storage (to facilitate migrations) I need to ensure I have unique VNC ports assigned to each guest so that I don't overlap somehow.
I had planned to use a range of ports starting at
2014 Feb 12
2
F20 Virt-Manager with MacVTap not working
Hello,
I've setup a VM with default networking (NAT) and this works fine but hosts
on my LAN can't get to the VM since it uses NAT.
When I try to set network to use MacVTap with either default or bridged I
get no networking for the VM.
Any hints around this? I would like to have the VM's on the same LAN as my
host and other machines. I don't care if the VM host can't reach the
2011 Jan 17
1
virt-install with --channel option inquiry
hi, virt guys,
This is Hongqing from Fedroa QA team. I try to forward the guest installation logs to host with virtio.
I have used virsh edit <guestName> to add a channel, it works fine.
I think it would be better if I can initialize it when I create the guest using virt-install,
and virt-install also offers the option, I have tried below, but it does not work.
virt-install
2019 Jul 19
2
Installing QEMU from source causing error
Hi,
I am trying to run Qemu-4.0 installed from source code.
When I run virt-manager to create a VM, I get the following error:
```
Unable to complete install: 'internal error: process exited while
connecting to monitor: 2019-07-19T17:06:35.954242Z qemu-system-x86_64:
-enable-kvm: unsupported machine type
Use -machine help to list supported machines'
Traceback (most recent call last):
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'