• 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


hot stories mallu  sexy marathi story  sex malayalam katha  antarvasna hindi st  latest indian mms clips scandals  sex in malyalam  rita in tarak mehta  hindi sex story hindi fonts  chudai lund se  top ten famous pornstars  boudi sex story  chikni gand  www.madras sex.com  mami ko chooda  sexy images of indian aunties  hindi sex kahani xxx  gadhe jaisa lund  moti gand men shalwar fasti hai pics  doctor urdu sex stories  bollywood hot gif  ma ke niye bra shopping korte giye chud  sex story bangla front  desi lesbian sex kahani  mobile desi tales  sexy stories i hindi  desi sex chats  sexy satorys  mayir pundai  gand lund stories  indian sex stories urdu font  exbii long hair  malayalam xxxn  www.akkasexkathaigal.in  hindi story in hindi font  kerela erotic sex stories  sex joks hindi  saree stripping videos  desi indian mms clip  nude ladyboy photos  chachi ki kahani  andra sex photos  tamil sex stories tamil fonts  exbii fakes  akka pukulo  blackmail mom sex stories  mast hindi story  wife selfshots  doodh pilao  hindi sex stories hindi font  sonia ki chudai  chithi sex stories tamil  tu mast hai maa desibees  kamadevatha kathalu  hot incest cartoons  ras bhari jawani  incest sex comix  indiansex4u movies  gujarati sex stories in gujarati font  suhagraat stories in hindi  xnxx thil  armpit sex gallery  tamil nude photos  navel tamil  hindhi sexy story  boro bara  sexy mom ko choda  xxx arabia sex  gujju aunties  squeeze boobs videos  aunties stripping  exbii desi maal  sexjokes hindi  telugu panimanishi sex stories  hot sex shakeela  chudai sex hindi story  indian sex tales videos  shakeela sex aunty  hyd sex videos  sexclip for mobile  desi lesbos  desi tales story  south indian aunties photos  karchat film hot video  sexyhijra xxx pronevideos  sex stories of amisha patel  चुदक्कड़ औरत और उसका परिवार  aunty nipple  kannada sex stories in kannada  Indian ladki photo fitness asap  bahan ke sath sex  lactating erotic stories  www.antravsna  lactating porn pictures  ladki chut  malayalam masala story  hema aunty navel  mote mote doodh  savita bhabhi hindi comic