Networking Forums

Networking Forums > Computer Networking > Linux Networking > TCP packets

Reply
 
 
Ram
Guest
Posts: n/a

 
      05-31-2008, 06:15 PM
There will be virtual connection established between server and client
in TCP. Whether TCP packets from server to client and client to server
follow the same route?
 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      05-31-2008, 07:45 PM
Ram wrote:
> There will be virtual connection established between server and client
> in TCP. Whether TCP packets from server to client and client to server
> follow the same route?


Probably.

Robert
 
Reply With Quote
 
Lew Pitcher
Guest
Posts: n/a

 
      05-31-2008, 08:56 PM
In comp.os.linux.networking, Robert Harris wrote:

> Ram wrote:
>> There will be virtual connection established between server and client
>> in TCP. Whether TCP packets from server to client and client to server
>> follow the same route?

>
> Probably.


But not necessarily. That is the nature of routing with IP ("Internet
Protocol")

--
Lew Pitcher

Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------


 
Reply With Quote
 
Joe Pfeiffer
Guest
Posts: n/a

 
      06-04-2008, 06:40 AM
Ram <(E-Mail Removed)> writes:

> There will be virtual connection established between server and client
> in TCP. Whether TCP packets from server to client and client to server
> follow the same route?


You have no guarantee, but I'd be surprised if it didn't. What
application do you have where it would matter?
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      06-04-2008, 02:13 PM
On Jun 3, 11:40*pm, Joe Pfeiffer <pfeif...@cs.nmsu.edu> wrote:
> Ram <ramashe...@gmail.com> writes:
> > There will be virtual connection established between server and client
> > in TCP. Whether TCP packets from server to client and client to server
> > follow the same route?

>
> You have no guarantee, but I'd be surprised if it didn't. *What
> application do you have where it would matter?


In most typical Internet scenarios, they won't. Many large Internet
providers use a routing strategy that is very similar to nearest exit.
This means when they receive a packet that is destined for another
provider, they hand it to that provider at the closest such handover
point.

So consider a situation where two computers have different providers
and there's a long haul involved (like across an ocean). If both
carriers meet on both sides of the long haul, the carrier that is
receiving the packet will typically wind up carrying the packet on the
long haul.

How else do you think you'd get a fair split if you have Cogent on the
West coast and I have Sprint on the East?

Or consider this: You have FooNet and I have NetFoo. FooNet has 1Gbps
Cogent and 45Mbps to Sprint, they prefer Sprint strongly for outbound
traffic. NetFoo has 1Gbps to Sprint and 100Mbps to Cogent; they prefer
Cogent strongly for outbound traffic. You think our packets round-
trips are likely to be symmetric?

DS
 
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
netstat -s output: "packets pruned" and "packets collapsed" roybatty Linux Networking 0 07-20-2007 08:44 PM
Newbie wants to look at other people's packets (promiscuous mode fails to capture packets) George D. Wireless Internet 1 07-14-2007 07:09 AM
ip packets Benjamin Menküc Linux Networking 1 01-11-2005 06:50 PM
No packets sent David Richman Wireless Internet 7 06-30-2004 10:46 PM
First packets not being sent - ARP? Daniel Linux Networking 4 11-07-2003 05:49 AM



1 2 3 4 5 6 7 8 9 10 11