Port-xen archive

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

Re: NetBSD in an HVM instance can't see outside world



On Wed, Sep 03, 2008 at 10:19:46AM -0700, Michael Litchard wrote:
> Whether I try to use dhcp or manually configure an ip, I can neither
> ping, nor be pinged.
> 
> Here's my config file. Could someone help me troubleshoot?
> #============================================================================
> # Python configuration setup for 'xm create'.
> # This script sets the parameters used when a domain is created using
> 'xm create'.
> # You use a separate script for each domain you want to create, or
> # you can set the parameters for the domain on the xm command line.
> #============================================================================
> 
> #----------------------------------------------------------------------------
> # Kernel image file.
> kernel = "/usr/pkg/lib/xen/boot/hvmloader"
> 
> builder='hvm'
> 
> # Initial memory allocation (in megabytes) for the new domain.
> memory = 256
> 
> # A name for your domain. All domains must have different names.
> name = "hvm-netbsd"
> 
> #Network interface. By default emules a realtek 8139. For a NetBSD guest you
> # have to disable re(4) and let rtk attach to use it.
> # ne2k_pci emulates a pci ne2000 clone; this his cpu-hungry in dom0
> # pcnet emulates a AMD PCnet-PCI controller; but it corrupts packets with
> # pcn(4) under NetBSD.
> #vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu, model=ne2k_pci' ]
> #vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu, model=pcnet' ]
> vif = [ 'mac=00:16:3d:00:00:13, bridge=bridge0, type=ioemu' ]

This should create a tap interface in the dom0, in addition to the usual
xvif. Please check that the tap interface is up, and was added to bridge0

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


Home | Main Index | Thread Index | Old Index