search for: formatnetwork

Displaying 20 results from an estimated 54 matches for "formatnetwork".

2020 Apr 30
2
Re: Libvirt APIs for creating virtual networks
...g.: dhcp-option=option-router,192.168.122.5 and recent libvirt (5.6.0 and newer) allows adding arbitrary lines to the dnsmasq.conf files it creates for its networks, using the <dnsmasq:options> element in the network XML. For details on how to do this, look at: https://libvirt.org/formatnetwork.html#elementsNamespaces >> Dns-server ? Not exact, but <forwarder addr='8.8.8.8'/> is *kind of* what you're looking for. It doesn't set the IP address sent back in the dhcp reply, but sets up the dnsmasq instance listening for the network to forward all requests...
2016 Jul 24
2
Network without forward mode
Hey! Another question. The documentation about networks say: ╭─────┤ http://libvirt.org/formatnetwork.html#elementsConnect ├───── │Inclusion of the forward element indicates that the virtual network is │to be connected to the physical LAN.Since 0.3.0. The mode attribute │determines the method of forwarding. If there is no forward element, the │network will be isolated from any other network (unless...
2020 Apr 28
2
Re: Libvirt APIs for creating virtual networks
Okay. Thanks. Do we have any facility APIs to set the DHCP Options via XML ? Default gateway ? Dns-server ? domain-name ? Thanks & Regards Santhosh Kumar Gunturu On Tue, Apr 28, 2020 at 8:47 AM Daniel P. Berrangé <berrange@redhat.com> wrote: > On Tue, Apr 28, 2020 at 08:39:06AM -0700, Santhosh Kumar Gunturu wrote: > > I am using the Libvirt APIs to create the virtual
2020 May 13
2
macvtap direct
Hi Couple of questions around macvtap direct usage: 1) is the document here current? https://libvirt.org/formatnetwork.html#examplesDirect I have been able to get host to guest network traffic without any special configuration or switch since Fedora 28 when I first started using it. Using <forward mode=vepa> requires switch port mirroring, but just using <forward mode=bridge> doesn't. 2) do any of...
2020 May 07
0
Re: Libvirt APIs for creating virtual networks
...ter,192.168.122.5 > > and recent libvirt (5.6.0 and newer) allows adding arbitrary lines to > the dnsmasq.conf files it creates for its networks, using the > <dnsmasq:options> element in the network XML. For details on how to do > this, look at: > > https://libvirt.org/formatnetwork.html#elementsNamespaces > > > > >> Dns-server ? > > Not exact, but > > <forwarder addr='8.8.8.8'/> > > is *kind of* what you're looking for. It doesn't set the IP address sent > back in the dhcp reply, but sets up the dnsmasq instance lis...
2016 Jul 25
2
Re: Network without forward mode
❦ 25 juillet 2016 06:06 CEST, Martin Kletzander <mkletzan@redhat.com> : >>╭─────┤ http://libvirt.org/formatnetwork.html#elementsConnect ├───── >>│Inclusion of the forward element indicates that the virtual network is >>│to be connected to the physical LAN.Since 0.3.0. The mode attribute >>│determines the method of forwarding. If there is no forward element, the >>│network will be isolate...
2015 Mar 20
2
getting oriented/networking
...hich I left at VEPA, even though Bridged was another choice. But the bridge would already seem implicit in picking a source device of eth1:macvtap. I don't know what "source mode" means. The choices in the GUI seem like some of the options listed under forward on http://libvirt.org/formatnetwork.html; is that a good place to look for clarification. I started a 2nd VM that also used eth1:macvtap (with virtio) and it had almost no network throughput. So maybe I should use some other method? I notice the network manager connection gui allows creation of bridges on the network; should I be...
2020 May 19
1
Re: macvtap direct
On Thu, May 14, 2020 at 1:32 PM Laine Stump <laine@redhat.com> wrote: > On 5/13/20 12:52 AM, Subhendu Ghosh wrote: > > Hi > > > > Couple of questions around macvtap direct usage: > > > > 1) is the document here current? > > https://libvirt.org/formatnetwork.html#examplesDirect > > Yes. None of that has changed in any major way in many years. > kernelNewbies documents mactap bridge as VMs can host can all talk to each other without an external bridge External bridge/switch is only needed for VEPA mode with hairpin. https://virt.kernelnewbies...
2014 Apr 10
2
Re: Changing dnsmasq DNS settings for virtual machines
...v.conf >> with the <forwarder> subelement of the <dns> element in the >> network definition, e.g.: > >> <dns> <forwarder addr='1.2.3.4'/> </dns> Nice, seems to work. >> This is documented here: > >> http://www.libvirt.org/formatnetwork.html#elementsAddress I actually was on that page, but I must have missed that bit... > Which brings me to the next question: How to set the addn-hosts= > for the libvirtd-dnsmasq in the xml file? > >> You do that with the <host> subelement of the <dns> element. An >...
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
2015 Oct 22
0
Re: How can I set the advertised value of MTU for virbr0 interface?
...then bridged <network/> [2] that will use the interface. Libvirt already has support for setting MTUs for host interfaces. Michal 1: http://libvirt.org/git/?p=libvirt.git;a=blob;f=tests/interfaceschemadata/bridge.xml;h=ece087ea2ef5e3a85fd708ff44286acb15680a64;hb=HEAD 2: http://libvirt.org/formatnetwork.html#examples P.S.: I must ashamedly admit that we don't have any documentation for <interface/>, sorry.
2016 Feb 04
0
Re: [netcf-devel] Re: Error when creating bridge with virt-manager
...new subnet to the host's physical ethernet IP (but if you're specifically asking for a routed network, then you likely already know this (either that or I've misunderstood your question) :-) You can see more info about the possible types of networks here: http://www.libvirt.org/formatnetwork.html I've set Reply-To: in this message to libvirt-users@redhat.com. It really is a more appropriate place for these questions, as the netcf mailing list deals specifically with the netcf library, which isn't involved in any of the things we're discussing here.
2016 Apr 04
1
add external access to routed dnsmasq
I have created a routed virtual network. From within the routed net, DNS requests to the dnsmasq interface virbr2 work fine. On the libvirt host, DNS requests to the dnsmasq interface virbr2 work fine. I would like to allow external hosts, on the same network as the libvirt host, to query the dnsmasq interface. However external DNS queries to the virbr2 interface time out. The iptables firewall
2016 Jul 25
0
Re: Network without forward mode
On Sun, Jul 24, 2016 at 11:18:19PM +0200, Vincent Bernat wrote: >Hey! > >Another question. The documentation about networks say: > >╭─────┤ http://libvirt.org/formatnetwork.html#elementsConnect ├───── >│Inclusion of the forward element indicates that the virtual network is >│to be connected to the physical LAN.Since 0.3.0. The mode attribute >│determines the method of forwarding. If there is no forward element, the >│network will be isolated from any other...
2016 Jul 25
0
Re: Network without forward mode
On Mon, Jul 25, 2016 at 06:58:53AM +0200, Vincent Bernat wrote: > ❦ 25 juillet 2016 06:06 CEST, Martin Kletzander <mkletzan@redhat.com> : > >>>╭─────┤ http://libvirt.org/formatnetwork.html#elementsConnect ├───── >>>│Inclusion of the forward element indicates that the virtual network is >>>│to be connected to the physical LAN.Since 0.3.0. The mode attribute >>>│determines the method of forwarding. If there is no forward element, the >>>│network...
2016 Nov 13
1
Attach libvirt guest to an existing openvswitch port
Good day gentlemen. I am building a study project and trying to configure openvswitch vlans outside libvirt by means of openvswitch itself. Somehow with interface types 'bridge' and 'network', libvirt does attach domain to the existing port specified in <target dev=''/>, wiping the exixting settings and always deletes this port upon domain shutdown, thus making me
2017 Jul 25
1
how libvirt create virbr0
libvirt version: 3.4.0 architecture: x86_64 ubuntu16.04-server hypervisor: kvm,qemu when install libvirt from ubuntu distribution deb install libvirt, a virtual bridge virbr0 will be create . But when I build libvirt from souce code, how can I create a virbr0. If I want create another virtual bridge ,How can I create and start the virtual bridge. Thanks
2017 Aug 31
0
Re: network configuration for guest specific dns-servers
...me time ;) It should not be difficult. >Could someone point me to the correct documentation? > Sure! [2] >Thank you! >David Ayers > You are welcome. Martin [1] https://bugzilla.redhat.com/enter_bug.cgi?product=Virtualization%20Tools&component=libvirt [2] https://libvirt.org/formatnetwork.html > > >-- >David Ayers - Team Austria >Free Software Foundation Europe (FSFE) [] (http://www.fsfe.org) >Join the Fellowship of FSFE! [][][] (https://fsfe.org/join) >Your donation powers our work! || (http://fsfe.org/donate) >_______...
2017 Dec 27
3
libvirt net xml format
Hi all, I went through the docs but could not find a way to pass the -h OR --no-hosts option to dnsmasq via libvirt xml Is there a way to do this via xml ? please can someone help. Thanks