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

Re: [Xen-users] ssh from dom0 to domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] ssh from dom0 to domU
From: Ramiro Brito Willmersdorf <ramiro@xxxxxxxxxxxxxxxx>
Date: Mon, 12 Sep 2005 11:22:51 -0300
Cc: John Wilson <j.wilson@xxxxxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 12 Sep 2005 14:25:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050909202610.d9ry6r0gwgg0sos4@xxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: DEMEC/UFPE
References: <20050909202610.d9ry6r0gwgg0sos4@xxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: ramiro@xxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.1
Well, 

I think, from conversations we've been having on this list, that the
first thing to do is to try to disable checksum offloading on your
network cards (supposing that all the other bunch of stuff that can
go wrong, didn't).

An interesting thing to test is to check if you can connect from
a different *physical* machine on the same network into your guest
domains. If this works, it's an important data point.

You can do that with:

ethtool -K eth0 rx off
ethtool -K eth0 sx off
ethtool -K eth0 sg off
ethtool -K eth0 tso off

Good luck!

Em Friday 09 September 2005 16:26, John Wilson escreveu:
> Hey,
>
> I'm having a bit of difficulty sshing from Dom0 to DomU and vice versa, my
> setup is as follows;
>
> Xen-3.0-unstable, XenLinux kernel 2.6.12
>
> Dom0 on Redhat EL 4
>
> Dom1 on SuSE linux 9.1 (with the standard xenU kernel included with
> xen-unstable)
>
> The server it runs on doesnt have a nic installed (well it does, just
> without drivers)
>
> the suse config file sets the eth0 interface up as follows;
>
> nics = 1
> ip = "10.0.0.3"
> netmask = "255.255.255.0"
> gateway = "10.0.0.2"
>
> and I have to set the Dom0 vif1.0 interface up myself using;
>
> ifconfig vif1.0 10.0.0.2 netmask 255.255.255.0
>
> Now...
>
> When I ping either way the network connection seems fine (i.e. ping
> 10.0.0.2 from DomU and vice versa), and ssh works fine on both domains
> from both the loopback interface and the vnic ip addresses. However when I
> try to ssh either way from Dom0 to DomU or DomU to Dom0, it fails
> somewhere. Looking at the verbose output from the ssh command shows that
> the domains are connecting to one another and doing a netstat -a on either
> domain after attempting an ssh shows that there is indeed a connection
> between the two, but somewhere along the line the packets are not getting
> through. Basically I'm just not getting a password prompt.
>
> Could anybody give me a little insight into why this is failing? I've also
> tried vncserver/vncviewer both ways and this too fails in a similar
> fashion.
>
> Apologies for the lack of actual output but I'm currently not sitting by
> the server.
>
> Now the main aim of this whole thing is to eventually vnc into a windows
> vmx domain I'm trying to set up on my VT enabled platform, I have a
> bootable (using qemu at least) hard disk image of windows and I guess
> vncing into it after doing a 'xm create -f winimg.cfg' is the right way of
> doing things?
>
> Thanks in advance,
>
> John
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Ramiro Brito Willmersdorf  Dep. Engenharia Mecânica/UFPE
ramiro@xxxxxxxxxxxxxxxx        tel: +55 81 2126-8231e239          

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

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