Thursday, February 3, 2011

TCP UDP small servers

This is used for diagnostics.
enabled by
# service tcp-small-servers
# service udp-small-servers



TCPIP NAGLE Algorithms

when a file is send over a network, its chopped as packets .
Now think we use TCPIP for transmission , as per tcp mechanism it requires ack for every packets send.
It's imp that sender wont flood receiver and receiver won't flood sender .
But as per above mechanism of tcp chances for flooding.

NAGLE algorithms is used for congestion control
--
when a sender sends packet , it will wait for ack to send following.It's bandwidth saving feature for keystroke based applications ( telnet )
Default disabled on Cisco routers
To enable it on router
# service nagle

Delayed ack algorithm is also used for congestion control
--
This is to control ack messages . When a packet receives , receiver should send ack.
But as per algorithms it waits 200ms or 2 ack to see if any more packets are coming , so tht it can send as single ack.