Sponsored Content
Full Discussion: Some Network Questions
Special Forums IP Networking Some Network Questions Post 302286387 by otheus on Wednesday 11th of February 2009 01:57:03 AM
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.
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
MRTG-FAQ(1)							       mrtg							       MRTG-FAQ(1)

NAME
mrtg-faq - How to get help if you have problems with MRTG SYNOPSIS
MRTG seems to raise a lot of questions. There are a number of resources apart from the documentation where you can find help for mrtg. FAQ
In the following sections you'll find some additonal Frequently Asked Questions, with Answers. Why is there no "@#$%" (my native language) version of MRTG? Nobody has contributed a @#$%.pmd file yet. Go into the mrtg-2.17.4/translate directory and create your own translation file. When you are happy with it send it to me for inclusion with the next mrtg release. I need a script to make mrtg work with my xyz device. Probably this has already been done. Check the stuff in the mrtg-2.17.4/contrib directory. There is a file called 00INDEX in that directory which tells what you can find in there. How does this SNMP thing work There are many resources on the net that explain SNMP. Take a look at this article from the Linux Journal by David Guerrero http://www.david-guerrero.com/papers/snmp/ And at this rather long document from CISCO. http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/snmp.htm The images created by MRTG look very strange. Remove the *-{week,day,month,year}.png files and start MRTG again. Using MRTG for the first time, you might have to do this twice. This will also help when you introduce new routers into the cfg file. What is my Community Name? Ask the person in charge of your Router or try 'public', as this is the default Community Name. My graphs show a flat line during an outage. Why ? Well, the short answer is that when an SNMP query goes out and a response doesn't come back, MRTG has to assume something to put in the graph, and by default it assumes that the last answer we got back is probably closer to the truth than zero. This assumption is not perfect (as you have noticed). It's a trade-off that happens to fail during a total outage. If this is an unacceptable trade-off, use the unknaszero option. You may want to know what you're trading off, so in the spirit of trade-offs, here's the long answer: The problem is that MRTG doesn't know *why* the data didn't come back, all it knows is that it didn't come back. It has to do something, and it assumes it's a stray lost packet rather than an outage. Why don't we always assume the circuit is down and use zero, which will (we think) be more nearly right? Well, it turns out that you may be taking advantage of MRTG's "assume last" behaviour without being aware of it. MRTG uses SNMP (Simple Network Management Protocol) to collect data, and SNMP uses UDP (User Datagram Protocol) to ship packets around. UDP is connectionless (not guaranteed) unlike TCP where packets are tracked and acknowledged and, if needed, retransmitted. UDP just throws packets at the network and hopes they arrive. Sometimes they don't. One likely cause of lost SNMP data is congestion; another is busy routers. Other possibilities include transient telecommunications problems, router buffer overflows (which may or may not be congestion-related), "dirty lines" (links with high error rates), and acts of God. These things happen all the time; we just don't notice because many interactive services are TCP-based and the lost packets get retransmitted automatically. In the above cases where some SNMP packets are lost but traffic is flowing, assuming zero is the wrong thing to do - you end up with a graph that looks like it's missing teeth whenever the link fills up. MRTG interpolates the lost data to produce a smoother graph which is more accurate in cases of intermittent packet loss. But with V2.8.4 and above, you can use the "unknaszero" option to produce whichever graph is best under the conditions typical for your network. AUTHOR
Tobias Oetiker <tobi@oetiker.ch> 2.17.4 2012-01-12 MRTG-FAQ(1)
All times are GMT -4. The time now is 10:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy