Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-02-2007, 02:16 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 6

Rep: Reputation: 0
Hi, Linux Network Gurus, Please help this novice

Hey all,

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
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=255 time=0.345 ms
64 bytes from icmp_seq=2 ttl=255 time=0.145 ms
64 bytes from icmp_seq=3 ttl=255 time=0.143 ms
64 bytes from icmp_seq=4 ttl=255 time=0.152 ms
64 bytes from icmp_seq=5 ttl=255 time=0.147 ms

--- 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
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 [] port 22.
debug1: connect to address port 22: Connection timed out
ssh: connect to host 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.


-- Chandan

Last edited by chandan_maddanna; 09-02-2007 at 08:46 PM.
Old 09-02-2007, 02:51 PM   #2
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34

how about simple ping? traceroute? tcpdump?
and did you really turn off the firewall?
service running?

Old 09-02-2007, 08:41 PM   #3
LQ Newbie
Registered: Sep 2007
Posts: 6

Original Poster
Rep: Reputation: 0
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.


-- Chandan

Originally Posted by rossonieri#1 View Post

how about simple ping? traceroute? tcpdump?
and did you really turn off the firewall?
service running?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
novice wich linux for me spliffy Linux - Newbie 20 05-14-2009 07:39 PM
Another Linux novice Reginod Member Intro 4 04-28-2007 04:48 PM
Help Me I am a novice in Linux please ramrays Linux - Software 1 05-22-2006 12:57 PM
Dial-in issues for all you system/network Gurus bnutting SUSE / openSUSE 0 03-01-2006 02:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:40 PM.

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