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] Network Problem with xen 3.0.1

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Network Problem with xen 3.0.1
From: MikeschTheCat <stefan.mikuszeit@xxxxxx>
Date: Mon, 13 Feb 2006 07:55:08 -0800 (PST)
Delivery-date: Mon, 13 Feb 2006 16:07:11 +0000
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: MikeschTheCat <stefan.mikuszeit@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hallo @all,

i can ping my domU maschine from dom0, 
but ssh/dns between dom0 and domU dosn't work :-(

here any tests:

blackhat2       = dom0 (192.168.1.1)
blackhat2web = domU (192.168.1.2)

(ping from dom0 to dom0)
blackhat2:~# ping -c1 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.074 ms

(ping dom0 to domU)
blackhat2:~# ping -c1 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=0.866 ms

(ssh dom0 to dom0)
blackhat2:~# ssh 192.168.1.1
Password:
Last login: Mon Feb 13 16:28:38 2006 from laptop.intern

(ssh dom0 to domU)
blackhat2:~# ssh 192.168.1.2
maybe 5 minutes later: Connection closed by 192.168.1.2

(ssh domU to domU)
blackhat2web:~# ssh 192.168.1.2
host key verification failed.

(ssh domU to dom0)
blackhat2web:~# ssh 192.168.1.1
---TIMEOUT---

(ifconfig on dom0)
blackhat2:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0E:0C:A1:B0:63
          inet addr:10.20.11.61  Bcast:10.20.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:81501 errors:0 dropped:0 overruns:0 frame:0
          TX packets:960 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18749851 (17.8 MiB)  TX bytes:78554 (76.7 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1316 (1.2 KiB)  TX bytes:1316 (1.2 KiB)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:81703 errors:0 dropped:0 overruns:0 frame:0
          TX packets:965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19120933 (18.2 MiB)  TX bytes:83890 (81.9 KiB)
          Base address:0x1880 Memory:40000000-40020000

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:960 errors:0 dropped:0 overruns:0 frame:0
          TX packets:81501 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:78554 (76.7 KiB)  TX bytes:18749851 (17.8 MiB)

vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1058 errors:0 dropped:0 overruns:0 frame:0
          TX packets:78943 errors:0 dropped:2242 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:99198 (96.8 KiB)  TX bytes:17578788 (16.7 MiB)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22322 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1089 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1802742 (1.7 MiB)  TX bytes:116516 (113.7 KiB)

(ifconfig on domU)
blackhat2web:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:56:6C:4C
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:471 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:43852 (42.8 KiB)  TX bytes:42 (42.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

(domU Config file)
blackhat2:~# cat /etc/xen/vm01_web_server.sxp
# standard config

name ="vm01_web_server"
kernel ="/boot/vmlinuz-2.6.12.6-xenU"
root ="/dev/hda1"
memory =128
disk =
['file:/vserver/images/vm01_web_server.img,hda1,w','file:/vserver/images/vm01_web_server-swap.img,hda2,w']

# network

nics=1
vif = ['bridge=xenbr0']
dhcp ="off"
ip="192.168.1.2"
netmask="255.255.255.0"
gateway="192.168.1.1"
hostname="blackhat2web"

extra="3"

(route on domU)
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
xenbr0
10.20.0.0       0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         10.20.1.3       0.0.0.0         UG    0      0        0 eth0

If you need anythink more, tell me please.

how can i stop/break programms like ping ssh, or other that i can normaly
break with STRG+C, this Tastekombination don't work on domU's :-(

Best regards
Stefan
--
View this message in context: 
http://www.nabble.com/Network-Problem-with-xen-3.0.1-t1114850.html#a2913065
Sent from the Xen - User forum at Nabble.com.


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

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