I'm running VMware Workstation 9.0.2 on Windows 7 Professional with a CentOS 6.4 guest using the bridged networking. The LAN that the host is running on is 192.168.123.*, the host is static IP 192.168.123.2 and the guest has static IP 192.168.123.70.
I can ping and ssh from the host to the CentOS guest, but telnet and http both fail to connect. I can telnet and http from the guest to the guest using the 192.168.123.70 address, so the ports on the guest are definitely open and being listened upon.
The firewall has been turned off on the guest and there are no messages in the log when telnet fails. (The Windows firewall doesn't restrict outgoing connections.)
I can't think of anything that could allow ssh but not allow telnet. (I can connect from the host to the guest when I use telnet 192.168.123.70 22
, but telnet 192.168.123.70 23
doesn't connect).
Other data:
Here's the output from /sbin/ifconfig -a
from the guest:
eth0 Link encap:Ethernet HWaddr 00:0C:29:1F:A5:E3
inet addr:192.168.123.70 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:589132 errors:0 dropped:0 overruns:0 frame:0
TX packets:292849 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:864633856 (824.5 MiB) TX bytes:19627138 (18.7 MiB)
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:275 errors:0 dropped:0 overruns:0 frame:0
TX packets:275 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:121617 (118.7 KiB) TX bytes:121617 (118.7 KiB)
Here's the output from netstat -l
from the guest:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:8008 *:* LISTEN
tcp 0 0 *:8010 *:* LISTEN
tcp 0 0 *:8011 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:intu-ec-svcdisc *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 election-t1,:ipp *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp 0 0 *:8030 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
udp 0 0 *:ipp *:*
udp 0 0 192.168.123.70:ntp *:*
udp 0 0 election-t1,:ntp *:*
udp 0 0 *:ntp *:*
udp 0 0 *:ntp *:*
Any suggestions as to possible cause of what further information to look for would be greatly appreciated. I don't have a mental model that could explain this behavior.
Addendum: Restarted xinetd service on guest and stopped Windows Firewall on host - no effect at all.
Addendum 2: Output of sudo iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
sudo iptables -L -n
when executed on the guest. – user Jul 15 '13 at 18:35state NEW tcp dpt:22
means, but it does point to special behavior by SSH. Now investigating. – Tom West Jul 15 '13 at 19:00