[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] ssh issues on DomU



Hi,

Simon Hobson wrote:
Andrew McGlashan wrote:

I only see output when I ssh from Dom0 -- nothing when trying from putty client.

Do you have any firewall in place that might be dropping connections ?

No, the closest thing would be the standard iptables rules on Dom0 ... but it looks "okay" to me.

The same problems arise from other boxen on the same network too.

Target eth0 network is 192.168.1.0/24 with eth1 network being 192.168.10.0/24

In the interest of solving this and not making any changes to the output which _may_ cause confusion, I've included some extra info here.

If anyone needs any more information, please let me know what to provide.



[Dom0]

#  iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy DROP)
target     prot opt source               destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED PHYSDEV match --physdev-out vif3.1 ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in vif3.1 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED PHYSDEV match --physdev-out vif3.0 ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in vif3.0 ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in peth1

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination


#  netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.222.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0 0.0.0.0 192.168.10.254 0.0.0.0 UG 0 0 0 eth1


#  cat /etc/resolv.conf
nameserver 192.168.10.254


#  ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:11:25:8e:35:5e
          inet addr:192.168.1.33  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:25ff:fe8e:355e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:488448 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:38658147 (36.8 MiB)  TX bytes:5180786 (4.9 MiB)

eth1      Link encap:Ethernet  HWaddr 00:11:25:8e:35:5f
          inet addr:192.168.10.33  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::211:25ff:fe8e:355f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:128731 errors:0 dropped:0 overruns:0 frame:0
          TX packets:108605 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16447271 (15.6 MiB)  TX bytes:119938992 (114.3 MiB)

eth2      Link encap:Ethernet  HWaddr 00:0e:0c:76:4a:08
          BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:841 (841.0 B)  TX bytes:841 (841.0 B)

peth0     Link encap:Ethernet  HWaddr 00:11:25:8e:35:5e
          inet6 addr: fe80::211:25ff:fe8e:355e/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:524126 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11900 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:46978477 (44.8 MiB)  TX bytes:4145178 (3.9 MiB)
          Interrupt:16

peth1     Link encap:Ethernet  HWaddr 00:11:25:8e:35:5f
          inet6 addr: fe80::211:25ff:fe8e:355f/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:278848 errors:0 dropped:0 overruns:0 frame:0
          TX packets:332433 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:43404930 (41.3 MiB)  TX bytes:331005275 (315.6 MiB)
          Interrupt:16

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 PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35913 errors:0 dropped:7 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:4920 (4.8 KiB)  TX bytes:2322684 (2.2 MiB)

vif3.1    Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:10181 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13043 errors:0 dropped:4 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:11165923 (10.6 MiB)  TX bytes:1562808 (1.4 MiB)





[DomU]

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination



#  netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.222.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0 0.0.0.0 192.168.10.254 0.0.0.0 UG 0 0 0 eth1


#  cat /etc/resolv.conf
nameserver 192.168.10.254


#  ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:3e:24:79:d6
          inet addr:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe24:79d6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36006 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1824540 (1.7 MiB)  TX bytes:5396 (5.2 KiB)
          Interrupt:246

eth1      Link encap:Ethernet  HWaddr 00:16:3e:24:79:d7
inet addr:192.168.10.201 Bcast:192.168.10.255 Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe24:79d7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13098 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10217 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1383487 (1.3 MiB)  TX bytes:11388793 (10.8 MiB)
          Interrupt:245

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:104 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10634 (10.3 KiB)  TX bytes:10634 (10.3 KiB)



Thanks.


--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.