LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2009, 10:26 PM   #1
hshzh359
Member
 
Registered: Dec 2008
Posts: 37

Rep: Reputation: 15
Smile 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.......
 
Old 03-22-2009, 08:18 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Without a lot more information about your setup and what you've tried, we really have no idea. Wild guess: sshd isn't running.
 
Old 03-22-2009, 09:58 AM   #3
hshzh359
Member
 
Registered: Dec 2008
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 03-22-2009, 10:27 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
is sshd running on the host?
 
Old 03-22-2009, 07:12 PM   #5
hshzh359
Member
 
Registered: Dec 2008
Posts: 37

Original Poster
Rep: Reputation: 15
yes.
samba.yum.ssh.and httpd server on the host.and LAN's other host can access all hosts' services.
 
Old 03-22-2009, 09:56 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
And you can ping both ways?

Ping the output of ifconfig -a on both
 
Old 03-23-2009, 02:29 AM   #7
hshzh359
Member
 
Registered: Dec 2008
Posts: 37

Original Poster
Rep: Reputation: 15
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:34B
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make one rhel5 server control passwords for several rhel5 servers. folkrm Linux - Newbie 3 03-11-2009 02:17 PM
Determining patch level of Redhat RHEL5 vs RHEL5.1 or RHEL4.5-4.6 dfezz1 Linux - Newbie 2 01-23-2009 09:17 AM
VirtualBox problem jonaskellens Linux - Software 6 12-24-2008 09:02 PM
RHEL5 - I have RHEL5 DVD , how i install ofice packages like SPREADSHEET ETC, bharath@linux Linux - Newbie 3 10-12-2008 02:24 PM
virtualbox problem on openSUSE10.2 fireedo SUSE / openSUSE 1 02-11-2007 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration