Peter Kramp
2006-May-26 15:36 UTC
[Xen-users] Can not establish a SSH Connection into Dom0
Hello everyone,
I own a small network: Three ''normal'' Computers (Win or
Debian) and a Xen 3.02 (Debian) installation with three DomU''s. SSH
between the Computers works fine with one exception: I can establish a SSH
connection from the DomU to the ''normal'' Computers and to Dom0
but I can not establish a SSH connection from Dom0 (or from a ''normal
computer'') INTO DomU. It is also not possible to establish a SSH
connection between the DomU''s
I searched a lot, modified my Xen several time but still have no idea where the
problem could be. When I try to connect with SSH to a DomU the message alway is:
"Read from socket failed: Connection reset by peer"
I run some services on the DomU''s: At the moment a Samba server and a
VPN Server and all services are working fine.
Then I reinstalled the SSH several times, everytime with deleting /root/.ssh/
and /etc/ssh/. For my DomU''s I use the
following mac adresses: AA:00:00:00:00:20, AA:00:00:00:00:21 and
AA:00:00:00:00:22. I also tried to run the DomU''s with random
macadresses like 00:16:3E:4E:76:E5. At last, I installed another ethernetcard
into my computer, hide the ethernetcard from Dom0 and used it with its real
macadress in a DomU and told SSHd to listen on this card.
Nothing helps.
My entry in the xend-config.sxp is:
(xend-relocation-server yes)
(xend-relocation-hosts-allow ''^localhost$'')
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 196)
(dom0-cpus 0)
''brctl show'' shows me:
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no peth0
vif0.0
vif1.0
vif1.1
vif2.0
vif3.0
and a ifconfig in Dom0 shows me:
eth0 Link encap:Ethernet HWaddr 00:04:AC:B8:88:27
inet addr:192.168.100.4 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::204:acff:feb8:8827/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6113 errors:0 dropped:0 overruns:0 frame:0
TX packets:4281 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:565494 (552.2 KiB) TX bytes:701876 (685.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
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)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:6497 errors:0 dropped:0 overruns:0 frame:0
TX packets:5126 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:614137 (599.7 KiB) TX bytes:787386 (768.9 KiB)
Interrupt:16 Base address:0x2080
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:1266 errors:0 dropped:25 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6464 (6.3 KiB) TX bytes:130097 (127.0 KiB)
vif1.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
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:1276 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vif2.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:631 errors:0 dropped:0 overruns:0 frame:0
TX packets:1534 errors:0 dropped:29 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:70109 (68.4 KiB) TX bytes:165655 (161.7 KiB)
vif3.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:189 errors:0 dropped:0 overruns:0 frame:0
TX packets:1360 errors:0 dropped:46 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18047 (17.6 KiB) TX bytes:143611 (140.2 KiB)
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1255 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:110734 (108.1 KiB) TX bytes:468 (468.0 b)
Has anyone an idea, what should I modify as next? The computer, on which Xen is
running, is an old IBM Netfinity
with 2GB Ram and and some Ethernetcards.
Thank you in advance for every Tip,
--
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users