WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] NAT Networking Issue

I have NAT routing working perfectly with gentoo dom0s but winxp guests it doesn't seem to work.  This is my working config for a gentoo machine:


#general
name = "test-gentoo";
memory = 256;

#booting
kernel = "/boot/gentoo-domU";

#virtual disks
disk = [ "file:/xen/gentoo/gentoo.img,xvda,w", "file:/xen/gentoo/swap,xvdb,w" ];
root = "/dev/xvda ro";

#virtual network
vif = ["ip=192.168.5.4"];
dhcp = "dhcp";
vnc=1
vnclisten="0.0.0.0"


Now the windows XP machine:
kernel = "/usr/lib/xen/boot/hvmloader";
builder = "hvm";
memory = "384";
# Hostname
name = "winxp";
shadow_memory = 8
vcpus = 1
device_model='/usr/lib64/xen/bin/qemu-dm'
vif = ['type=ioemu, ip=192.168.5.2, mac=aa:cc:00:00:00:01']

# Disks
disk = [ 'file:/xen2/winxp/disk.img,ioemu:hda,w','file:/xen/iso/sabayon.iso,ioemu:hdc:cdrom,r' ]
# Behaviour
on_poweroff     = 'destroy'
on_reboot       = 'restart'
on_crash        = 'restart'
dhcp            = 'off'

boot='c'
acpi=0
apic=0
usb=0
sdl=0
vnc=1
#vncviewer=1
vncpasswd='secret'
vnclisten='0.0.0.0'

the xend-config.sxp has

(network-script network-nat)
(vif-script     vif-nat)

and the other options (routed and bridge commented out).  Anything obvious I'm missing, that I should be aware of?

--
Samir






In linux, i can ping everything, go out to the net etc.  In Windows, I can't even ping the gateway in this case 192.168.5.129
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] NAT Networking Issue, Samir Faci <=