Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to set up a NAT networking for xen 4.2.5 domu without xend-config.sxp



On Thu, Nov 20, 2014 at 05:07:55AM +0000, Fu, Zeyi (???) wrote:
> 
> Ah, there it is, thanks. But it doesn't work for me.
> 
> First of all, I set up a hvm domu with the bridge mode, it works fine. Here it is:
> 
> --------------------------------------------------------------------------------------------------
> #kernel = '/usr/pkg/lib/xen/boot/hvmloader'
> builder = 'hvm'
> memory = '4096'
> vcpus = 2
> #device_model = '/usr/pkg/libexec/qemu-dm'

It's a HVM domU. So I guess the vif script is not called for the tap
interface, instead the qemu-ifup script is called. AFAIK there's no
way to change this script from the config file, you may need to hack the
script itself.

For a HVM domU, unless you have PV drivers for the network interface,
the interface used in the dom0 is a tap interface, not the xvif one.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index