Re: Need some help in Routing in Linux



On 27 Nov 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<1164683821.662681.313690@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, GS wrote:

Thanks for your diagram, it is absolutely correct.

OK - then this should be a pretty simple problem to solve.

I am keeping some tcpdump below (timing is not correct, since I don't have
exact time's output), this is an output.

This appears to be two completely different attempts. What changed between
the two, as they are different. Notice that while the port numbers are
consistent, the timestamp and sequence numbers differ considerably.

08:29:37.244027 IP 192.168.1.129.47628 > 192.168.2.1.ssh: S
2002171283:2002171283(0) win 5840 <mss 1460,sackOK,timestamp 124696467
0,nop,wscale 2>
08:29:40.242870 IP 192.168.1.129.47628 > 192.168.2.1.ssh: S
2002171283:2002171283(0) win 5840 <mss 1460,sackOK,timestamp 124699467
0,nop,wscale 2>

Connection attempt - no response

21:28:00.910480 192.168.1.129.47628 > 192.168.2.1.ssh: S
1924612881:1924612881(0) win 5840 <mss 1460,sackOK,timestamp 2522694
0,nop,wscale 2>
21:28:00.910539 192.168.2.1.ssh > 192.168.1.129.47628: S
4213987684:4213987684(0) ack 1924612882 win 5792 <mss
1460,sackOK,timestamp 225595 2522694,nop,wscale 0> (DF)

That's two parts of the three-way handshake, which is good

21:28:00.912214 192.168.1.129.47628 > 192.168.2.1.ssh: R
1924612882:1924612882(0) win 0

But the originating host says "Go away - I don't want to talk to you"
and then

21:28:03.908582 192.168.1.129.47628 > 192.168.2.1.ssh: S
1924612881:1924612881(0) win 5840 <mss 1460,sackOK,timestamp 2525694
0,nop,wscale 2>
21:28:03.908625 192.168.2.1.ssh > 192.168.1.129.47628: S
4216985784:4216985784(0) ack 1924612882 win 5792 <mss
1460,sackOK,timestamp 225894 2525694,nop,wscale 0> (DF)

Here is another two parts of a handshake. Do you have a firewall on
192.168.1.129 that is blocking 192.168.2.1?

Old guy
.



Relevant Pages

  • Re: communicate bw swing and JSP
    ... JavaServer Pages, to be exact. ... Probably there is no such Usenet newsgroup. ... The Java programming ... language is discussed in the comp.lang.java hierarchy, ...
    (comp.lang.javascript)
  • Re: Pat Metheny PM 120 or PM 100..looking to buy
    ... 30104, to be more exact! ... and click in "see profile". ... to any usenet newsgroup. ... you sent to this rmmgj. ...
    (rec.music.makers.guitar.jazz)