• 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


bangla sex story bangla font  tagalog adult stories  lesbian kama sutra  afrikaans seks stories  indian sex stories online  incest sex comix  padosi colony me slut kar choda story  chachi ne sikhaya  baji story  wifelovers pics  gopi saath nibhana saathiya  exbii south  maa bete ki kahani in hindi  indian booby girl  desi prono video  pattaya sex pic  tamil hot aunties pictures  suhagrat hindi sex story  tuilight sex.com  desi poen videos  nepali sex store  aunty nipple  marathi sex sites  chavat stories  mumtaz nude images  boor kya hai  girl undressing pics  desi adult forum  gand chodi  shamantha sex.com  tamil sex kathai in tamil font  hindi comics velamma  xxx videos paki  nudy bollywood  xxx kollywood  kumari sex  exbii indian aunty  tamil amma magan sex stories  chut garam  lund choot kahani  new mms scandal in india  delhi dps mms video  free hindi adult jokes  papa ka mota lund  indian prostitutes pics  hindi sex khani new  boudi ke panty kenate  exbie stories  marathi chavat katha  sexy suna  kashmir college girls  mallu desi pics  malayalam hot sites  malayalam porn sites  aunty sexy saree photos  lucy fire xxx  hindisex storry  desi poen videos  hot auntes images  booby desi aunty  desi cuckold stories  latest sexy stories hindi  nude kashmiri women  Uangli krna xxx muat mara video  desi tales mobiles  indian auntys hot pics  bangla scx  www.tamil sex storis.com  fat desi girl  muslims xxx  kiskochodo  bhabhi ki saheli  chikni gaand  incent telugu sex stories  eriotic scatch  malayalam sex stories for reading  desi auntys photos  chut fad  erotic comics in hindi  ladki ki phudi  bollywood actresses hairy armpits  burgangbang.com  sexy stoiry  আমি বড় বাড়ার চোদন খেতে চাই  telugu aunty tho sex story  pure pusy  indian se stori  hindi tv serial apne  laal chut  பொச்சில்,இருந்து,குழந்தை,வருவது,VIDEOSOS  telugu telugu sex  sexy shemal pic  new sexy storie  kannadasex kathegalu  seks in afrikaans  sexy blackmail stories  my sexy neha gallery  cross dressers sex stories  urdu sexy stroys