albtechportal

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 4 September 2013

Exploring TCP/IP Routers

Posted on 15:49 by Unknown
Routers connect networks. Routers range from someone's desktop PC running Internet sharing software to multimillion-dollar systems of specialized hardware and software. In the original work on TCP/TP, the designers wanted to be able to move data across a network even if parts of the network became disrupted. For example, if a network link were taken out by enemy attack, the traffic on that link would automatically reroute to a different link. This reliable scheme is called dynamic rerouting. Your system doesn't have to be a victim of an enemy attack for dynamic rerouting to be valuable. If a forklift cuts a cable in a warehouse, for example, dynamic rerouting means that inventory data can still be sent across a network via a different route.
(In network parlance, you can pronounce router either rowter or rooter. Just pick a side and join the battle. People pronounce it both ways and some are willing to fight for their choice.)
A router extends a LAN by linking two or more network segments that may or may not use the same media type. The router permits each connected network to maintain its independent identity and address. Figure 1 shows a small intranet consisting of two subnets. The router connects the subnets and connects the entire intranet to the Internet.

Figure 1: This router connects the subnets to each other and the intranet to the Internet.
When someone at address 130.103.2.1 sends e-mail to 130.103.2.4, the router is smart enough to see that the message is staying on the same subnet. There is no need to investigate any routes to the other subnet or to the Internet. When 130.103.2.1 sends e-mail to 130.103.1.4, however, the router forwards the message to the other subnet. When someone from anywhere within the intranet sends a message outside the 130.103 intranet, the router forwards the message out to the Internet.
What makes routers special is that they're intelligent enough to understand IP addresses. In fact, the decisions the router makes about directing the packets of your data are based on the network portion of the IP address. A router contains a network interface card for each segment of the network that it connects. Each network interface card has a different IP address because the router itself is a member of each network. The router gets most of its intelligence from routing tables. Routing tables are stored on the router and contain information about the following:
  • Paths (routes) to particular networks
  • How to handle special kinds of traffic
  • Priorities for certain connections
On big fancy routers, routing tables also store statistics on which routes are fastest and shortest.

Understanding how routers work

Routers work at the Internet, data link, and physical layers of the TCP/IP structure. A router resembles an octopus whose tentacles represent all of your cabling types. Routers are aware of the multiple paths that your data packets can take across the network to their final destination. The router knows about other routers on the network and can choose the most efficient path for the data to follow. This efficient path may change as network devices change and as traffic comes and goes.
For example, on Monday, the most efficient path may be from network A to network C to network B. On Tuesday, however, the most efficient path may be from network A to network D to network B because network C is broken. Because the router knows about any problems on the network path, it can detour your data when necessary. Not only are routers intelligent, they talk to each other and share knowledge, especially traffic reports: "Route A is jammed right now. Take route B instead. Route C has disappeared."
Routers use a routing protocol to find out information about the entire network and to determine the optimal path for sending a packet on to its destination. What's optimal? Is it the shortest path (fewest hops from one host to another)? Or the fastest path (more hops on speedier links)? Or the least congested path?
Suppose you want to go from Boston to New York City (NYC) to visit the Empire State Building. Your top three choices are probably these:
  • Drive to NYC on Interstate 95 and use a city map to find the Empire State Building.
  • Drive to Boston's Logan Airport. Fly to JFK Airport in NYC. Take a taxi to the Empire State Building.
  • Drive to Boston's South Station. Take a train to Penn Station in NYC. Take the subway to the Empire State Building.
Which way do you think will get you there fastest? If you've never driven to Logan Airport during rush hour and through construction, you would guess that flying from Logan to JFK is the fastest route. However, depending on city traffic, flying may actually be the slowest way.
The shortest way isn't always the fastest way. Nor is the most direct route always the fastest way. And if you never go to New York City even once in your life, these facts are rules to live by on the network, as well.
Routers use packet switching to move messages from one place to another on a network. Messages are divided into packets before they move out onto a network. During transmission, each packet is independent of the others. In fact, each packet in a message could take a different route to the destination. That's packet switching; the point is that all the packets in a message get to the destination, not how they get there.

Choosing a router

Depending on the number of machines and networks you need to connect, you may not need special purpose hardware to be your router.
  • A router for a Small Office/Home Office: If several networked computers share a connection to the Internet via cable or DSL, you can use the computer attached to the network device as your router. You need to add some kind of Internet sharing software to this computer. Microsoft's ICS (Internet Connection Sharing) is one example of Internet-sharing software. Software packages are available for other operating systems as well. The routing software checks to see whether packets should stay on the local net or go out to the Internet. Because the routing software doesn't work too hard, it doesn't disturb other programs that are running on the computer.
    Be sure to protect your Internet connection with a firewall.
  • For larger companies: Routers that do more than route: Companies that connect their subnets to the Internet need a more powerful, more intelligent router than a small office with a dozen computers. A special purpose router is the solution. A combination router/firewall is a good solution.
  • Really big routers for really big networks: These are the routers that connect the networks of large worldwide corporations. Routers this large and complex handle millions of packets per second and cost millions of U.S. dollars. They form the backbone of the Internet itself.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Tutorials | No comments
Newer Post Older Post Home
View mobile version

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • ‘Strata’ for iOS and Android game review
    There are games that are fun. There are games that look great. And then there are games that do both. Strata is one such game that h...
  • Call of Duty: Ghosts Review
    Developer: Infinity Ward Publisher: Activision Platforms: PC, X360, PS3, PS4, Xbox One Price: £39.99 Reviewing a Call of Duty game is a ...
  • Review: Seagate 600 480GB SSD
    Seagate Joins the Fray It’s been quite an interesting turn of events over the past couple years in the storage industry. Whereas practical...
  • CCBoot - LAN Boot Software for Windows
    LAN Boot Solution Background LAN boot is a technology based on IP (Internet Protocol), UDP (User Datagram Protocol), DHCP (Dynamic ...
  • Adobe Photoshop CS6 Extended 13.0 & Plugins + Textures
    Adobe Photoshop CS6 Extended 13.0 & Plugins + Textures | 3.5 GB Adobe Photoshop CS6 Extended software delivers even more imaging magi...
  • iBuypower Chimera 4SE FX Ultimate: AMD Gaming PC
    iBuypower is offering an AMD-based system in its Chimera 4SE line, which is designed to give users serious gaming performance without a wa...
  • Buying Guide: Find the best headphones
    If you’re looking to get more audio enjoyment from your smartphone, tablet, media player, or computer, new headphones will do wonders. And ...
  • The Last Days of the DSLR
    The DLSR is everywhere. You see it around the necks of tourists, against the faces of pro photographers. Since Canon introduced the Digita...
  • Xbox One vs. PS4: How They Stack Up Today
    Two new gaming consoles. Both very powerful. Both very ambitious. Both about to meet head to head... and do battle for your time, money an...
  • How To Splice Fiber Optic Cable - Mechanical Splice
    Instructions for splicing fiber optic cable with the AFL CS004162 mechanical splice kit. Watch quick overview video at bottom of post. 1.0 ...

Categories

  • Android
  • Apple
  • Audio
  • Blogger
  • C/C++
  • Cabling
  • Cameras
  • Cases
  • CISCO
  • Cooling
  • CPU
  • Desktop
  • DNS
  • Ebook
  • Fiber Optic
  • Gadgets
  • Game
  • Google
  • Graphic Card
  • Hardware
  • HDD
  • HTC
  • HTMLCSS
  • Hyper-V
  • Intel
  • iOS
  • iPad
  • Iphone
  • IT
  • jQuery
  • Laptop
  • Linux
  • Mac
  • MacTut
  • Microsoft
  • Mobile
  • Mouse
  • Networking
  • News
  • Nexus
  • Nokia
  • Nvidia
  • OS
  • PERIPHERALS & COMPONENTS
  • Photoshop
  • Printers
  • Programming
  • Projectors
  • PS4
  • Ram
  • RedHat
  • Review
  • Samsung
  • Scanners
  • Seagate
  • Security
  • Server2008
  • Server2012
  • Servers
  • Smartphone
  • Software
  • Sony
  • Storage
  • Tablets
  • TechNews
  • Template
  • Tutorials
  • TV
  • Ubuntu
  • Voip
  • Webdesign
  • Webiste
  • WebServer
  • Win7
  • Win8
  • Windows Phone
  • Wordpress
  • Workstation
  • XBOX

Blog Archive

  • ▼  2013 (495)
    • ►  December (35)
    • ►  November (332)
    • ►  October (12)
    • ▼  September (27)
      • 20 best iPhone and iPad apps this week
      • Autumn brings a chill for BlackBerry
      • 7 unexpected features in iOS 7
      • Building An “About Us” Page That Reels Readers In ...
      • 50 Funny & Creative Error 404 Pages
      • Transform Your PSD into CSS Faster Using CSS Hat
      • 5 Software To Free More Hard Disk Space On Windows
      • Build Professional Websites Without Any Coding Usi...
      • Cloud Hosting & CDN Services for Web Developers
      • 5 Methods To Serve True Responsive Images
      • 17 Premium Horizontal Scrolling WordPress Themes
      • Operating Systems You May Not Have Heard Of (But S...
      • Beginner’s Guide to WordPress Multisite with MAMP
      • 10 Useful Apps to Recover a Lost or Stolen iPhone
      • How To Place Digital Signatures On Any Document / ...
      • 5 Things You Should Consider Before Getting a DSLR
      • Lenovo Vibe X Announced: 5-inch Full HD IPS, 13 MP...
      • How to Sync Files Between Two Computers or More
      • How to Restore Deleted Photos & Videos From a Digi...
      • Sony Xperia Z1 Announced: 20.7 MP Camera, 5-inch F...
      • Samsung's $299 Galaxy Gear smartwatch coming Sept. 25
      • CCBoot - LAN Boot Software for Windows
      • 15 essential open source tools for Windows admins
      • Web technology: 5 things to watch in 2013
      • Exploring TCP/IP Routers
      • Best Nexus 7 Accessories
      • Winners and Losers From Microsoft's Nokia Acquisition
    • ►  August (2)
    • ►  July (10)
    • ►  June (42)
    • ►  May (35)
Powered by Blogger.

About Me

Unknown
View my complete profile