Hi, Linux Network Gurus, Please help this novice
I have a Linux machine at gateway at home, it acts as a gateway to by home network.
It has eth0 and eth1, eth1 is connected to adsl router ( and i have ppp0 ) and eth0 is connected to a d-link 8 port 10/100 Unmanaged switch.
I do port forwarding through ip-tables and use this setup, to access internet form my subnets machines. all the machines in this subnets ( 3 of them were Linux )
but, last week i unplugged everything and did the following :
ADSL ROUTER ----> eth1(linux-gateway)
eth0(linuxx gateway) ---> dlink unmanaged switch
eth0(solaris 10 ) ---> unmanaged switch.
able to ping form linux-gateway-->solaris10 and vice versa
trace route gets the route with very first hop,
But all other services like ssh, telnet and ftp etc, just hangs at prompt and throws connection timed out.
Now the problem is that i can Ping solaris 10 form linux-gateway, and vice versa.
[chandan@chandan-gateway ~]$ ping 192.168.10.10
PING 192.168.10.10 (192.168.10.10) 56(84) bytes of data.
64 bytes from 192.168.10.10: icmp_seq=1 ttl=255 time=0.345 ms
64 bytes from 192.168.10.10: icmp_seq=2 ttl=255 time=0.145 ms
64 bytes from 192.168.10.10: icmp_seq=3 ttl=255 time=0.143 ms
64 bytes from 192.168.10.10: icmp_seq=4 ttl=255 time=0.152 ms
64 bytes from 192.168.10.10: icmp_seq=5 ttl=255 time=0.147 ms
--- 192.168.10.10 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.143/0.186/0.345/0.080 ms
But when i try to run any other network service like ssh, telnet, it ends up in a connection timeout.
So thinking it may be because of firewall or something, i even disabled firewall on both the machines.
still no go, and still i end up with the same connection timeout.
a sample with ssh follows, note that i get the same error for telnet or any other service like ftp etc.
[chandan@chandan-gateway ~]$ ssh -vvv 192.168.10.10
OpenSSH_4.5p1, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.10.10 [192.168.10.10] port 22.
debug1: connect to address 192.168.10.10 port 22: Connection timed out
ssh: connect to host 192.168.10.10 port 22: Connection timed out
Can anyone guide me whats wrong and how do i correct this, This is actually hurting me lot, I used to do lot of testing activity, on my home network and used to connect form office very often, but now i am stuck.
Please help me guys, Await for you guidance.
how about simple ping? traceroute? tcpdump?
and did you really turn off the firewall?
Hi, Thanks for reply.
Yep it pings, and ping from both sides work well.
Trace route works well, and gets the route in a single hop as expected.
but apart from these all other services are timing out.
|All times are GMT -5. The time now is 02:51 AM.|