FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 04-27-2008, 12:57 PM
Geert Jansen
 
Default virtual networks without DHCP

Hi all,

I think it would be nice if it were possible to create a virtual network
with virt-manager without DHCP and DNS services. This is useful when you
want to use a host-only network for testing a setup that includes a DHCP
server.


I am not sure whether this is a limitation in virt-manager or in libvirt.

Regards,

--
Geert Jansen
Product Manager EMEA
Red Hat Nederland B.V. T: +31 6 293 191 57
Printerweg 44 E: gjansen@redhat.com
3821 AD Amersfoort, NL

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-28-2008, 07:52 AM
"Richard W.M. Jones"
 
Default virtual networks without DHCP

On Sun, Apr 27, 2008 at 02:57:54PM +0200, Geert Jansen wrote:
> I think it would be nice if it were possible to create a virtual network
> with virt-manager without DHCP and DNS services. This is useful when you
> want to use a host-only network for testing a setup that includes a DHCP
> server.
>
> I am not sure whether this is a limitation in virt-manager or in libvirt.

It's a libvirt thing. Replies redirected to libvir-list.

My understanding is that if the network doesn't contain a <ip...>
element in the network XML then no DHCP server will be created.

http://libvirt.org/formatnetwork.html

Rich.

--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 05-02-2008, 01:40 PM
"Daniel P. Berrange"
 
Default virtual networks without DHCP

On Mon, Apr 28, 2008 at 08:52:12AM +0100, Richard W.M. Jones wrote:
> On Sun, Apr 27, 2008 at 02:57:54PM +0200, Geert Jansen wrote:
> > I think it would be nice if it were possible to create a virtual network
> > with virt-manager without DHCP and DNS services. This is useful when you
> > want to use a host-only network for testing a setup that includes a DHCP
> > server.
> >
> > I am not sure whether this is a limitation in virt-manager or in libvirt.
>
> It's a libvirt thing. Replies redirected to libvir-list.
>
> My understanding is that if the network doesn't contain a <ip...>
> element in the network XML then no DHCP server will be created.
>
> http://libvirt.org/formatnetwork.html

As Rich mentions, this is already supported in libvirt - simply omit
the <dhcp> tag. This is not exposed in the virt-manager UI though - it
always requires DHCP, so you'll need to use the command line to configure
this.

Dan
--
|: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 12:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org