วันพฤหัสบดีที่ 25 ธันวาคม พ.ศ. 2551

Routing, Routed, and Non-Routable Protocols

ROUTING PROTOCOLS

A generic term that refers to a formula, or protocol, used by a router to determine the appropriate path over which data is transmitted. The routing protocol also specifies how routers in a network share information with each other and report changes. The routing protocol enables a network to make dynamic adjustments to its conditions, so routing decisions do not have to be predetermined and static.

Routing, Routed and Non-Routable Protocols

ROUTING | ROUTED | NON-ROUTABLE

ROUTING PROTOCOLS

ROUTING PROTOCOLS are the software that allow routers to dynamically advertise and learn routes, determine which routes are available and which are the most efficient routes to a destination. Routing protocols used by the Internet Protocol suite include:

? Routing Information Protocol (RIP and RIP II).
? Open Shortest Path First (OSPF).
? Intermediate System to Intermediate System (IS-IS).
? Interrior Gateway Routing Protocol (IGRP).
? Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP).
? Border Gateway Protocol (BGP).


Routing is the process of moving data across two or more networks. Within a network, all hosts are directly accessable because they are on the same

ROUTED PROTOCOLS

ROUTED PROTOCOLS are nothing more than data being transported across the networks. Routed protocols include:

? Internet Protocol
o Telnet
o Remote Procedure Call (RPC)
o SNMP
o SMTP
? Novell IPX
? Open Standards Institute networking protocol
? DECnet
? Appletalk
? Banyan Vines
? Xerox Network System (XNS)

Outside a network, specialized devices called ROUTES are used to perform the routing process of forwarding packets between networks. Routers are connected to the edges of two or more networks to provide connectivity between them. These devices are usually dedicated machines with specialized hardware and software to speed up the routing process. These devices send and receive routing information to each other about networks that they can and cannot reach. Routers examine all routes to a destination, determine which routes have the best metric, and insert one or more routes into the IP routing table on the router. By maintaining a current list of known routes, routers can quicky and efficiently send your information on it's way when received.

There are many companies that produce routers: Cisco, Juniper, Bay, Nortel, 3Com, Cabletron, etc. Each company's product is different in how it is configured, but most will interoperate so long as they share common physical and data link layer protocols (Cisco HDLC or PPP over Serial, Ethernet etc.). Before purchasing a router for your business, always check with your Internet provider to see what equipment they use, and choose a router, which will interoperate with your Internet provider's equipment.

NON-ROUTABLE PROTOCOLS

NON-ROUTABLE PROTOCOLS cannot survive being routed. Non-routable protocols presume that all computers they will ever communicate with are on the same network (to get them working in a routed environment, you must bridge the networks). Todays modern networks are not very tolerant of protocols that do not understand the concept of a multi-segment network and most of these protocols are dying or falling out of use.

? NetBEUI
? DLC
? LAT
? DRP
? MOP

RIP (Routing Information Protocol)

RIP is a dynamic internetwork routing protocol primary used in interior routing environments. A dynamic routing protocol, as opposed to a static routing protocol, automatically discovers routes and builds routing tables. Interior environments are typically private networks (autonomous systems). In contrast, exterior routing protocols such as BGP are used to exchange route summaries between autonomous systems. BGP is used among autonomous systems on the Internet.

RIP uses the distance-vector algorithm developed by Bellman and Ford (Bellman-Ford algorithm).

Routing Information Protocol

Background

The Routing Information Protocol, or RIP, as it is more commonly called, is one of the most enduring of all routing protocols. RIP is also one of the more easily confused protocols because a variety of RIP-like routing protocols proliferated, some of which even used the same name! RIP and the myriad RIP-like protocols were based on the same set of algorithms that use distance vectors to mathematically compare routes to identify the best path to any given destination address. These algorithms emerged from academic research that dates back to 1957.

Today's open standard version of RIP, sometimes referred to as IP RIP, is formally defined in two documents: Request For Comments (RFC) 1058 and Internet Standard (STD) 56. As IP-based networks became both more numerous and greater in size, it became apparent to the Internet Engineering Task Force (IETF) that RIP needed to be updated. Consequently, the IETF released RFC 1388 in January 1993, which was then superceded in November 1994 by RFC 1723, which describes RIP 2 (the second version of RIP). These RFCs described an extension of RIP's capabilities but did not attempt to obsolete the previous version of RIP. RIP 2 enabled RIP messages to carry more information, which permitted the use of a simple authentication mechanism to secure table updates. More importantly, RIP 2 supported subnet masks, a critical feature that was not available in RIP.

This chapter summarizes the basic capabilities and features associated with RIP. Topics include the routing update process, RIP routing metrics, routing stability, and routing timers.

Routing Updates

RIP sends routing-update messages at regular intervals and when the network topology changes. When a router receives a routing update that includes changes to an entry, it updates its routing table to reflect the new route. The metric value for the path is increased by 1, and the sender is indicated as the next hop. RIP routers maintain only the best route (the route with the lowest metric value) to a destination. After updating its routing table, the router immediately begins transmitting routing updates to inform other network routers of the change. These updates are sent independently of the regularly scheduled updates that RIP routers send.

RIP Routing Metric

RIP uses a single routing metric (hop count) to measure the distance between the source and a destination network. Each hop in a path from source to destination is assigned a hop count value, which is typically 1. When a router receives a routing update that contains a new or changed destination network entry, the router adds 1 to the metric value indicated in the update and enters the network in the routing table. The IP address of the sender is used as the next hop.

RIP Stability Features

RIP prevents routing loops from continuing indefinitely by implementing a limit on the number of hops allowed in a path from the source to a destination. The maximum number of hops in a path is 15. If a router receives a routing update that contains a new or changed entry, and if increasing the metric value by 1 causes the metric to be infinity (that is, 16), the network destination is considered unreachable. The downside of this stability feature is that it limits the maximum diameter of a RIP network to less than 16 hops.

RIP includes a number of other stability features that are common to many routing protocols. These features are designed to provide stability despite potentially rapid changes in a network's topology. For example, RIP implements the split horizon and holddown mechanisms to prevent incorrect routing information from being propagated.

RIP Timers

RIP uses numerous timers to regulate its performance. These include a routing-update timer, a route-timeout timer, and a route-flush timer. The routing-update timer clocks the interval between periodic routing updates. Generally, it is set to 30 seconds, with a small random amount of time added whenever the timer is reset. This is done to help prevent congestion, which could result from all routers simultaneously attempting to update their neighbors. Each routing table entry has a route-timeout timer associated with it. When the route-timeout timer expires, the route is marked invalid but is retained in the table until the route-flush timer expires.

Packet Formats
The following section focuses on the IP RIP and IP RIP 2 packet formats illustrated in Figures 44-1 and 44-2. Each illustration is followed by descriptions of the fields illustrated. RIP Packet Format

? Command—Indicates whether the packet is a request or a response. The request asks that a router send all or part of its routing table. The response can be an unsolicited regular routing update or a reply to a request. Responses contain routing table entries. Multiple RIP packets are used to convey information from large routing tables.

? Version number—Specifies the RIP version used. This field can signal different potentially incompatible versions.

? Zero—This field is not actually used by RFC 1058 RIP; it was added solely to provide backward compatibility with prestandard varieties of RIP. Its name comes from its defaulted value: zero.

? Address-family identifier (AFI)—Specifies the address family used. RIP is designed to carry routing information for several different protocols. Each entry has an address-family identifier to indicate the type of address being specified. The AFI for IP is 2.

? Address—Specifies the IP address for the entry.

? Metric—Indicates how many internetwork hops (routers) have been traversed in the trip to the destination. This value is between 1 and 15 for a valid route, or 16 for an unreachable route.

Note: Up to 25 occurrences of the AFI, Address, and Metric fields are permitted in a single IP RIP packet. (Up to 25 destinations can be listed in a single RIP packet.)

RIP 2 Packet Format

? Command—Indicates whether the packet is a request or a response. The request asks that a router send all or a part of its routing table. The response can be an unsolicited regular routing update or a reply to a request. Responses contain routing table entries. Multiple RIP packets are used to convey information from large routing tables.

? Version—Specifies the RIP version used. In a RIP packet implementing any of the RIP 2 fields or using authentication, this value is set to 2.

? Unused—Has a value set to zero.

? Address-family identifier (AFI)—Specifies the address family used. RIPv2's AFI field functions identically to RFC 1058 RIP's AFI field, with one exception: If the AFI for the first entry in the message is 0xFFFF, the remainder of the entry contains authentication information. Currently, the only authentication type is simple password.

? Route tag—Provides a method for distinguishing between internal routes (learned by RIP) and external routes (learned from other protocols).

? IP address—Specifies the IP address for the entry.

? Subnet mask—Contains the subnet mask for the entry. If this field is zero, no subnet mask has been specified for the entry.

?Next hop—Indicates the IP address of the next hop to which packets for the entry should be forwarded.

? Metric—Indicates how many internetwork hops (routers) have been traversed in the trip to the destination. This value is between 1 and 15 for a valid route, or 16 for an unreachable route.

Note: Up to 25 occurrences of the AFI, Address, and Metric fields are permitted in a single IP RIP packet. That is, up to 25 routing table entries can be listed in a single RIP packet. If the AFI specifies an authenticated message, only 24 routing table entries can be specified. Given that individual table entries aren't fragmented into multiple packets, RIP does not need a mechanism to resequence datagrams bearing routing table updates from neighboring routers.

Summary

Despite RIP's age and the emergence of more sophisticated routing protocols, it is far from obsolete. RIP is mature, stable, widely supported, and easy to configure. Its simplicity is well suited for use in stub networks and in small autonomous systems that do not have enough redundant paths to warrant the overheads of a more sophisticated protocol.

Review Questions

Q—Name RIP's various stability features.
A—RIP has numerous stability features, the most obvious of which is RIP's maximum hop count. By placing a finite limit on the number of hops that a route can take, routing loops are discouraged, if not completely eliminated. Other stability features include its various timing mechanisms that help ensure that the routing table contains only valid routes, as well as split horizon and holddown mechanisms that prevent incorrect routing information from being disseminated throughout the network.

Q—What is the purpose of the timeout timer?
A—The timeout timer is used to help purge invalid routes from a RIP node. Routes that aren't refreshed for a given period of time are likely invalid because of some change in the network. Thus, RIP maintains a timeout timer for each known route. When a route's timeout timer expires, the route is marked invalid but is retained in the table until the route-flush timer expires.

Q—What two capabilities are supported by RIP 2 but not RIP?
A—RIP 2 enables the use of a simple authentication mechanism to secure table updates. More importantly, RIP 2 supports subnet masks, a critical feature that is not available in RIP.

Q—What is the maximum network diameter of a RIP network?
A—A RIP network's maximum diameter is 15 hops. RIP can count to 16, but that value is considered an error condition rather than a valid hop count.

This article is submitted by Kashif Raza <a target="_new" href="http://www.networkingtutorials.net">http://www.networkingtutorials.net</a>

What is ESR Meter?

All capacitors have a certain amount of resistance to the passage of AC current. ESR (Equivalent Series Resistance) is the sum of all internal resistances of a capacitor measured in Ohms. An ideal capacitor has ZERO ohms ESR. From the diagram below you can see a resistor in series with a &quot;PERFECT CAPACITOR&quot;. The value of the resistor is called ESR. Electrolytic Capacitors have a tendency to increase its ESR overtime due to drying or corrosion. High ESR is a frequent problem in today's electronic circuit. Even a 1 or 2 ohms rise in ESR can cause complicated problems. Under normal conditions the ESR has a very low value, which stays that way for many years unless the rubber seal is defective, in which case the electrolyte's water component gradually dries out and the ESR creeps up with time. The increase in ESR increases both voltage drops within the capacitor and the heat, produced in the capacitors due to resistive heating. If you don't check for ESR, you may be in for a &quot;TOUGH DOG&quot; repair. High ESR is the first sign of a capacitor failure. High ESR will cause complete circuit failure, over heating of capacitor, loading of the circuit, overstressing of other circuit components and other undesirable effects.

Why should I use an ESR?

Because measuring an electrolytic capacitor with an analog or digital capacitance meter can MISLEAD a technician into believing that a defective capacitor is good. This can waste your precious time and you are unable to repair the equipment. Which means you can't charge your customer! If you don't test for ESR on the capacitor, you will always miss the bad capacitor. Normally, these bad capacitors have high ESR reading which your normal multimeter or digital capacitance meter can't measure. Only by using the ESR meter, you will be able to measure the ESR on the capacitor and you will not be fooled by capacitors with bad ESR. ESR meter can even work IN-CIRCUIT, which means you don't have to solder out the capacitor in order to measure it using normal capacitor tester, which would not be accurate anyway.

Do you know that ESR meters can perform other wonders besides checking the ESR of a capacitor? Some digital ESR meter have the features of checking:

? Low ohms resistor such as 0.22 ohm, 0.33 ohm and etc.

? Horizontal yoke coil winding of a picture tube, inductor and primary winding of a transformer ? If a shorted turn is present, the inductance drops dramatically and the meter will show the ohms reading.

? Horizontal output transistor (HOT) in a monitor or TV ? If an open-circuit reading is obtained, the short-circuit is elsewhere. If the short-circuit remains, the transistor is faulty.

? Short-circuit in the track, usually trace to the components - You can use the ESR meter to locate short-circuits on printed circuit boards by measuring the actual track resistance. If the reading increases as you probe further along the track, you know you're going in the wrong direction!

? Speakers, amplifier etc - The pulses have a fast rise/fall time, so it would probably make a crude RF signal injector as well.

? The condition of both the normal and rechargeable batteries ? Flat and faulty battery will have high ESR.

Jestine Yong is a electronic repairer and writer. For more information about electronic repair please visit his website at <a target="_new" href="http://www.noahtec.com">http://www.noahtec.com</a>

วันพุธที่ 24 ธันวาคม พ.ศ. 2551

Five Band Resistor Color Code-What Does The Last Band Of White Color Represent?

In electronic repair, most of the time i came across five band resistor color code. The purpose of using the five colour band resistor in a circuit is that it provide a more accurate value compare to the four color band. For example in order to get the value of 22.6kohm, with four colors band resistor you will not be able to find it. The most you can get is 22k (red,red,orange and gold). If with the five color band you will be able to calculate it (red, red, blue, red, brown)the last color which is brown represent 1% tolerance. You may go to google search engine and type resistor color code, resistor color coding, resistor color code calculator, or resistor color code chart to know more about how to calculate a five band resistor values.

If you open up an analog multimeter you will understand what i mean. Most of the resistor circuit inside the multimeter are using five color band. Why? Because the reading that you get whenever you measure current, voltage or ohm, the panel will show the nearest value. For instance, if you measure a 9v battery the needle will point to may be 8.9v,9v,or 9.1 volt. If that particular multimeter was designed using four color band resistor the result that it gets may be 8.5v,9.5v or even 10 volt. In other words the use of five color band resistor is to make a circuit more precise and output the desire result as what the engineers want it to be.

There's a interesting five color band resistor which is unique. In fact i have already seen quite a number of them. I will reveal the calculation about this unique five color band resistor. The colors are orange, orange, red, gold, white. Actually it is a four color band resistor. Just ignore the white color and proceed to calculate using the four color band formula. As to why the resistor manufacturers add this 'extra' white band i really do not know. However, from forum someone said that it is for the military purposes. If you know the answer i would like you to email me so that i can share with other fellow electronic repairer thru this info repairing newsletter.

Jestine Yong is a electronic repairer and a writer. For more information on electronic repair please visit his website at <a target="_new" href="http://www.noahtec.com/electronic-repair-articles.htm">http://www.noahtec.com/electronic-repair-articles.htm</a>

How to Change, Upgade or Remove an IDE Hard Drive

Hard drives - Hard drives are a little more complicated. First off, you have to know what you want to do with the hard drive. By this, I mean either you want it set to either SLAVE or MASTER. If you want to boot from the hard drive (load windows or whatever other OS off it) then you want it to be your master. If you already have a master, and you want to use this as extra space, set this hdd to slave. This setting change requires a jumper on the back of the hard drive to be moved. It may sound hard, but it's easy. These jumper configurations can be found on the back of the hdd; most have a small label which states which way is which. After setting the jumper, take the IDE cable that runs to your primary hard drive. This is the long, usually grey cable that runs from a slot on your motherboard to your primary hard drive. If you are putting your new hdd in as a slave, this cable should have a second connector on it not being used. Connect this to the new slave hard drive, but don't disconnect the cable from your other HDD.

If you're putting a new drive in as master, then you need to take the cable running right to your old HDD, detach it, and connect it to the new master HDD. In both cases, you will need to connect a power cable to the HDD. This runs from your power supply, and you should have a few extra not being used. Connect one connector to the 4 pronged connector on the hard drive.

Once the hard drive is all connected, make sure it is fastened to the chasis on both sides of the case. This can be done by removing the case, then bolting the hard drive on one side and then the other. This is important - if you only bolt one side of the HDD, it can lead to corruption of files on the HDD.

I am a young, aspiring computer engineer into Internet Marketing, hardware, software, web design, SEO and just about anything related to computers. Please come check out my growing PC forum at <a target="_new" href="http://www.markspcforum.com">http://www.markspcforum.com</a>

How To Save Big Bucks On A Laptop Computer

If you're a bargain shopper looking to get the most bang for your buck, you'll find no shortage of deals on the Internet.

And that's particularly true in the fast-changing world of laptop computers, where you'll find three bargain sources right at your fingertips:

1. Clearance Sales

Just like many brick-and-mortar retail stores, many computer manufacturer websites have clearance sections. On these web pages, you can find great deals on last year's leftovers.

These are all new products (unless otherwise stated) and carry their original warranties. The only difference is that the price has been reduced.

Of course the manufacturers aren't the only ones with clearance merchandise.

Major electronics and office supply retailers also include clearance sections on their websites, where you may be able to find the laptop bargain of your dreams.

2. Refurbished Laptops

Factory refurbs represent another great bargain opportunity. It works something like this:

<ul>

<li>Joe Blow buys a new laptop, but decides a week later he doesn't like the color.

<li>He takes it back to the store within the store's stated return period, so the store is stuck with it.

<li>Since they can't sell the laptop as new, the store sends it back to the manufacturer to be "refurbished."

<li>The factory inspects that laptop to make sure everything works right, and then ships it out to a retailer that deals in refurbs.

<li>The refurb retailer then sells it to you at a great discount off the original price.

</ul>

Buying a refurb can literally save you hundreds.

3. Online Auctions

You can always logon to an auction website and find a great deal on a used laptop. However, beware!

Buying anything used carries with it some risk. Buying a used laptop carries more risk than most people should be willing to take.

When you buy a used laptop from a private party, you don't get any sort of warranty beyond DOA.

DOA stands for "dead on arrival", a common auction term that means the seller guarantees the item will work when it arrives at your house.

But what happens if your laptop dies two weeks after it arrives? You're out of luck, that's what.

There are enough bargains available on warrantied laptops that all but the most meager budgets should be able to avoid buying used.

Stick to clearance and refurb machines and you'll save yourself hundreds on your next laptop computer.

Copyright (c) 2004 HowToBuyALaptop.com.

About The Author

The author, computer journalist John San Filippo, has created the definitive guide to help you navigate through the laptop jungle. Visit the site today and find out everything you need to know about laptops before you buy. Check out: <a href="http://HowToBuyALaptop.com/" target="_new">http://HowToBuyALaptop.com/</a>

วันอังคารที่ 23 ธันวาคม พ.ศ. 2551

Computer Components for Idiots

There are many fancy add-ons for computers, but the basic components of the computer are simple and universal. If 1 of these main components is missing, it's not a computer.

The 4 essentials of every computer system are: a motherboard, a Central Processing Unit (CPU), memory, and a hard drive. These components are installed in a case to which are attached a monitor, a keyboard and a mouse. That's your basic computer.

Mother WHAT?

The motherboard ("mobo" for short) is the foundation. Everything attaches to the mobo -- the CPU, memory, hard drive, monitor, mouse, keyboard, add-on cards, even additional peripherals like printers, scanners, and speakers. The motherboard is like the nervous system and skeleton of the human body -- it provides support for the internal components and also passes information between the computer parts.

CPU

If the motherboard is the nervous system, then the CPU is the brain. Most of the mathematical manipulations that make computers operate are done by the CPU. Other components may also have their own processors, but their results still have to be passed through the CPU.

The speed of the computer is usually measured by the speed of the CPU. Even though other factors also affect overall speed, the CPU rating is generally seen as the single most important measure of performance.

Modern CPUs are usually rated between 2.0 GHz and 3.0 GHz, although each passing month will see increasing performance. This measurement refer to the number of calculations the processor can make in 1 second. The higher the number, the faster (better) the computer.

CPUs generate a lot of heat doing this work, so they need a heat sink and fan to keep them from overheating. Heat is a major enemy of the computer and directly affects its life span.

Computer Memory

RAM (Random Access Memory) is the part of the computer that stores information the computer needs while it is operating. It is Random Access because the computer can get the data in any order, not necessarily the order in which it is stored. Generally speaking, the more RAM the better. 512 to 1024 megabytes is common for memory.

The most common type of RAM these days is DDR-SDRAM, which stands for double-data-rate synchronous dynamic random access memory. We already know what the RAM part means. DDR means that the data is accessed twice as fast as ordinary RAM.

The latest type of RAM is DDR2. It offers even faster access rates and is quickly becoming the standard for computer memory.

Hard Drive

All the data contained in RAM is lost when the computer is turned off, so there has to be a place to store it permanently. This is what the hard disk is for.

It holds the computer's operating system. An operating system like Windows uses around 4 gigabytes of hard drive space. The extra space is used to install computer programs and to store your personal data.

80 gigabyte hard drives are common, but 400 GB units are available. Furthermore, you can install more than 1 in a computer case for added security and convenience.

Peripherals

All you need to complete the basic computer system is a monitor, keyboard and mouse.

Accessories like a printer or scanner are useful for office work, and gamers will probably want to add speakers and joystick controls.

So there you have it. The basic computer needs just 7 major components. For the best performance, these components must integrate well. The motherboard is the most important component for determining the type and specification of the other parts. Choosing an appropriate mobo for your computer needs is the first step and may require a quick call to your local geek.

Soon YOU will be considered the local geek!

Ron King is a full-time researcher, writer, and web developer. Visit <a href="http://www.build-computer-now.com" target="_blank"> Build-Computer-Now</a> to learn more about this fascinating subject.

Copyright 2005 Ron King. This article may be reprinted if the resource box is left intact.

วันจันทร์ที่ 22 ธันวาคม พ.ศ. 2551

Upgrading, Adding or Removing a Video Card, Sound Card, or Other AGP/PCI Card

For Video cards - Most PC video cards these days are AGP. But you COULD be working with PCI, or PCI express. If you're not sure which you have (more then 75% of the time it will be AGP) consult your motherboard manual. If your video card is AGP, you should see a slot smaller then the other slots on your board, and it will be a different color. You can likely also tell your video card if it has a GPU (a processor with a fan on top of it) or a video card company printed on it like Nvidia or Geforce.

To take out your video card in order to switch it for a newer one, or if it simply is not working, remove the screw first that holds it to the case. DO NOT ATTEMPT TO REMOVE THE CARD UNTIL YOU HAVE UNSCREWED IT. You will damage, maybe even destroy your card, and you may damage your AGP, PCI or PCI express slot as well. Your board may then have a simple switch that holds the socket down. Flick this switch up. After the scrue is removed, and the switch is flicked up, pull the card away from the board. Pull it on one side first so when it comes out it comes out on a slant, kind of like a car reversing. It should come out quite easily. To put in a new card, make sure the card you're putting in is properly lined up in the slot, then press the card into the slot. If it dosen't seem to be going in, you may be putting it in the wrong way. The pathways on the one side of the card should be the side that goes into the motherboard slot (these pathways looking like small lines going up one side of the card). Once the card sinks in with almost a click (like RAM), flick the switch down and scrue the card into the place you unscrued it. Start up your PC, make sure the card is working, then put your case back on.

Sound card - Sound cards are pretty easy, and the method for these can be used for any other card, such as network cards and the like (assuming they are all PCI. PCI are the black slots on your board). For installing/removing a PCI card, just unscrue it from the board, pull it out, then put the new one in, and scrue it in. Pretty easy. If you are having troubles, make sure the lines running up one side of the card is the side going into the slot. If you still have troubles, try turning the card around (but still make sure the pathways are facing the slot).

I am a young, aspiring computer engineer into Internet Marketing, hardware, software, web design, SEO and just about anything related to computers. Please come check out my growing PC forum at <a target="_new" href="http://www.markspcforum.com">http://www.markspcforum.com</a>