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
|