Skip to main content

TCP/IP question!

More
20 years 1 week ago #6296 by eli2983
TCP/IP question! was created by eli2983
hi.i always wanted 2 know....
lets imagine that i have 2 networks: 1.1.1.0 & 2.2.2.0
and a router in the middle that routs the traffic.

the question:

if i want a computer from network 1.1.1.0 to communicate with computer in network 2.2.2.0 , in which layer of TCP/IP the computer(from net 1.1.1.0) understands to send the packets to his gateway?

thanks :)
[/b]
More
20 years 1 week ago #6297 by sahirh
Replied by sahirh on topic Re: TCP/IP question!
Routing happens at layer 3, thats the network layer of the OSI model.
In other words it will happen at the IP layer... TCP will only care about making sure the packets reach the destination.

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
19 years 10 months ago #7227 by mew
Replied by mew on topic Re: TCP/IP question!
Sahirh is absolutly correct.

If you were intending to ask in reference to the TCP/IP layers the following is also correct.

The Internet layer

The TCP/IP model has 4 layers where the OSI model has 7. Normally the names of the TCP/IP layers are used so as to not confuse them with the OSI model.

TCP/IP Application layer corresponds to the OSI Application, Presentation, and Session layers.
TCP/IP Transport layer corresponds to the OSI Transport layer.
TCP/IP Internet layer corresponds to the OSI Network layer.
TCP/IP Network Access layer corresponds to the OSI Data Link, and Physical layers.
Time to create page: 0.119 seconds