Some Network Questions


 
Thread Tools Search this Thread
Special Forums IP Networking Some Network Questions
# 1  
Old 02-08-2009
Some Network Questions

Hi!! I'm studing TCP/IP because in two weeks i'm having an important test...
I've been reading Tanenbaum's Computer Networks and tcpipguide.com but i still have some questions that i could't find an answer...
The most of the cuestions are related to ARQ (Automatic Repeat-reQuest)...
- I don't understand if those protocols (Stop-and-wait ARQ, Go-Back-N ARQ and Selective Repeat ARQ), are just from the data link layer or can be used in other layers, for example, tanenbaum explains them in this layer...
- These protocols can only be used by conection-oriented protocols... am i right??
- What kind of ARQ uses TCP, because tanenbaum says it uses Selective repeat, but i think that TCP doesn't use NACKs, so it can't be Selective Repeat... in other places i found that it uses Go-Back-N... but i think it can't use go back N because the client size window is bigger than 1... (go back N uses in client side a windows of 1 mss)... i'm very confused... can someone explain it to me?
- Ethernet and Token Ring uses ARQ??? I think they don't use because they are not conection oriented protocols... They just use medium acces protocols...
- An application layer protocol like http, does it use ARQ??? Is it necessary to use ARQ?? because for example HTTP uses TCP and TCP guarantees that the information on one side is the same that on the other one... so i don't think it's necessary to implement an ARQ over a protocol that uses TCP... is that right???

I hope someone can answer me...
p.d: sorry for my english, i'm not a native english speaker... was it too bad??

Thanks!!

Last edited by Sandia_man; 02-09-2009 at 10:43 PM..
# 2  
Old 02-11-2009
I asked a Professor at the local university for an answer to your query. His main topic is networking with an emphasis on performance, so I figured he'd be the right person to ask. He also references his book. The rest of the post is his text via email. Here you go....

>- I don't understand if those protocols (Stop-and-wait ARQ, Go-Back-N
>ARQ and Selective Repeat ARQ), are just from the data link layer or can
>be used in other layers, for example, tanenbaum explains them in this
>layer...

These are just protocol functions, they can be used at other
layers, too; typically they are used at the link and transport
layers.


>- These protocols can only be used by conection-oriented protocols...
>am i right??

It's more precise to say that they are typically used
by connection-oriented protocols. I think you're generally
right, but I'd just hesitate to say "can only" because
someone might be able to construct a weird counter example.


>- What kind of ARQ uses TCP, because tanenbaum says it uses Selective
>repeat, but i think that TCP doesn't use NACKs, so it can't be
>Selective Repeat... in other places i found that it uses Go-Back-N...
>but i think it can't use go back N because the client size window is
>bigger than 1... (go back N uses in client side a windows of 1 mss)...
>i'm very confused... can someone explain it to me?

TCP uses a strange mixture. TCP Tahoe, the first version of
TCP, which only relied on Timeouts as an indication of loss,
used only ACKs and was a strict Go-Back-N protocol. A bit
later, "fast retransmit / fast recovery" was added. This is
a feature where TCP decides that, upon receiving 4 ACKs requesting
the same packet (one "normal" ACK plus 3 duplicates, so people
talk about "3 DupACKS"), a missing packet should be selectively
retransmitted. So, with this feature, it becomes an "essentially
Go-Back-N but occasionally Selective-Repeat" protocol, where
the NACKs used for SR are not explicit.

Hey, did I mention that this is all explained in my book? :-)
Amazon.com: Network Congestion Control: Managing Internet Traffic (Wiley Series on Communications Networking & Distributed Systems): Michael Welzl: Books


>- Ethernet and Token Ring uses ARQ??? I think they don't use because
>they are not conection oriented protocols... They just use medium acces
>protocols...

In LANs, a link layer typically consists of two sub-layers:
Logical Link Control (LLC), which is where you would find ARQ,
and Medium Access Control (MAC), which is what you say here.
Both Ethernet and Token Ring are Link Layer standards and
as such encompass both. Ethernet has a simple ARQ with only
1 frame being retransmitted. About Token Ring, I honestly don't know.


>- An application layer protocol like http, does it use ARQ??? Is it
>necessary to use ARQ?? because for example HTTP uses TCP and TCP
>guarantees that the information on one side is the same that on the
>other one... so i don't think it's necessary to implement an ARQ over a
>protocol that uses TCP... is that right???

You're completely right, and that's why app layer protocols
normally don't do that kind of thing. You could put it in
the app layer if you want something else than what TCP does,
by using UDP.

Good luck for your test!

Last edited by otheus; 02-11-2009 at 06:53 AM.. Reason: corrected "rest of post" line.
# 3  
Old 02-11-2009
hi!!
I'm very grateful for your answer!!!. It was so much help...
In my country our professor never gave us his mail, that would be so good... I think next time i'm going to ask for it.
I'm going to try to find that book at my local library or maybe at the bookshop, but i think it's going to be very expensive for us...

Thanks again!!!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Network becomes slow and return fast only after restart network

Hi, I have 2 machines in production environment: 1. redhat machine for application 2. DB machine (oracle) The application doing a lot of small read&writes from and to the DB machine. The problem is that after some few hours the network from the application to the DB becomes very slow and... (4 Replies)
Discussion started by: moshesa
4 Replies

2. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

3. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

4. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

5. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

6. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

7. Programming

Help in developing a Network Appliation to monitor pc in a network

I am developing a Network Appliation to monitor computers in a network. Specs are App monitors the current web page viewed in each system App also can shutdown the computer in the network App can show all process run by each computer in the network I am now confused how to start my... (2 Replies)
Discussion started by: valaparambil88
2 Replies

8. IP Networking

Questions about network layout

Hello all, thinking and reading of networks always make me think, and I have some questions, let me draw a sketch of the network I have, and then I'll put the questions: --->--->--->-->Hosts This is the big layout, now, the Linux Bridge has 3 NICS, two for making the bridge between the... (0 Replies)
Discussion started by: Zarnick
0 Replies

9. UNIX for Dummies Questions & Answers

network interface questions

I can't remember or figure out how to do this. What is the command(s) in Solaris 8 sparc to show the values operating a NIC, specifically the negotiated transfer rate (10/100) and mode (full/half duplex)? Also, how can I force 100 Mb full (the network is just a crossover cable, and the other box is... (3 Replies)
Discussion started by: 98_1LE
3 Replies
Login or Register to Ask a Question