Showing posts with label it. Show all posts
Showing posts with label it. Show all posts

Monday, February 28, 2011

Hubs, Bridges, Switches, Routers and Gateways

 Hubs, Bridges, Switches, Routers and Gateways


Hubs, Bridges, Switches and Routers are used to build networks. If you are trying to design your own LAN (Local Area Network) at home, then you probably need to know what they do and the main differences between them. I will try to cover all that in addition to some networking details to cultivate the article and provide better understanding of how the internet works. After all, always remember that the internet as you know it is nothing more than a network of networks!

Hubs are used to build a LAN by connecting different computers in a star/hierarchal network topology, the most common type on LANs now a day. A hub is a very simple (or dumb) device, once it gets bits of data sent from computer A to B, it does not check the destination, instead, it forwards that signal to all other computers (B, C, D…) within the network. B will then pick it up while other nodes discard it. This amplifies that the traffic is shared.
There are mainly two types of hubs:
1. Passive: The signal is forwarded as it is (so it doesn’t need power supply).
2. Active: The signal is amplified, so they work as repeaters. In fact they have been called multiport repeaters. (use power supply)
Hubs can be connected to other hubs using an uplink port to extend the network.
OSI Model: Hubs work on the physical layer (lowest layer). That’s the reason they can’t deal with addressing or data filtering.
Switches on the other hand are more advanced. Instead of broadcasting the frames everywhere, a switch actually checks for the destination MAC address and forward it to the relevant port to reach that computer only. This way, switches reduce traffic and divide the collision domain into segments, this is very sufficient for busy LANs and it also protects frames from being sniffed by other computers sharing the same segment.
They build a table of which MAC address belongs to which segment. If a destination MAC address is not in the table it forwards to all segments except the source segment. If the destination is same as the source, frame is discarded.
Switches have built-in hardware chips solely designed to perform switching capabilities, therefore they are fast and come with many ports. Sometimes they are referred to as intelligent bridges or multiport bridges.
Different speed levels are supported. They can be 10 Mb/s, 100 Mb/s, 1 Gb/s or more.
Most common switching methods are:
1. Cut-through: Directly forward what the switch gets.
2. Store and forward: receive the full frame before retransmitting it.
OSI: Switches are on the data link layer (just above physical layer) that’s why they deal with frames instead of bits and filter them based on MAC addresses. Switches are known to be used for their filtering capabilities.
VLANs (Virtual LANs) and broadcast domains: Switches do not control broadcast domains by default, however, if a VLAN is configured in a switch it will has its own broadcast domain.
*VLAN is a logical group of network devices located on different LAN physical segments. However they are logically treated as if they were located on a single segment.
Bridges are used to extend networks by maintaining signals and traffic.
OSI: Bridges are on the data link layer so in principle they are capable to do what switches do like data filtering and separating the collision domain, but they are less advanced. They are known to be used to extend distance capabilities of networks.
In a comparison with switches, they are slower because they use software to perform switching. They do not control broadcast domains and usually come with less number of ports.
Routers are used to connect different LANs or a LAN with a WAN (e.g. the internet). Routers control both collision domains and broadcast domains. If the packet’s destination is on a different network, a router is used to pass it the right way, so without routers the internet could not functions.
Routers use NAT (Network Address Translation) in conjunction with IP Masquerading to provide the internet to multiple nodes in the LAN under a single IP address.
Now a day, routers come with hub or switch technology to connect computers directly.
OSI: Routers work on the network layer so they can filter data based on IP addresses. They have route tables to store network addresses and forward packets to the right port.
Gateways are very intelligent devices or else can be a computer running the appropriate software to connect and translate data between networks with different protocols or architecture, so their work is much more complex than a normal router. For instance, allowing communication between TCP/IP clients and IPX/SPX or AppleTalk.
OSI: Gateways operate at the network layer and above, but most of them at the application layer.
P.S. The term Gateway is used to refer to routers in some articles so beware. In this case, the router has gateway software. And Default Gateway is used to refer to the node (e.g. router) connecting the LAN to the outside (e.g. internet).
Repeaters are simple devices that work at the physical layer of the OSI. They regenerate signals (active hubs does that too).
There is an important rule to obey while using repeaters/hubs to extend a local network and is called the 5-4-3 rule or the IEEE way. The rule forces that in a single collision domain there shouldn’t be more than 5 segments, 4 repeaters between any two hosts in the network and only 3 of the segments can be populated (contain user connections).
This rule ensures that a signal sent over the network will reach every part of it within an acceptable length of time.
If the network is bigger, the collision domain can be divided into two parts or more using a switch or a bridge.
Conclusion
What have been introduced so far are the main traditional devices used to build networks, understanding how they work helps to understand the logic behind networks designing, however, now that technology advance quickly, it is possible to find new products in the market combining two or more of these devices into one.
Examples are:
- Brouter: Works as a Bridge and as a Router.
- IP Switch or MultiLayer Switch (MLS): New switches with routing capabilities, they forward data based on IP addresses, work at the network layer too.
References used are the following in addition to my previous readings and background study.
[1] TCP IP in 24 hours by SAMS
[2] http://www.techexams.net/technotes/ccna/lan_technologies.shtml

Tuesday, February 8, 2011

Latest inventions

The latest invention of American researchers is the laser that claims to be the smallest in the world. They managed to develop the laser by squeezing light into a space that is even tinier than a protein molecule. Their latest invention could be a significant breakthrough in the field of optical technology, making one step closer to nanolasers, which can be used to investigate and manipulate DNA. In addition, the laser can lead to the creation of super-fast computers and improved telecommunications.
The team of researchers was led by Professor Xiang Zhang. He mentioned that the plasmon laser constricts light into a gap that is only 5nm wide. An important step was the ability to detain light in a small space for a specific period of time required for light to stabilize into a "coherent" laser state, having all of its waves synchronized.
It is worth mentioning that plasmons are in fact wave-like movements of excited electrons on the surfaces of different metals. By connecting light to these oscillations, scientists managed to compress it further than usually, reports The Telegraph. More information on lasers and latest inventions you can find here at www.IfoNIAC.com, please check the links at the bottom of the story.
Professor Zhang, from the University of California at Berkeley said: "Plasmon lasers represent an exciting class of coherent light sources capable of extremely small confinement. This work can bridge the worlds of electronics and optics at truly molecular length scales." Their latest invention was described in the online version of the journal Nature. The scientist who co-authored the research, Dr Thomas Zentgraf, from the University's Nanoscale Science and Engineering Centre, stated: "The advantages of optics over electronics are multifold. For example, devices will be more power efficient at the same time they offer increased speed or bandwidth."
Powered by www.infoniac.com

Latest inventions it

Vote for the Best Invention of 2009
"InfoNIAC Presents" is our new section in which we bring you the top 10 latest inventions selected from www.InfoNIAC.com each month.
In this article we selected the ten best inventions described on our website in July and at the bottom of the story you can click on the link that will lead you to a poll where you can vote for your favorite July invention. Hope you enjoy.

State your opinion: what is the greatest invention in history of humanity? Leave your comments in our "Hot Discussions" column.
1. Water-Efficient Washing Machine
This invention was developed by Xeros (not to be confused with Xerox). Its washing machine uses nylon beads and thus is able to save up to 90 percent of water compared to traditional washers. Thus the washing machine has two main advantages: it saves you money and is environmentally friendly. Read more…
2. Technology that Scans User's Ear to Avoid Theft
This technology can protect iPods and other mobile devices from theft. The ears of every person have individual "acoustic fingerprint". The technology analyzes the distinctive sounds of the ear chamber and then decides whether the device belongs to the owner or not. It is worth mentioning that such invention could be widely used to improve safety measures of bank accounts and passports. Read more…
3. System that Converts Boot Force into Electricity
This invention could become very popular among soldiers. It uses the energy accumulated from tramping feet to power a wide range of portable devices. With its help soldiers' backpacks would be lighter by up to 10 kilograms, because it would exclude the necessity of wearing heavy batteries. The invention could also be used in everyday life. For example when a person does jogging they can power their MP3 player. Read more…
4. Portable Microscope Attached to Mobile Phone to Identify and Track Diseases
This invention could be widely used by scientists to identify dangerous diseases like malaria and tuberculosis and transmit the data to health centers for research. It could be used in Africa to track the spread of diseases, take pictures of cell samples and covey via Internet the information to European specialists for additional studies. Read more…
5. Cloak that Changes the Direction of Seismic Waves
The invention is not developed yet, but there are premises for its creation. Earthquakes produce body and surface waves. Using concentric rings the cloak will have the ability to control the dangerous surface waves and redirect them to avoid the destruction of buildings. Read more…
6. Device that Helps Dogs' Owners Understand Their Language
The name of the invention is Bowlingual. It analyzes the dog's bark and attempts to identify the pet's emotions. It features a unit with a speech synthesizer that informs the owner about what their pet wants to say. Everything is displayed on the gadget's screen. Read more…
7. Technology that Lets Users Operate Animated Characters Using Own Movements
OpenSTAGE platform is the technology that makes it possible for people to operate with virtual characters by moving own body parts. There is no need to wear any additional devices that in other inventions track the body movement - a person simply stands in front of a monitor and the technology tracks every movement and transfers the information to the computer, thus bringing an animated character to life. Such technology can be used in medicine, sports and entertainment. Read more…
8. Synthetic Tree that Captures CO2
The artificial tree is the latest invention of scientists from Columbia University. The technology allows to capture CO2 a thousands times faster compared to a real tree, which is crucial for tacking global warming. The tree gathers carbon dioxide emitted from cars and airplanes just like a sponge and then filters it. In 24 hours the tree can absorb about a ton of CO2, which is almost the amount of gas emitted by 20 cars. Read more…
9. 3D Sensors that Allow Users to Interact with Various Devices Without Touch
This invention allows users to interact with computers and other devices just like the main character in "Minority Report" did, i.e. without touch. The technology could be widely used in gaming. In addition, the 3D sensors could replace weight detectors in cars, thus be able to signal, for example, whether a child is in a seat. Read more…
10. Robot that Writes Prescriptions and Distributes Drugs to Patients
The number one robotic nation is Japan and one of its latest inventions in the field was developed by Panasonic. The company claims that its robot is able to write prescriptions and distribute drugs to patients. The robot will be able to do the job in just 2 hours in a hospital with 400 beds (twice as fast as a skilled pharmacist). Read more…