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

[Xen-users] xen in nat mode and windows, no network


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Rafał Michalak <rafalak@xxxxxxxxx>
  • Date: Tue, 14 Dec 2010 13:47:56 +0100
  • Delivery-date: Tue, 14 Dec 2010 04:49:21 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NvMDHB5mXQWY7h3+44YjF2YiOq3wIsAtNJAJHkz5QxuNedDwf2kUhXMMUtHEyd30MG iic3EX9ZSViuY7YUYQ6Z9v+TuTWsr9bV9b/MBj/BetZ0UPFQKNhUfPPyu1j874FOglmV 2XRazOot5IEFP9dALXMkr8lz1wz1asFKMUGV8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello i success run windows 2003 server on debian lenny but i can't
configure network connection

How to connect windows to network and ping from linux ?

i have one public IP, which is why i use nat mode
my xend-config.sxp
-------------
(network-script network-nat)
(vif-script     vif-nat)
(dom0-min-mem 196)
(dom0-cpus 0)
(vnc-listen '0.0.0.0')
(vncpasswd 'secret')

my win.cfg
------------
device_model = '/usr/lib64/xen-default/bin/qemu-dm'
kernel = '/usr/lib64/xen-default/boot/hvmloader'
builder = 'hvm'
memory = 2048
name = 'winxp1'
vcpus=4
shadow_memory = 8
vif = [ 'type=ioemu, ip=192.168.7.11, mac=00:16:3e:00:00:13, bridge=eth0']
disk = [ 'file:/home/windows/disk.img,ioemu:hda,w',
'file:/home/windows/en_win_srv_2003_r2_standard_with_sp2_cd1_X13-04790.iso,ioemu:hdd:cdrom,r'
]
boot = 'cd'
vnc = 1
vncconsole = 1
sdl = 0
vnclisten="0.0.0.0"
acpi = 1
apic = 1
on_reboot = 'restart'


ifconfig
....
vif5.0    Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff
          inet addr:192.168.7.138  Bcast:0.0.0.0  Mask:255.255.255.255
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

in windows vnc console i only ping 192.168.7.11

ip_forwarding is enable
Lenny, 2.6.26-2-xen-amd64, Xen 3.2-1

Please help.

-- 
Rafal M

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.