Router
From Free net encyclopedia
A router is a computer networking device that forwards data packets across an internetwork toward their destinations, through a process known as routing. Routing occurs at layer 3 (the Network layer e.g. IP) of the OSI seven-layer model.
Contents |
Function
Image:Router-Switch and Neighborhood Analogy.png In nontechnical terms, a router acts as a junction between two or more networks to transfer data packets among them. A router is essentially different from a switch that connects devices to form a Local Area Network (LAN). One easy illustration for the different functions of routers and switches is to think of switches as neighborhood streets, and the router as the intersections with the street signs. Each house on the street has an address within a range on the block. In the same way, a switch connects various devices each with their own IP address(es) on a LAN. However, the switch knows nothing about IP addresses except its own management address. Routers connect networks together the way that onramps or major intersections connect streets to both highways and freeways, etc. The street signs at the intersection (routing table) show which way the packets need to flow.
So for example, a router at home connects the Internet Service Provider's (ISP) network (usually on an Internet address) together with the LAN in the home (typically using a range of private IP addresses) and a single broadcast domain. The switch connects devices together to form the LAN. Sometimes the switch and the router are combined together in one single package sold as a multiple port router.
In order to route packets, a router communicates with other routers using routing protocols and using this information creates and maintains a routing table. The routing table stores the best routes to certain network destinations, the "routing metrics" associated with those routes, and the path to the next hop router. See the routing article for a more detailed discussion of how this works.
Routing is most commonly associated with the Internet Protocol, although other less-popular routed protocols are in use.
History
The first router was created at Stanford University by a staff researcher named William Yeager [1] in January of 1980. His boss at the time told him that he was the "network guy" and to find a way to connect the computers in the computer science department, medical center and department of electrical engineering. He first wrote a network operating system and routing code to run on a DEC PDP11/05. He used Alan Snyder's Portable C compiler but it generated too much code so he modified the compiler to improve the code generators. That still wasn't good enough so he wrote an optimizer for PDP11/05 assembler that reduced the code size further.
Types of routers
Image:Dlink router.jpg In the original era of routing (from the mid-1970s through the 1980s), general-purpose mini-computers served as routers. Although general-purpose computers can perform routing, modern high-speed routers are highly specialised computers, generally with extra hardware added to accelerate both common routing functions such as packet forwarding and specialised functions such as IPsec encryption.
Other changes also improve reliability, such as using DC power rather than line power (which can be provided from batteries in data centers), and using solid-state rather than magnetic storage for program loading. Large modern routers have thus come to resemble telephone switches, with whose technology they are currently converging and may eventually replace, whilst small routers have become a common household item.
A router that connects clients to the Internet is called an edge router. A router that serves solely to transmit data between other routers, e.g. inside the network of an Internet service provider, is called a core router.
A router is normally used to connect at least two networks, but a special variety of router is the one-armed router, used to route packets in a virtual LAN environment. In the case of a one-armed router, the multiple attachments to different networks are all over the same physical link.
In mobile ad-hoc networks every host performs routing and forwarding by itself, while in wired networks there is usually just one router for a whole broadcast domain.
In recent times many routing functions have been added to LAN switches (a marketing term for high-speed bridges), creating "Layer 2/3 Switches" which route traffic at near wire speed.
Routers are also now being implemented as Internet gateways, primarily for small networks like those used in homes and small offices. This application is mainly where the Internet connection is an always-on broadband connection like cable modem or DSL. These are routers in the true sense because they join two networks together - the WAN and the LAN – and have a routing table. Often these small routers support the RIP protocol, although in a home application the routing function does not serve much purpose since there are only two ways to go - the WAN and the LAN. In addition, these routers typically provide DHCP, NAT, DMZ and Firewall services. Sometimes these routers can provide content filtering and VPN. Typically they are used in conjunction with either a cable modem or DSL modem, but that function can also be built-in.
Pronunciation
The pronunciation of the word is sometimes a point of contention. British speakers pronounce the word as Template:IPA while American speakers tend to call it a Template:IPA.
Manufacturers of routers
There are a number manufacturers of routers including:
- 2Wire
- 3Com
- Alcatel
- Asus
- Belkin
- Buffalo Technology
- Billion (www.billion.com)
- Cisco Systems, Inc.
- Cyclades Corporation
- D-Link Systems
- Draytek
- Enterasys Networks
- Hawking Technologies
- Hewlett-Packard
- Huawei Technologies
- ImageStream (www.imagestream.com)
- Juniper Networks
- Lightning MultiCom
- Linksys
- Mikrotik
- Motorola
- MRV Communications
- NetComm
- NETGEAR
- Nortel
- Pivotal Networking
- Redback Networks
- Siemens AG
- SMC Networks
- Tellabs
- U.S. Robotics
- Zoom Telephonics (www.zoom.com)
- Trendware (www.trendware.com)
- ZyXEL (www.us.zyxel.com)
"Software" routers
With the proper software and 2 or more network cards, ordinary PCs, even old ones, can be made into routers.
Most Unix-like operating systems include all necessary software to perform routing:
- LEAF Project (leaf.sourceforge.net)
- Coyote Linux (www.coyotelinux.com)
- FREESCO (www.freesco.org/)
- GNU Zebra (www.zebra.org)
- SmoothWall (smoothwall.org)
- m0n0wall (m0n0.ch/wall)
- FreeBSD (www.freebsd.org)
- NetBSD (www.netbsd.org)
- OpenBSD (www.openbsd.org)
- IPCop (www.ipcop.org)
- The Linux Router Project (www.linuxrouter.org)
- fdgw (www.fml.org/software/fdgw/)
- Basic Internet Routing Daemon (bird.network.cz)
The list includes only some examples that specialise in routing. See List of Linux distributions, BSD, Unix-like for more.
Other solutions include:
- Microsoft Internet Connection Sharing (only some routing capabilities)
- WOOWEB-PRO (Windows software)
- Mac OS X Internet Sharing
See also
- Flapping router
- Network address translation (NAT)
- Network switch
- History of the Internet
- Wi-Fi
- TR-069
External links
- Interview with William (Bill) Yeager, Inventor of the router
- www.bsdrouter.org - website that covers router software based on BSD operating systems
- HowStuffWorks: How Routers Work by Curt Franklin
- Linux Advanced Routing & Traffic Control HOWTO
bs:Router ca:Enrutador cs:Router da:Router de:Router es:Router fr:Routeur gl:Router it:Router he:נתב lt:Maršrutizatorius hu:Router nl:Router ja:ルーター no:Ruter nn:Ruter pl:Router pt:Roteador ro:Router ru:Маршрутизатор sk:Smerovač sl:Usmerjevalnik fi:Reititin sv:Router vi:Router tr:Router uk:Маршрутизатор zh:路由器