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 network-route

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XEN network-route
From: Axel.Jax <Axel.Jax@xxxxxxxxx>
Date: Wed, 31 Dec 2008 19:47:45 +0100 (CET)
Delivery-date: Wed, 31 Dec 2008 10:48:29 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=seznam.cz; h=To:Date:From:Received:Subject:Mime-Version:Message-Id:Content-Transfer-Encoding:Content-Type:X-Abuse:X-Seznam-User:X-QM-Mark; b=NQ/JtcyxQsHLuBkcP06PgcIv798FXz7BkxKbjlzEJ8noF5B7pU7e7cs5/jU1qkIbL 6I/RayXbBmnitzv7PtbkKSIlPm3zD9XTzt+6z3RvkKLHBpl5N83JnN7NWuMG19ho9rC 8Z0fWtuUx3JapLdfU3bkeqq6Hl61bgHwflAsR7s=
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
Good day everyone. I tried XEN 3.1.3/3.2.1/3.3.0 on Gentoo and I am not able to 
connect to the internet/LAN from guest os (windows xp, suse 11). Xen kernel is 
2.6.18-r12. 

hex xen # ip r 
192.168.3.35 dev vif0.0  scope link  src 192.168.3.34 
192.168.3.0/24 dev eth0  proto kernel  scope link  src 192.168.3.34 
127.0.0.0/8 dev lo  scope link 
default via 192.168.3.10 dev eth0 

hex xen # route -n 
Kernel IP routing table 
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
192.168.3.35    0.0.0.0         255.255.255.255 UH    0      0        0 vif0.0 
192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0 
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo 
0.0.0.0         192.168.3.10    0.0.0.0         UG    0      0        0 eth0 

hex xen # ip a 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 
    link/ether 00:1c:c0:a5:1a:9b brd ff:ff:ff:ff:ff:ff 
    inet 192.168.3.34/24 brd 192.168.3.255 scope global eth0 
3: vif0.0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 
    inet 192.168.3.34/32 brd 192.168.3.255 scope global vif0.0 
4: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 
5: vif0.1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 
6: veth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 
7: vif0.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 
8: veth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 
9: vif0.3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 
10: veth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 
11: vif1.0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 32 
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 
12: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 500 
    link/ether 5e:84:6c:f4:f1:ca brd ff:ff:ff:ff:ff:ff

WinXP config:
kernel = '/usr/lib/xen/boot/hvmloader' 
builder = 'hvm' 
memory = '256' 
device_model='/usr/lib/xen/bin/qemu-dm' 

# Disks 
disk = [ 'file:/home/xen/wxp/disk,ioemu:hda,w', 
'file:/home/xen/iso/iid.img,ioemu:hdc:cdrom,r' ] 

# Hostname 
name = 'wxp' 

# Networking 
vif = [ 'type=ioemu, vifname=vif0.0, ip=192.168.3.35, mac=FA:CE:00:00:00:01' ] 

# Behaviour 
boot='c' 
vnc=1 
vncviewer=1 
sdl=0

xend-config.spx:
(network-script 'network-route netdev=eth0') 
(vif-script     vif-route)

I have 192.168.3.0/24 LAN network and I would like to have 192.168.3.35 (35-50) 
on my guest winXP or SUSE box but if I set this address I cannot ping anywhere. 
Network in dom0 works fine but I cannot ping XP of course. In XP I have IP 
192.168.3.35, netmask 255.255.255.0 and gw 192.168.3.10 (this is gateway for 
all computers in my network). Every help is appreciated. I tried to solve the 
problem 2 days but now I am out of ideas . Thank you for help.

Thanks
Jan

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] XEN network-route, Axel.Jax <=