rhel5 virtualbox problem
I have installed virtual box on my rhel5.then I installed a rhel5 on it.
problem:why vbox rhel5 can't connect my rhel5 server...but can ping each other? such smb.yum repository.httpd....... |
Without a lot more information about your setup and what you've tried, we really have no idea. Wild guess: sshd isn't running.
|
thanks!
host ip address:192.168.1.10.gateway:192.168.1.1 guest ip address:192.168.1.11.gateway:192.168.1.1 connection: Intel PRO/1000 Tserver(82543GC). Host Interface. Host Interfaces:eth0 such as: on guest: ssh 192.168.1.10(host),after along time:no response elinks http://192.168.1.10:the guest hint: Error unable to retrieve http://192.168.1.10/: Receive timeout OK |
is sshd running on the host?
|
yes.
samba.yum.ssh.and httpd server on the host.and LAN's other host can access all hosts' services. |
And you can ping both ways?
Ping the output of ifconfig -a on both |
Host:192.168.1.10
netstat -nr 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 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 ifconfig -a eth0 Link encap:Ethernet HWaddr 00:18:37:06:00:6D inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::218:37ff:fe06:6d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9824 errors:0 dropped:0 overruns:0 frame:0 TX packets:9355 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12114248 (11.5 MiB) TX bytes:912811 (891.4 KiB) Interrupt:233 Base address:0xe000 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:2367 errors:0 dropped:0 overruns:0 frame:0 TX packets:2367 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2273775 (2.1 MiB) TX bytes:2273775 (2.1 MiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 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) Guest:192.168.1.11 netstat -nr 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 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 ifconfig -a eth0 Link encap:Ethernet HWaddr 08:00:27:E5:34:DB inet addr:192.168.1.11 Bcast:192.168.1.255 mask:255.255.255.0 inet6 addr: fe80::a00:27ff:fee5:34d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:380 errors:0 dropped:0 overruns:0 frame:0 TX packets:168 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:44459 (43.4 kiB) TX bytes:22488 (21.9 KiB) Interrupt:11 Base address:0xc020 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:5898 errors:0 dropped:0 overruns:0 frame:0 TX packets:5898 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8343888 (7.9 MiB) TX bytes:8343888 (7.9 MiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 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) ###############ping result################ [root@station10 ~]# ping 192.168.1.11 PING 192.168.1.11 (192.168.1.11) 56(84) bytes of data. 64 bytes from 192.168.1.11: icmp_seq=1 ttl=64 time=2.06 ms 64 bytes from 192.168.1.11: icmp_seq=2 ttl=64 time=0.245 ms 64 bytes from 192.168.1.11: icmp_seq=3 ttl=64 time=0.559 ms 64 bytes from 192.168.1.11: icmp_seq=4 ttl=64 time=0.825 ms 64 bytes from 192.168.1.11: icmp_seq=5 ttl=64 time=0.648 ms 64 bytes from 192.168.1.11: icmp_seq=6 ttl=64 time=0.296 ms 64 bytes from 192.168.1.11: icmp_seq=7 ttl=64 time=0.825 ms 64 bytes from 192.168.1.11: icmp_seq=8 ttl=64 time=0.552 ms ####################ssh(192.168.1.11)==>host(192.168.1.10)#### [root@station10 ~]#tshark host 192.168.1.11 -R "tcp.srcport eq 22 or tcp.dstport eq 22" Capturing on eth0 0.000000 192.168.1.11 -> 192.168.1.10 TCP trendchip-dcp > ssh [SYN] Seq=0 Len=0 MSS=1460 TSV=1305738 TSER=0 WS=3 0.026025 192.168.1.10 -> 192.168.1.11 TCP ssh > trendchip-dcp [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=2618761 TSER=1305738 WS=7 0.000416 192.168.1.11 -> 192.168.1.10 TCP trendchip-dcp > ssh [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=1305739 TSER=2618761 0.019003 192.168.1.10 -> 192.168.1.11 SSH Server Protocol: SSH-2.0-OpenSSH_4.3 0.220361 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 0.622304 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 1.426187 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 3.033958 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 6.249509 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 12.680586 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 25.541730 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 51.266053 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 102.714667 192.168.1.10 -> 192.168.1.11 SSH [TCP Retransmission] Encrypted response packet len=20 ##############getst(192.168.1.11)==>host(192.168.1.10)## [root@station10 ~]# tshark host 192.168.1.11 -R "tcp.srcport eq 80 or tcp.dstport eq 80" Capturing on eth0 306.180129 192.168.1.11 -> 192.168.1.10 TCP jetcmeserver > http [SYN] Seq=0 Len=0 MSS=1460 TSV=1714409 TSER=0 WS=3 306.180280 192.168.1.10 -> 192.168.1.11 TCP http > jetcmeserver [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=3027718 TSER=1714409 WS=7 306.180810 192.168.1.11 -> 192.168.1.10 TCP jetcmeserver > http [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=1714410 TSER=3027718 306.184402 192.168.1.11 -> 192.168.1.10 HTTP GET / HTTP/1.1 306.184482 192.168.1.10 -> 192.168.1.11 TCP http > jetcmeserver [ACK] Seq=1 Ack=174 Win=6912 Len=0 TSV=3027722 TSER=1714412 306.227235 192.168.1.10 -> 192.168.1.11 HTTP HTTP/1.1 200 OK (text/html) 306.236215 192.168.1.10 -> 192.168.1.11 TCP http > jetcmeserver [FIN, ACK] Seq=274 Ack=174 Win=6912 Len=0 TSV=3027774 TSER=1714412 306.236592 192.168.1.11 -> 192.168.1.10 TCP [TCP Dup ACK 45#1] jetcmeserver > http [ACK] Seq=174 Ack=1 Win=5840 Len=0 TSV=1714466 TSER=3027722 SLE=274 SRE=275 306.431020 192.168.1.10 -> 192.168.1.11 HTTP [TCP Retransmission] HTTP/1.1 200 OK (text/html) 306.838965 192.168.1.10 -> 192.168.1.11 HTTP [TCP Retransmission] HTTP/1.1 200 OK (text/html) 307.654846 192.168.1.10 -> 192.168.1.11 HTTP [TCP Retransmission] HTTP/1.1 200 OK (text/html) 309.286611 192.168.1.10 -> 192.168.1.11 HTTP [TCP Retransmission] HTTP/1.1 200 OK (text/html) 312.550149 192.168.1.10 -> 192.168.1.11 HTTP [TCP Retransmission] HTTP/1.1 200 OK (text/html) |
All times are GMT -5. The time now is 10:30 AM. |