<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Your guide to the basics of computer networking &#187; Protocols</title>
	<atom:link href="http://www.networkguruz.com/category/protocols/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.networkguruz.com</link>
	<description></description>
	<lastBuildDate>Sat, 21 Feb 2009 10:39:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What are the differences between 802.11b and 802.11g?</title>
		<link>http://www.networkguruz.com/protocols/what-are-the-differences-between-80211b-and-80211g/</link>
		<comments>http://www.networkguruz.com/protocols/what-are-the-differences-between-80211b-and-80211g/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 03:13:45 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>
		<category><![CDATA[802.11]]></category>
		<category><![CDATA[IEEE Standards]]></category>
		<category><![CDATA[Wi-Fi]]></category>
		<category><![CDATA[WLAN]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=63</guid>
		<description><![CDATA[Before we take look at the differences between the two, let us first know what is 802.11. IEEE created their first Wireless LAN (WLAN) standard in the year 1997 and called it 802.11. As time passed by, technology advanced and the 802.11 standard was further expanded and as a result 802.11a, 802.11b, 802.11g and 802.11n [...]]]></description>
			<content:encoded><![CDATA[<p>Before we take look at the differences between the two, let us first know what is 802.11. IEEE created their first Wireless LAN (WLAN) standard in the year 1997 and called it 802.11. As time passed by, technology advanced and the 802.11 standard was further expanded and as a result 802.11a, 802.11b, 802.11g and 802.11n were introduced to the world of computer networking.</p>
<h2>802.11b Vs 802.11g</h2>
<p>Both the WLAN standards use the unregulated radio frequency band of 2.4GHz which means they can interfere with other appliances using the same frequency.</p>
<p>802.11b supports a maximum bandwidth of up to 11Mbps whereas the 802.11g supports a bandwidth of up to 54Mbps. 802.11g is the best of the two for office use since 802.11b is slower than 802.11g cards.</p>
<p>802.11g costs more than 802.11b network adapters or the wireless cards.</p>
<p>So, if you want to buy a wireless card for your notebook or your desktop, if your wireless access point supports 802.11g, then you should choose a 802.11g wireless card over a 802.11b card. There are many companies that manufacture wireless cards such as Realtek, Broadcom, Intel, Linksys and D-Link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/what-are-the-differences-between-80211b-and-80211g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EIGRP &#8211; Enhanced Interior Gateway Routing Protocol</title>
		<link>http://www.networkguruz.com/protocols/eigrp-enhanced-interior-gateway-routing-protocol/</link>
		<comments>http://www.networkguruz.com/protocols/eigrp-enhanced-interior-gateway-routing-protocol/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 17:13:52 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=30</guid>
		<description><![CDATA[EIGRP is a Cisco proprietary routing protocol based on their original IGRP. EIGRP is a distance vector routing protocol, with optimizations to minimize both the routing instability incurred after topology changes, as well as the use of bandwidth and processing power in the router.
Some of the routing optimizations are based on the Diffusing Update Algorithm [...]]]></description>
			<content:encoded><![CDATA[<p><strong>EIGRP</strong> is a Cisco proprietary routing protocol based on their original <a title="IGRP" href="http://www.networkguruz.com/protocols/igrp-interior-gateway-routing-protocol/">IGRP</a>. <strong>EIGRP is a distance vector routing protocol</strong>, with optimizations to minimize both the routing instability incurred after topology changes, as well as the use of bandwidth and processing power in the router.</p>
<p>Some of the routing optimizations are based on the Diffusing Update Algorithm (DUAL) work from SRI, which guarantees loop-free operation. In particular, DUAL avoids the &#8220;count to infinity&#8221; behaviour of RIP when a destination becomes completely unreachable. <strong>The maximum hop count of EIGRP-routed packets is 224</strong>.</p>
<h2>Basic Operation</h2>
<p>The data EIGRP collects is stored in three tables:</p>
<ol>
<li><strong>Neighbor Table</strong>: Stores data about the neighbouring routers, i.e. those directly accessible through directly connected interfaces.</li>
<li><strong>Topology Table</strong>: Confusingly named, this table does not store an overview of the complete network topology; rather, it effectively contains the aggregation of the routing tables gathered from all the neighbours. This table actually contains only those routes which are considered not to potentially be part of routing loops (part of the DUAL algorithm); in EIGRP terminology, they are considered &#8220;Feasible Successors&#8221;.</li>
<li><strong>Routing table</strong>: Stores the actual routes to all destinations; routes may be marked either as &#8220;Passive&#8221;, which is the normal state when the routing has stabilized, or &#8220;Active&#8221; when the topology has changed, and the router is in the process of updating its route to that destination.</li>
</ol>
<h2>Multiple metrics</h2>
<p><strong>EIGRP associates five different metrics with each route</strong>:</p>
<ol>
<li>Delay</li>
<li>Bandwidth</li>
<li>Reliability</li>
<li>MTU</li>
<li>Load</li>
</ol>
<p>For the purposes of comparing routes, these are combined together in a weighted formula to produce a single metric:</p>
<dl>
<dd><strong>[(K1*Bandwidth) + ((K2*Bandwidth)/(256-Load)) + (K3*Delay)] * [(K5/(Reliability + K4))] </strong></dd>
</dl>
<p>where the various constants (K1 through K5) can be set by the user to produce varying behaviours. If K5 is set to zero, the K4/K5 term is not used (i.e. taken as 1). The default is for K1 and K3 to be set to 1, and the rest to zero, effectively reducing the above formula to:</p>
<dl>
<dd><strong>Bandwidth + Delay </strong></dd>
</dl>
<p>Obviously, these constants must be set to the same value on all routers in an EIGRP system, or permanent routing loops will probably result.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/eigrp-enhanced-interior-gateway-routing-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IGRP &#8211; Interior Gateway Routing Protocol</title>
		<link>http://www.networkguruz.com/protocols/igrp-interior-gateway-routing-protocol/</link>
		<comments>http://www.networkguruz.com/protocols/igrp-interior-gateway-routing-protocol/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 17:11:46 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=29</guid>
		<description><![CDATA[Interior Gateway Routing Protocol (IGRP) is a proprietary distance-vector routing protocol invented by Cisco, used by routers to exchange routing data within an autonomous system.
IGRP was created in part to overcome the limitations of RIP (maximum hop count, and a single routing metric) when used within large networks. IGRP supports multiple metrics for each route, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Interior Gateway Routing Protocol</strong> (IGRP) is a proprietary distance-vector routing protocol invented by <a href="http://www.cisco.com/" target="_blank">Cisco</a>, used by routers to exchange routing data within an autonomous system.</p>
<p>IGRP was created in part to overcome the limitations of RIP (maximum hop count, and a single routing metric) when used within large networks. IGRP supports multiple metrics for each route, including bandwidth, load, delay, and relability; to compare two routes these metrics are combined together into a single metric, using a formula which can be adjusted through the use of pre-set constants. <strong>The maximum hop count of IGRP-routed packets is 255</strong>.</p>
<p>Its successor is EIGRP, an advanced distance-vector routing protocol, that uses many features of link-state protocols, and adds Diffusing Update Algorithm (DUAL) ideas to the basic distance-vector mechanism of IGRP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/igrp-interior-gateway-routing-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BGP &#8211; Border Gateway Protocol</title>
		<link>http://www.networkguruz.com/protocols/bgp-border-gateway-protocol/</link>
		<comments>http://www.networkguruz.com/protocols/bgp-border-gateway-protocol/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 17:09:45 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=28</guid>
		<description><![CDATA[It is one of the core routing protocols in the Internet and works by maintaining a table of IP networks or &#8216;prefixes&#8217; which designate network reachability between autonomous systems (AS). It is described as a path vector protocol. BGP does not use technical metrics, but makes routing decisions based on network policies or rules. The [...]]]></description>
			<content:encoded><![CDATA[<p>It is one of the core routing protocols in the Internet and works by maintaining a table of IP networks or &#8216;prefixes&#8217; which designate network reachability between autonomous systems (AS). It is described as a path vector protocol. BGP does not use technical metrics, but makes routing decisions based on network policies or rules. The current version of BGP, BGP version 4, is specified in request for comment <a class="external" title="http://www.ietf.org/rfc/rfc1771.txt" href="http://www.ietf.org/rfc/rfc1771.txt" target="_blank">RFC 1771</a>.</p>
<p>BGP supports classless interdomain routing and uses route aggregation to decrease the size of routing tables. Since 1994, version four of the protocol has been in use on the Internet; all previous versions are considered obsolete. Very large private IP networks can also make use of BGP; an example would be the joining of a number of large <a title="Open Shortest Path First" href="http://www.networkguruz.com/protocols/open-shortest-path-first-ospf/" target="_self">OSPF</a> networks where OSPF by itself would not scale to size. Another reason to use BGP would be multihoming a network for better redundancy. All Internet service providers must use BGP to establish routing between one another, it is one of the most important protocols of the Internet.</p>
<h2>BGP Operation</h2>
<p>BGP neighbors, or peers, are established by manual configuration between routers to create a <a title="Transmission Control Protocol" href="http://www.networkguruz.com/protocols/transmission-control-protocol-tcp/" target="_self">TCP</a> session on port 179, BGP speaker will periodically, every 60 seconds by default, send 19-byte keepalive messages to maintain the connection. Among routing protocols, BGP is unique in using TCP as its transport protocol.</p>
<p>When BGP is running inside an AS, it is referred to as Internal BGP (IBGP <em>Interior Border Gateway Protocol</em>). When BGP runs between autonomous systems, it is called External BGP (EBGP <em>Exterior Border Gateway Protocol</em>). <strong>If the role of a BGP router is to route IBGP traffic, it is called a Transit Router</strong>. <strong>Routers that sit on the boundary of an AS and that use EBGP to exchange information with the ISP are called Border or Edge Routers.</strong></p>
<p>All routers within a single AS and participating in BGP routing must be configured in a full mesh: each router must be configured as peer to every other router. This causes obvious scaling problems, since the number of required connections grows quadratically with the number of routers involved. To get around this, two solutions are built into BGP: route reflectors (<a class="external" title="http://www.ietf.org/rfc/rfc2796.txt" href="http://www.ietf.org/rfc/rfc2796.txt" target="_blank">RFC 2796</a>) and confederations (<a class="external" title="http://www.ietf.org/rfc/rfc3065.txt" href="http://www.ietf.org/rfc/rfc3065.txt" target="_blank">RFC 3065</a>).</p>
<p>Route reflectors reduce the number of connections required in an AS. A single router (or two for redundancy) can be made a route reflector: other routers in the AS need only be configured as peer to them. Confederations are used in very large networks where a large AS can be configured to encompass smaller more manageable internal autonomous systems. Confederations can be used in conjunction with route reflectors.</p>
<h3>Router Flapping</h3>
<p>A feature known as &#8220;dampening&#8221; is built into BGP to mitigate the effects of route flapping. Flapping of routes can be caused by WAN links or physical interfaces mending and breaking or by misconfigured or mismanaged routers. Without dampening, routes can be injected and withdrawn rapidly from routing tables, possibly causing a heavy processing load on routers thus affecting overall routing stability.</p>
<p>With dampening, a route&#8217;s flapping is exponentially decayed. At first instance when a route becomes unavailable but quickly reappears for whatever reason, then the dampening does not take effect, so as to maintain the normal fail-over times of BGP. At the second occurrence, BGP shuns that prefix for a certain length of time; subsequent occurrences are timed out exponentially. After the abnormalities have ceased and a suitable length of time has passed for the offending route, prefixes can be reinstated and its slate wiped clean. Dampening can also mitigate malicious denial of service attacks; dampening timings are highly customisable.</p>
<p>As backbone links and router processors have become faster, some network architects have suggested that flap dampening may not be as important as it used to be, since changes to the routing table can be absorbed much faster by routers. Some have even suggested that dampening may make things worse, not better, in such an environment. This topic is controversial, and the subject of much research.</p>
<h3>Routing table growth</h3>
<p>One of the largest problems faced by BGP, and indeed the Internet infrastructure as a whole, comes from the growth of the Internet routing table. If the global routing table grows to the point where some older, less capable, routers cannot cope with the memory requirements or the CPU load of maintaining the table, these routers will cease to be effective gateways between the parts of the Internet they connect. In addition, and perhaps even more importantly, larger routing tables take longer to stabilize (see above) after a major connectivity change, leaving network service unreliable, or even unavailable, in the interim.</p>
<p>Until 2001, the global routing table was growing exponentially, threatening an eventual widespread breakdown of connectivity. In an attempt to prevent this from happening, there is now a cooperative effort by ISPs to keep the global routing table as small as possible, by using CIDR and route aggregation. This has slowed the growth of the routing table to a linear process, greatly extending the time available before older routers need to be replaced.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/bgp-border-gateway-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Shortest Path First (OSPF)</title>
		<link>http://www.networkguruz.com/protocols/open-shortest-path-first-ospf/</link>
		<comments>http://www.networkguruz.com/protocols/open-shortest-path-first-ospf/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 17:04:34 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=27</guid>
		<description><![CDATA[OSPF (Open Shortest Path First) is a link state Interior Gateway Routing protocol (IGRP). It uses cost as its routing metric.
Some of the features of OSPF are:-

Support for MD5 based authentication
Support for VLSM &#8211; Variable Length Subnet Mask (classless routing)
Tagging of routes

OSPF based network can contain multiple smaller networks. OSPF uses both unicast and multicast [...]]]></description>
			<content:encoded><![CDATA[<p><strong>OSPF</strong> (<strong>Open Shortest Path First</strong>) is a <strong>link state Interior Gateway Routing protocol (IGRP)</strong>. It uses cost as its routing metric.</p>
<p>Some of the features of OSPF are:-</p>
<ul>
<li>Support for MD5 based authentication</li>
<li>Support for VLSM &#8211; Variable Length Subnet Mask (classless routing)</li>
<li>Tagging of routes</li>
</ul>
<p>OSPF based network can contain multiple smaller networks. OSPF uses both <a title="Unicast" href="http://www.networkguruz.com/networking-basics/what-is-unicast-broadcast-and-multicast/" target="_self">unicast</a> and <a title="Multicast" href="http://www.networkguruz.com/networking-basics/what-is-unicast-broadcast-and-multicast/" target="_self">multicast</a> for link state updates. <strong>Multicast address of 224.0.0.5 and 224.0.0.6 are used to send updates to other routers</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/open-shortest-path-first-ospf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Routing Information Protocol (RIP)</title>
		<link>http://www.networkguruz.com/protocols/routing-information-protocol-rip/</link>
		<comments>http://www.networkguruz.com/protocols/routing-information-protocol-rip/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 16:59:59 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=26</guid>
		<description><![CDATA[RIP is one of the most commonly used routing protocol. It is a type of Interior Gateway Protocol used to dynamically adapting to changes on the network and communicating information about the other routers which can be reached by each router.
RIP is a distance-vector routing protocol employing the hop count as a routing metric. The [...]]]></description>
			<content:encoded><![CDATA[<p>RIP is one of the most commonly used routing protocol. It is a type of Interior Gateway Protocol used to dynamically adapting to changes on the network and communicating information about the other routers which can be reached by each router.</p>
<p>RIP is a distance-vector routing protocol employing the hop count as a routing metric. The <strong>maximum number of hops allowed with RIP is 15</strong>. The <strong>default update interval</strong> of RIP configured router is <strong>30 seconds</strong> which results in large amount of network traffic. RIP runs above the network layer and <strong>uses UDP port</strong> 520 to transmit its updates. To avoid routing loops a technique called Split Horizon with Poison Reverse is used.</p>
<p><strong>There are two version of RIP, RIPv1 and RIPv2.</strong></p>
<p><strong>RIPv1</strong> uses classful routing and does not support VLSM (Variable Length Subnet Mask). This means that the internal subnets within the same network must be of same size and lack of authentication does not make it the first choice for networks.</p>
<p><strong>RIPv2</strong> was developed to overcome the limitations imposed by RIPv1 and as a result of new development, the RIPv2 supported classless Inter-Domain routing. But the limitation of 15 hop count still remained.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/routing-information-protocol-rip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Routing Protocols</title>
		<link>http://www.networkguruz.com/protocols/routing-protocols/</link>
		<comments>http://www.networkguruz.com/protocols/routing-protocols/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 16:56:50 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=25</guid>
		<description><![CDATA[A routing protocol is used on a router and allows different computer networks to communicate.
Some of the most popular and commonly used routing protocols are:-

Open Shortest Path First (OSPF)
Routing Information Protocol (RIP)
Interior Gateway Routing Protocol (IGRP)
Enhanced Interior Gateway Routing Protocol (EIGRP)
Border Gateway Protocol (BGP)

]]></description>
			<content:encoded><![CDATA[<p>A <strong>routing protocol is used on a router</strong> and <strong>allows different computer networks to communicate</strong>.</p>
<p>Some of the most popular and commonly used routing protocols are:-</p>
<ul>
<li>Open Shortest Path First (OSPF)</li>
<li>Routing Information Protocol (RIP)</li>
<li>Interior Gateway Routing Protocol (IGRP)</li>
<li>Enhanced Interior Gateway Routing Protocol (EIGRP)</li>
<li>Border Gateway Protocol (BGP)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/routing-protocols/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS &#8211; Domain Name System</title>
		<link>http://www.networkguruz.com/protocols/dns-domain-name-system/</link>
		<comments>http://www.networkguruz.com/protocols/dns-domain-name-system/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 16:54:08 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=24</guid>
		<description><![CDATA[The primary function of DNS is to resolve hostname to IP address. These hostname must be a part of a FQDN (Fully Qualified Domain Name). Example of FQDN are www.google.com, www.microsoft.com, news.google.com, mail.google.com where news and mail might refer to hosts that are a part of google.com domain.
The information about hostname and domains are stored [...]]]></description>
			<content:encoded><![CDATA[<p>The primary function of DNS is to resolve hostname to <a href="Protocols_IP.html">IP</a> address. These hostname must be a part of a FQDN (Fully Qualified Domain Name). Example of FQDN are <a href="http://www.google.com/" target="_blank">www.google.com</a>, <a href="http://www.microsoft.com/" target="_blank">www.microsoft.com</a>, <a href="http://news.google.com/" target="_blank">news.google.com</a>, <a href="http://mail.google.com/" target="_blank">mail.google.com</a> where <strong>news</strong> and <strong>mail</strong> might refer to hosts that are a part of google.com domain.</p>
<p>The information about hostname and domains are stored on distributed database systems on public network such as Internet. Many types of information about the domain names such as IP address of each domain name, MX records (mail server), nameserver are stored in the DNS database. The DNS system provides with a friendly interface for data transmission. While computers use IP addresses to communicate with each other, humans find it easy to use domain names to access information on the Internet. It is easy for us to remember a domain name, email address instead remebering IP addresses of every website.</p>
<h2>History of the DNS</h2>
<p>The practice of using a name as a more human-legible abstraction of a machine&#8217;s numerical address on the network predates even TCP/IP, all the way back to the ARPAnet era. Originally, each computer on the network retrieved a file called HOSTS.TXT from SRI (now SRI International) which mapped an address (ex. 145.97.39.135) to a name (ex. <a href="http://www.google.com/" target="_blank">www.google.com</a>) The Hosts file still exists on most modern operating systems either by default or through configuration and allows users to specify an <a href="http://www.networkguruz.com/protocols/internet-protocol-ip/">IP Address</a> to use for a hostname without checking the DNS. This file is now used primarily for troubleshooting DNS errors or mapping local addresses to more organic names. Such a system had inherent limitations, because of the obvious requirement that every time a given computer&#8217;s address changed, every computer that wanted to communicate with it would need an update to its Hosts file.</p>
<p>The growth of networking called for a more scalable system: one which recorded a change in a host&#8217;s address in one place only. Other hosts would learn about the change dynamically though a notification system, thus completing a globally accessible network of all hosts names and their associated IP Addresses.</p>
<h3>How DNS works?</h3>
<p>The practical operation of the DNS system consists of three players:</p>
<ol>
<li>The DNS resolver, a DNS client program which runs on a user&#8217;s computer and generates DNS requests on behalf of software programs.</li>
<li>The recursive DNS server, which searches through the DNS in response to queries from resolvers and returns answers to those resolvers; and,</li>
<li>The authoritative DNS server which hands out answers to queries from recursors, either in the form of an answer, or in the form of a delegation (i.e. referral to another authoritative DNS server).</li>
</ol>
<h3>Understanding the parts of a domain name</h3>
<p>A domain name usually consists of <strong>two or more parts, separated by dots</strong>.</p>
<p>The rightmost label conveys the top-level domain (also known as TLD) for example, the address <strong>networkguruz.com</strong> has the top-level domain <strong>com</strong>.</p>
<p>Each label to the left specifies a subdivision or subdomain of the domain above<br />
it. Note that &#8220;subdomain&#8221; expresses relative dependence, not absolute dependence: for example, <a href="http://www.networkguruz.com">networkguruz.com</a> comprises a subdomain of the com domain, and <strong><a href="http://www.networkguruz.com">en.networkguruz.com</a></strong> could form a subdomain of the domain networkguruz.com (in practice, however, en.networkguruz.com actually represents a hostname &#8211; see below). In theory, this subdivision can go down to <strong>127 levels deep</strong>, and each label can contain up to 63 characters, as long as the whole domain name does not exceed a total length of 255 characters. But in practice some domain registries have shorter limits than that.</p>
<h3>Types of DNS records</h3>
<p><strong></strong>Important categories of data stored in the DNS include the following:</p>
<ul>
<li>An <strong>A record</strong> or <strong>address record</strong> maps a hostname to its 32-bit IPv4 address.</li>
<li>An <strong>AAAA record</strong> or <strong>IPv6</strong> address record maps a hostname to its 128-bit IPv6 address.</li>
<li>A <strong>CNAME record</strong> or <strong>canonical name record</strong> makes one domain name an alias of another. The aliased domain gets all the subdomains and DNS records of the original.</li>
<li>An <strong>MX record</strong> or <strong>mail exchange record</strong> maps a domain name to a list of mail exchange servers for that domain.</li>
<li>A <strong>PTR record</strong> or <strong>pointer record</strong> maps an IPv4 address to the canonical name for that host. Setting up a PTR record for a hostname in the in-addr.arpa domain that corresponds to an IP address implements <span style="text-decoration: underline;">reverse DNS lookup</span> for that address. For example (at the time of writing), <a href="http://www.icann.net/" target="_blank">www.icann.net</a> has the IP address 192.0.34.164, but a PTR record maps 164.34.0.192.in-addr.arpa to its canonical name, referrals.icann.org.</li>
<li>An <strong>NS record</strong> or name server record maps a domain name to a list of DNS servers for that domain. Delegations depend on NS records.</li>
<li>An <strong>SOA record</strong> or start of authority record specifies the DNS server providing authoritative information about an Internet domain.</li>
<li>An <strong>SRV record</strong> is a generalized service location record.</li>
<li>A <strong>TXT record</strong> allows an administrator to insert arbitrary text into a DNS record. For example, this record is used to implement the Sender Policy Framework specification.</li>
</ul>
<p>Other types of records simply provide information (for example, a LOC record gives the physical location of a host), or experimental data (for example, a WKS record gives a list of servers offering some well-known service such as HTTP or POP3 for a domain).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/dns-domain-name-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asynchronous Transfer Mode (ATM)</title>
		<link>http://www.networkguruz.com/protocols/asynchronous-transfer-mode-atm/</link>
		<comments>http://www.networkguruz.com/protocols/asynchronous-transfer-mode-atm/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 16:45:43 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=23</guid>
		<description><![CDATA[Asynchronous Transfer Mode (ATM) is a cell relay network protocol which encodes data traffic into small fixed-sized (53 byte; 48 bytes of data and 5 bytes of header information) cells. It is a connection-oriented technology, in which a connection is established between the two endpoints before the actual data exchange begins.
ATM sought to resolve the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Asynchronous Transfer Mode (ATM)</strong> is a cell relay network protocol which encodes data traffic into small fixed-sized (53 byte; 48 bytes of data and 5 bytes of header information) cells. It is a connection-oriented technology, in which a connection is established between the two endpoints before the actual data exchange begins.</p>
<p>ATM sought to resolve the conflict between circuit-switched networks and packet-switched networks by mapping both bitstreams and packet-streams onto a stream of small fixed-size &#8216;cells&#8217; tagged with virtual circuit identifiers. The cells are typically sent on demand within a synchronous &#8216;time-slot&#8217; pattern in a synchronous bit-stream: what is asynchronous here is the sending of the cells, <span style="text-decoration: underline;">not</span> the low-level bitstream that carries them.</p>
<h3>Why cells?</h3>
<p>The motivation for the use of small data cells was the reduction of jitter (delay variance, in this case) in the multiplexing of data streams; reduction of this (and also end-to-end round-trip delays) is particularly important when carrying voice traffic.</p>
<p>This is because the conversion of digitized voice back into an analog audio signal is an inherently real-time process, and to do a good job, the codec that does this needs an evenly spaced (in time) stream of data items. If the next data item is not available when it is needed, the codec has no choice but to produce silence &#8211; and if the data does arrive, but late, it is useless, because the time period when it should have been converted to a signal has already passed.</p>
<p>Now consider a speech signal reduced to packets, and forced to share a link with bursty data traffic (i.e. some of the data packets will be large). No matter how small the speech packets could be made, they would always encounter full-size data packets, and under normal queuing conditions, might experience maximum queuing delays.</p>
<p>ATM was designed to implement a low-jitter network interface. However, to be able to provide short queueing delays, but also be able to carry large datagrams, it had to have cells. ATM broke all packets, data, and voice streams up into 48-byte chunks, adding a 5-byte routing header to each one so that they could be reassembled later. The choice of 48 bytes was, as is all too often the case, political instead of technical. When the CCITT was standardizing ATM, parties from the United States wanted a 64-byte payload because having the size be a power of 2 made working with the data easier and this size was felt to be a good compromise between larger payloads optimized for data transmission and shorter payloads optimized for real-time applications like voice; parties from Europe wanted 32-byte payloads because the small size (and therefore short transmission times) simplify voice applications with respect to echo cancellation.</p>
<p>Most of the interested European parties eventually came around to the arguments made by the Americans, but France and a few allies held out until the bitter end. With 32 bytes, France would have been able to implement an ATM-based voice network with calls from one end of France to the other requiring no echo cancellation. 53 bytes was chosen as a compromise between the two sides, but it was ideal for neither and everybody has had to live with it ever since. 5-byte headers were chosen because it was thought that 10% of the payload was the maximum price to pay for routing information. ATM multiplexed these 53-byte cells instead of packets. Doing so reduced the worst-case queuing jitter by a factor of almost 30, removing the need for echo cancellers.</p>
<h3>Why virtual circuits?</h3>
<p>ATM is a channel-based transport layer. This is encompassed in the concept of the Virtual Path (VP) and Virtual Circuit (VC). Every ATM cell has an 8- or 12-bit Virtual Path Identifier (VPI) and 16-bit Virtual Circuit Identifier (VCI) pair defined in its header. The length of the VPI varies according to whether the cell is sent on the user-network interface (on the edge of the network), or if it is sent on the network-network interface (inside the network).</p>
<p>As these cells traverse an ATM network, switching is achieved by changing the VPI/VCI values. Although the VPI/VCI values are not necessarily consistent from one end of the connection to the other, the concept of a circuit is consistent (unlike <a title="Internet Protocol" href="http://www.networkguruz.com/protocols/internet-protocol-ip/" target="_self">IP</a>, where any given packet could get to its destination by a different route than the others).</p>
<p>Another advantage of the use of virtual circuits is the ability to use them as a multiplexing layer, allowing different services (such as voice, Frame Relay, n*64 channels, IP, SNA, etc.) to share a common ATM connection without interfering.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/asynchronous-transfer-mode-atm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transmission Control Protocol (TCP)</title>
		<link>http://www.networkguruz.com/protocols/transmission-control-protocol-tcp/</link>
		<comments>http://www.networkguruz.com/protocols/transmission-control-protocol-tcp/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 16:41:00 +0000</pubDate>
		<dc:creator>Raj</dc:creator>
				<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.networkguruz.com/?p=22</guid>
		<description><![CDATA[Transmission Control Protocol (TCP)
The Transmission Control Protocol (TCP) is one of the core protocols of the Internet protocol suite. Using TCP, applications on networked hosts can create connections to one another, over which they can exchange data in packets. The protocol guarantees reliable and in-order delivery of data from sender to receiver. TCP also distinguishes [...]]]></description>
			<content:encoded><![CDATA[<h2>Transmission Control Protocol (TCP)</h2>
<p>The Transmission Control Protocol (TCP) is one of the core protocols of the Internet protocol suite. Using TCP, applications on networked hosts can create connections to one another, over which they can exchange data in packets. The protocol guarantees reliable and in-order delivery of data from sender to receiver. TCP also distinguishes data for multiple connections by concurrent applications (e.g. Web server and e-mail server) running on the same host.</p>
<p>TCP supports many of the Internet&#8217;s most popular application protocols and resulting applications, including the World Wide Web and e-mail.</p>
<p>In the Internet protocol suite, TCP is the intermediate layer between the <a href="http://www.networkguruz.com/protocols/internet-protocol-ip/">Internet Protocol</a> (IP) below it, and an application above it. Applications often need reliable pipe-like connections to each other, whereas the <a href="http://www.networkguruz.com/protocols/internet-protocol-ip/">Internet Protocol</a> does not provide such streams, but rather only unreliable packets. TCP does the task of the transport layer in the simplified <a href="http://www.networkguruz.com/protocols/osi-reference-model/">OSI reference model</a> of computer networks.</p>
<h3>Protocol operation</h3>
<p>Unlike TCP&#8217;s traditional counterpart &#8211; User Datagram Protocol &#8211; that can immediately start sending packets, TCP provides connections that need to be established before sending data. TCP connections have three phases:</p>
<ol>
<li>Connection establishment</li>
<li>Data transfer</li>
<li>Connection termination</li>
</ol>
<h3>Connection establishment</h3>
<p>To establish a connection, TCP uses a 3-way handshake. Before a client attempts to connect with a server, the server must first bind to a port to open it up for connections: this is called a passive open. Once the passive open is established, a client may initiate an active open. To establish a connection, the 3-way (or 3-step) handshake occurs:</p>
<ol>
<li>The active open is performed by sending a SYN to the server</li>
<li>In response, the server replies with a SYN-ACK.</li>
<li>Finally the client sends an ACK back to the server.</li>
</ol>
<p>At this point, both the client and server have received an acknowledgement of the connection.</p>
<h3>Data transfer</h3>
<p>There are a few key features that set TCP apart from User Datagram Protocol:</p>
<ol>
<li>Error-free data transfer</li>
<li>Ordered-data transfer</li>
<li>Retransmission of lost packets</li>
<li>Discarding duplicate packets</li>
<li>Congestion throttling</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.networkguruz.com/protocols/transmission-control-protocol-tcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
