• Sign in / Join

Login

Forgot your password?
Do not have an account ?Register here
X

Register

Have an account?Login here
X
  • Home
  • Blog
  • Image Gallery
  • News Archive
    • Hardware News
    • Gaming News
    • Affiliate News
Trending now

800,000 Views on YouTube channel

New time for podcast

Xbox Starts FIre; Complains About Heat |…

FSR 4.1 Black Flag Resynced | Driver…

The Steam Leveling Trick Nobody Knows

Xbox layoffs (PARODY) | The real reason…

Assassin’s Creed Black Flag Remastered completely crashes…

Xbox layoffs, Sony backpedals, Valve cashes in…

Budget Mic Earns Sweet Streamer Money? |…

This Budget Controller Exposed Everything Wrong With…

OCmodshop.com

  • Hardware
    • Audio
    • Cases
    • Coolers
    • Gadgets
    • Home Theater
    • Input Devices
    • Laptops
    • Memory (RAM)
    • Motherboards
    • Networking
    • Power Supplies
    • Processors (CPU)
    • Storage
    • Video Cards
  • Gaming
    • Gaming Accessories
    • Game Walkthroughs
    • PC Games
    • Xbox
    • Playstation
    • Nintendo
  • Articles
    • How-To Guides
    • Case Mod Projects
    • Software
    • Event Coverage
    • Movies
    • Interviews
  • Podcast
FacebookTwitterYoutubeTwitchSteam
Articles

Routers vs Switches vs Hubs

by John-ErikNovember 21, 2004November 28, 201400
Share0

A router uses TCP/IP or another routable protocol to determine where traffic that reaches it should go. Most routers are two segment (e.g. it can only route between a private network and the internet), but there are multisegment routers.

A switch uses Ethernet MAC-level routing between each individual port, meaning that there is a maximum cross-sectional bandwidth of the number of ports times the maximum speed per port (effectively each port has its own dedicated bandwidth). For instance, my gigabit switch has eight ports and can run at full duplex (2000 Mbps) so I have a maximum cross-sectional bandwidth 16000 Mbps.

A hub shares the same bandwidth for every port, and can usually only run in half duplex. For instance, a 10/100 Hub with 8 ports has a maximum cross-sectional bandwidth of 100 Mbps, but that same switch would have 1600 Mbps of cross-sectional bandwidth since each port can run at 200 (100 in each direction) Mbps and each port has its own dedicated bandwidth.

A router can handle traffic at TCP/IP level rather than an Ethernet MAC level, and hence can also do some fancy tricks like sharing the internet. There are literally dozens of reasons to go with a router. Most consumer routers combine a router and a switch into one; one port of the router goes to the internet, and another port of the router goes into an eight port switch (interally of course so you don’t see it) and you get 8 ports on your LAN.

The only way a switch can share an internet connection is if each machine has its own internet acessible IP address.  With a router you can use one IP to share the internet to several internal private IPs.

 
In my case my new setup will have the following:
                       /– GALAXY (dual Xeon server)
                      / 
                     /– Extra IP
                    /     
DSL Modem – Switch <– SINGULARITY (Sun webserver)
                    \
                     \– QUANTUM (dual PIII server I’ll have in the future)
                      \
                       \                   IBM ThinkPad
                        \                 /
                         Router – Switch < Desktop
                                          \
                                           Dual processor workstation

This is a pretty good example.  Each connection to the first switch will have its own internet IP address, but those computers behind the router/firewall will have only a private (invisible to the internet) IP address.

 
(obviously this isn’t the entire topology – it’s a bit more complex but this is the basic topology)
Post Views: 1
Share0
previous post
HC Technology DH-720G Dolby Headphones Review
next post
Gaming News November 2004
John-Erik

Recent Posts

  • 800,000 Views on YouTube channel
  • New time for podcast
  • Xbox Starts FIre; Complains About Heat | OCmodcast Episode 10
  • FSR 4.1 Black Flag Resynced | Driver Update Disaster
  • The Steam Leveling Trick Nobody Knows
OCmodshop.com
FacebookTwitterYoutubeTwitchSteam
@2026 - ocmodshop.com. All Right Reserved.
  • About Us
  • Terms of Use / Privacy Policy
  • Copyrights
  • Our Rating System
  • Publish an Article on OCmodshop
  • Contest Rules
OCmodshop.com
FacebookTwitterYoutubeTwitchSteam
  • Hardware
    • Audio
    • Cases
    • Coolers
    • Gadgets
    • Home Theater
    • Input Devices
    • Laptops
    • Memory (RAM)
    • Motherboards
    • Networking
    • Power Supplies
    • Processors (CPU)
    • Storage
    • Video Cards
  • Gaming
    • Gaming Accessories
    • Game Walkthroughs
    • PC Games
    • Xbox
    • Playstation
    • Nintendo
  • Articles
    • How-To Guides
    • Case Mod Projects
    • Software
    • Event Coverage
    • Movies
    • Interviews
  • Podcast
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}