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] xen in nat mode and windows, no network

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen in nat mode and windows, no network
From: Rafał Michalak <rafalak@xxxxxxxxx>
Date: Tue, 14 Dec 2010 13:47:56 +0100
Delivery-date: Tue, 14 Dec 2010 04:49:21 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=iXIV1onD8jD+kzK1bYjfT4Pu6VE0kmMJWkzg7fJPf9U=; b=cDYJTzybyVZ5X0FieaflCq82j8Q7FGZLzKCf1FFeRbDCbpyZHSsxuH+i1h1Scllw7d nEA7eHzCwYlPvLUAjjAOGYPEHSWMnBHKiam0mTes2w6gETcyNn23+TT5WQNv/UNqZXog HnolaNL/ZzsoHSTxGZLs+8TG23lPpyBmz+suo=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>