[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] vif-nat network setup

Daniel Veillard wrote:
On Thu, Nov 23, 2006 at 12:02:30PM +0100, Tomas Kouba wrote:
is it possible to setup a NAT-ed network with libvir?
My dom0 is configured so that it does a router for domUs and it
also does NAT for domUs. I can set this up manually but now I would
like to install some other domUs automatically with virt-install.

I see that it uses libvir to create new domain from the XML description
so it should be easy to add some option that would configure the XML, but
I cannot find if the XML supports NAT setup.

If I try 'virsh dumpxml' when the domU runs I get this:

Unimplemented block at xend_internal.c:1667
<domain type='xen' id='1'>
    <cmdline>fastboot ro root=/dev/sda1</cmdline>
<!-- Failed to parse vif: (device (vif (backend 0) (script vif-nat) (ip (mac 00:16:3E:47:A1:09) (vifname cevif))) -->
    <console tty='/dev/pts/2'/>

  Hum, looks like a missing feature, can you bugzilla this ?

Done as https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217039

Tomas Kouba

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]