Networking Forums

Networking Forums > Computer Networking > Linux Networking > A <= ping => B => OK A <= TCP => B => FAILS

Reply
Thread Tools Display Modes

A <= ping => B => OK A <= TCP => B => FAILS

 
 
stefan.oedenkoven@gmx.de
Guest
Posts: n/a

 
      01-05-2006, 12:37 PM
Hi ng,

i've two linux systems (A and B).
I can successfully ping A from B and vice versa.

A simple TCP-Connection from A to B is failing.
I'm using the following TCP SimpleServer and SimpleClient Examples:
http://homepage.uibk.ac.at/~c703350/...simpleclient.c
http://homepage.uibk.ac.at/~c703350/...simpleserver.c

The TCP/IP stack should be ok, since a TCP connection with this program
is working from A<=>A and B<=>B and from A<=>C

Does anyone has a hint what could be the problem?

regards,
Stefan

 
Reply With Quote
 
 
 
 
Tom V
Guest
Posts: n/a

 
      01-05-2006, 04:59 PM
Different MTU settings perhaps ?


On Thu, 05 Jan 2006 05:37:12 -0800, stefan.oedenkoven wrote:

> Hi ng,
>
> i've two linux systems (A and B).
> I can successfully ping A from B and vice versa.
>
> A simple TCP-Connection from A to B is failing.
> I'm using the following TCP SimpleServer and SimpleClient Examples:
> http://homepage.uibk.ac.at/~c703350/...simpleclient.c
> http://homepage.uibk.ac.at/~c703350/...simpleserver.c
>
> The TCP/IP stack should be ok, since a TCP connection with this program
> is working from A<=>A and B<=>B and from A<=>C
>
> Does anyone has a hint what could be the problem?
>
> regards,
> Stefan


 
Reply With Quote
 
Joe Beanfish
Guest
Posts: n/a

 
      01-05-2006, 05:39 PM
On Thu, 05 Jan 2006 08:37:12 -0500, <(E-Mail Removed)> wrote:

> Hi ng,
>
> i've two linux systems (A and B).
> I can successfully ping A from B and vice versa.
>
> A simple TCP-Connection from A to B is failing.
> I'm using the following TCP SimpleServer and SimpleClient Examples:
> http://homepage.uibk.ac.at/~c703350/...simpleclient.c
> http://homepage.uibk.ac.at/~c703350/...simpleserver.c
>
> The TCP/IP stack should be ok, since a TCP connection with this program
> is working from A<=>A and B<=>B and from A<=>C
>
> Does anyone has a hint what could be the problem?


Firewall on B perhaps? Or on A for that matter.
 
Reply With Quote
 
stefan.oedenkoven@gmx.de
Guest
Posts: n/a

 
      01-06-2006, 08:53 AM
> Firewall on B perhaps? Or on A for that matter.

A and B are directly connected with a crosslink (A has two NICs). There
are no firewalls on this systems... some more ideas? or any hints how
to narrow it down?
regards,
Stefan

 
Reply With Quote
 
stefan.oedenkoven@gmx.de
Guest
Posts: n/a

 
      01-06-2006, 09:29 AM
What i forgot to mention:

PCs:
A: x86, SuSe 8.2, MTU 1500
B: PowerPC, trimmed-down linux, MTU 1500
C: x86, WinXP, MTU 1500

Net:
C <= (192.168.10.205 company net) => A <= (172.16.10.X crosslink) => B

 
Reply With Quote
 
Postmaster
Guest
Posts: n/a

 
      01-07-2006, 08:51 PM

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
>> Firewall on B perhaps? Or on A for that matter.

>
> A and B are directly connected with a crosslink (A has two NICs). There
> are no firewalls on this systems... some more ideas? or any hints how
> to narrow it down?
> regards,
> Stefan
>


Ethereal


 
Reply With Quote
 
Robert
Guest
Posts: n/a

 
      01-08-2006, 07:39 AM
On Fri, 06 Jan 2006 02:29:39 -0800, stefan.oedenkoven wrote:

> What i forgot to mention:
>
> PCs:
> A: x86, SuSe 8.2, MTU 1500
> B: PowerPC, trimmed-down linux, MTU 1500
> C: x86, WinXP, MTU 1500
>
> Net:
> C <= (192.168.10.205 company net) => A <= (172.16.10.X crosslink) => B


Netmasks set correctly?

Can B talk to C?


--

Regards
Robert

Smile... it increases your face value!


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      01-09-2006, 02:13 PM
(E-Mail Removed) wrote:
> What i forgot to mention:


> PCs:
> A: x86, SuSe 8.2, MTU 1500
> B: PowerPC, trimmed-down linux, MTU 1500
> C: x86, WinXP, MTU 1500


Perhaps "trimmed-down linux" is configured to deny all TCP access
in hosts.deny or hosts.allow, the configuration files for tcpd.

> Net:
> C <= (192.168.10.205 company net) => A <= (172.16.10.X crosslink) => B


--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
 
Reply With Quote
 
Joe Beanfish
Guest
Posts: n/a

 
      01-09-2006, 04:59 PM
On Fri, 06 Jan 2006 04:53:25 -0500, <(E-Mail Removed)> wrote:

>> Firewall on B perhaps? Or on A for that matter.

>
> A and B are directly connected with a crosslink (A has two NICs). There
> are no firewalls on this systems... some more ideas? or any hints how
> to narrow it down?


There needn't bee additional hardware for a firewall. Any Linux
system can be configured as a firewall. Check the iptables settings.
 
Reply With Quote
 
R
Guest
Posts: n/a

 
      01-11-2006, 03:20 PM
Since you are pinging between the two machines, we believe routing,
etc. to be ok. On the server machine I would do a netstat -an | more
-or- an lsof -i to make sure that the box is actually listening on the
right port, etc. to make a connection. If you don't see your
simpleserver listening to a particular port then there you go,
application never bound to port. if it is listening, then the next step
would be ethereal or tcpdump on both machines at the same time to see
if you are getting the inital SYN at the server and to see if the
server is sending the SYN/ACK. This should help you see were its
getting lost. You might try netcat (nc) as al alternative to the
simpleclient/simpleserver stuff.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When I ping another machine, it replies from my ip address and fails Newbie Wireless Networks 1 08-13-2008 05:31 AM
ssh fails without prior ping or host .. Daniel Schüle Linux Networking 1 05-02-2006 02:23 PM
Ping Works but Connection Fails Will Windows Networking 0 10-27-2005 03:38 AM
ping fails; traceroute is OK Alex Krowitz Linux Networking 8 01-14-2004 02:17 PM
dig fails but ping works piggy Linux Networking 5 12-08-2003 05:10 PM



1 2 3 4 5 6 7 8 9 10 11