• HOME
  • AWARDS
  • Search
  • Help
Current time: 30-07-2018, 02:50 AM
Hello There, Guest! ( Login — Register )
› LIFE STYLE › COMPUTER, MOBILE & GADGETS v
« Previous 1 2 3 4 5 6 7 8 ..... 12 Next »

Computers Difference Between Router and Switch

Verify your Membership Click Here

Thread Modes
Computers Difference Between Router and Switch
urpussysucker Offline
Princess Bee
*******
Supporter of en.roksbi.ruMost Number of Threads
Joined: 05 Aug 2014
Reputation: 4,383


Posts: 81,012
Threads: 4,890

Likes Got: 18,879
Likes Given: 18,676


db Rs: Rs 2,328
#1
24-04-2015, 09:11 PM
Difference Between Router and Switch

Router vs Switch
Routers and switches are both networking devices, but they shouldn’t be mistaken to be the same as there is some difference between them. Let us have a look at those differences between a router and a switch in this article. Though both routers and switches are networking devices that are used to interconnect devices in computer networks, a router is more advanced and intelligent than a switch.

A router works in the network layer and the switch works in the data link layer. A switch connects nodes of the same subnet together and forwards packets to the correct port by analyzing the MAC address. A router analyses the IP addresses and routes a packet to the correct destination through the proper gateway . Hence, routers are used for interconnecting networks rather than connecting nodes in a subnet. A router employs complex algorithms known as routing algorithms and hence needs more processing power making is costly.

A switch uses a simple self-learning mechanism making it less costly than a router. An important thing to emphasize in the beginning is that here we refer to layer 2 switches when we say the term switch. In the present, there are devices known as Layer 3 switches, which are rather a combination of a router and a layer 2 switch.

What is a Switch?

A switch is a networking device that connects devices on a computer network together and forward data packets appropriately. This works in the data link layer of the OSI reference mode, and hence, it is known as a layer 2 device. Unlike a repeater hub, a switch does not broadcast packets. Instead, it does store and forward where packets are switched to the appropriate port. A switch self-leans the mapping between the port and the MAC address of a device by using past packets it receives and store these mapping data in a data structure in the switch known as a switch table. So, when a packet is received, the switch stores the packet in the memory of the switch, analyses its destination MAC address, lookup the correct port using the switch table and then forward the packet to the correct port. Due to this mechanism, switch allows multiple simultaneous connections across devices. A switch is a plug and play devices and the administrator has to just fix the ports without any configuration where the switch will learn the things automatically.

What is a Router?

A router is a networking device that routes data packets across a network. It works in the network layer of the OSI reference model, and hence, is a layer 3 device. A router also follows a store and forward mechanism, but a router is more intelligent than a switch. A router maintains a table called a routing table, which consists of the gateway IP through which a packet must be routed to reach a certain destination IP. The routing table can be statically set by the network administrator or can be auto generated using routing algorithms. When a router receives a packet, it first stores the packet in the router memory and analyses the destination IP address of the packet. Then, it lookup the routing table to see through which gateway the packet must be routed. Then, based on that information, it forwards the packet appropriately. As routing algorithms are more complex, it requires considerable processing power making it costly than a switch. However, unlike a switch , a router has to be usually configured by the administrator. A router is used to interconnect subnets rather than connecting nodes on a local area network.

What is the difference between Router and Switch?


• A switch works in the data link layer while a router works in the network layer. Hence, a switch is a layer 2 device while a router is a layer 3 device.

• A router is more advanced and intelligent than a switch.

• A router is more costly than a switch.

• A router needs more processing power to run complex algorithms than what a switch needs.

• A switch reach decisions based on MAC addresses of packets while a router reach decisions based on IP addresses of packets.

• A switch has a table called switch table, which keeps mapping information of MAC address to the specific port it is connected. A router maintains a routing table, which keeps the gateway information to route packets to a certain destination IP.

• A switch occupies simple self-learning algorithms. A router uses complex algorithms called routing algorithms.

• A switch is plug and play and the administrator does not have to configure them. However, a router is usually configured and programmed before and after deployment.

• Switches are used only in local area networks. However, routers are used both in local area networks and wide area networks.

• Switches are usually used for connecting nodes together in a same subnet. A router, on the other hand, is used to interconnect networks in different subnets.

Summary:

Router vs Switch


A switch works in the data link layer while a router works in the network layer. A switch interconnects devices in a subnet and it forwards the packets it receives to the correct port by analyzing the MAC address of packets. A router interconnects different networks together and it routes packets through the correct gateway by analyzing IP addresses of the packets. A router has more complex algorithms than switches hence they are more advanced and intelligent making them costly. Today, there are more advanced switches called Layer 3 switches, which is a layer 2 switch combined with the functionality of a router.

In simple terms, a switch is used to connect devices to a network together. So to setup a simple home network a switch is the appropriate device. A router is used for interconnecting networks together rather than connecting devices. Hence, a router is necessary only if you are setting up a huge network made up of several small networks. Also, a router would be necessary if you are connecting your home network to a WAN such as internet.
Find
Reply


« Next Oldest | Next Newest »


Possibly Related Threads...
Thread Author Replies Views Last Post
Mobiles  Difference between 2G, 3G, 3.5G & 4G rajbr1981 0 65 28-07-2018, 03:03 AM
Last Post: rajbr1981
Computers  Difference Between Wi-Fi and Hotspot urpussysucker 2 3,231 17-11-2015, 10:48 PM
Last Post: urpussysucker
Computers  Difference Between LAN and WAN urpussysucker 0 2,029 01-05-2015, 10:52 PM
Last Post: urpussysucker
Computers  Difference Between GIF and JPEG urpussysucker 0 1,632 01-05-2015, 10:46 PM
Last Post: urpussysucker
Computers  Difference Between Notebook and Laptop urpussysucker 0 2,061 30-04-2015, 02:27 PM
Last Post: urpussysucker
Computers  Difference Between Firefox and Chrome (2014) urpussysucker 0 2,170 29-04-2015, 11:04 PM
Last Post: urpussysucker
Computers  Difference Between Motherboard and Processor urpussysucker 0 1,765 29-04-2015, 12:34 PM
Last Post: urpussysucker
Mobiles  Difference Between iMessages and Text Messages (SMS) urpussysucker 0 1,636 28-04-2015, 10:55 AM
Last Post: urpussysucker
Computers  Difference Between Internet Explorer 11 and Firefox 33 urpussysucker 0 2,025 28-04-2015, 10:51 AM
Last Post: urpussysucker
Computers  Difference Between WWW and HTTP urpussysucker 0 1,828 27-04-2015, 04:36 PM
Last Post: urpussysucker

  • View a Printable Version
  • Subscribe to this thread


Best Indian Adult Forum XXX Desi Nude Pics Desi Hot Glamour Pics

  • Contact Us
  • en.roksbi.ru
  • Return to Top
  • Mobile Version
  • RSS Syndication
Current time: 30-07-2018, 02:50 AM Powered By © 2012-2018
Linear Mode
Threaded Mode


new telugu hot sex stories  nipple pinching video  gif exbii  sexy blackmail stories  bur ka pani  bangla panu story  bengali xx  pictures of nude ladyboys  mallu story malayalam  rekha sex stories  mastrubating gif  sexy doodhwali  real desi mms  vasna stories  mom son desi sex  desi aurat photo  bahu sex story  nude aerobic exercise  telugu xxx vid  sex deepa  rasvanti stories  desi boob in blouse  saheli ki khatir  sexy stoires  gangu sex  bade ki jabaan here masale kirecipe in urdu  sambhog stories  tamil new sex kadhaigal  tamil aex stories  lund chahiye  tamil sexy aunties  malayalam sex hot  irotic story  telgu aunty  veginas image  hot telugu boothu kathalu  sheman porn pic  www.sex in telugu  bangla stories  neha nair pictures  sex stories hindi chudai  hota xxx.com  hindi sexy story in english  lasbin sax  bangla sex choty  new tamil sex storeys  antervasna sexy kahani  indian aunties hot navel  sexy story in urdu writing  desi sex mom son  malayalam sex story pdf  desi sali sex  desi lund stories  kiss andladki ka duth pine valas chatane vala vidio  sex malayalam sex  tollywood aunty hot  leah jaye photos  bahu sex story  www.engilesh sex.com  exbii desi bikini  sex velamma  andar dalo  exbiil  malayalam a sex  arpitha aunty  telugu hot buthu kathalu  poonam pandey hardcore  desi gay kahaniya  desi.bees.chute.com  girls for sex in hyderabad  desi sex story in hindi fonts  sex story in gujarati  marathi chut  anu hassan hot  hot mallu boob pics  new tamil sex storys  incest sex storys  asin sex stories in tamil  aunties boobs picture  malayalam xxxn  glamor images.net  hindi sex stories for reading  telugu stories xxx  tamil homely girls photos  tamil hottest stories  mula chappal photos  puku telugu story  sexy fuck stories in urdu  sax store hindi  real life exbii