• 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


tamil video fucking  gujarati ma nagi varta  pyasi chut  shreya sex story  chudai sex story hindi  sania nude photos  karma sutra for lesbians  hot desi aunties images  bollywood divas nude  mallu aunties hot photos gallery  tamil adults story  hot telugu sex aunties  telugu real sex stories new  malayalamsex stories  pdf tamil sex stories  sex rape kahani  maa o chele  rita reporter in tarak mehta  exhibitionist wife pictures  meyer gud  urdu sex stories in urdu fount  desi school girl video  desi ses stories  sexy aunty clevage  hindi incest sex kahaniya  kashmir xxx videos  erotic kahani  larka larki k kapry utarta hai video  desi sex joke  sex stories marathi  desi cleavage  maa ko choda sex stories  Sex hot urdu stories maza a jiae boobs  kanchan ramlal  free prons clips  hot tamil aunty pics  priya preeti twins  bangladesh sex forum  tamilsex stories in tamil font  tamil.sexstories.sex/thread-454.html  arpita and other aunties  mene sex  marathi chavat katha  all actres nude image  telugu sex sites  maa aur beta sex stories  www.antarvasna hindi sexy story.com  desi sexi hindi stories  sexy teacher ki chudai story  xxx telugu sex videos  nepali aunty xossip  malayam xx  indian erotic stories pdf  oriya sex photo  telugu sex stories in telugu new  sexy bhabi hindi stories  online sex stories in telugu  mallu aunty photo gallery  watch free desi porn movies  nangabollywood.com  indian girl with hairy armpit  tamil dirty stories 4u  tamil bad sex stories  bollywood actress fakes  tamil actress sex kadhai  kannada se stories  mula chappal photos  Punjabi sexy Kwari kudian walpapet  amma pavadai  mujra nude  urdu writing sex story  amma paiyan stories  hindi sex kahani 2013  tv actress nude images  mast gand  telugu fucking stories  www.bangla sex stories.com  sexy hindi story in hindi fonts  booby indians  hinde sex storei  stories of mastram  hot auntes images  saree stripped  3sum sex  fudi story  kamapisachi telugu sex kathalu  maa ki chudai sex story  tamil font sex storys  sweetpussy pic  incent indian stories