Monday, 22 May 2017

DIFFERENCE IN BETWEEN ROUTER, SWITCH (LAYER 2 AND LAYER 3), BRIDGE AND HUB:

After Reading This Article, You’ll Understand The Difference In Between a Switch, A Router, And A Layer 3 Switches.


OSI 7 LAYERS



FIRST UNDERSTAND THE OSI MODEL CONSISTS OF 7 LAYERS THEY ARE :


  • Application layer
  • Presentation layer
  • Session layer
  • Transportation layer
  • Network layer
  • Data-link layer
  • Physical layer




    For More About - > OSI 7 LAYERS :
    For More About - > OSI – TCP Vs UDP:
    SWITCHES Work At Layer 2 Of The OSI Model (Data-Link) And Switch Ethernet Frames Between Ethernet Devices.

    It Is A LAN Device That Can Also Be Called A Multi-Port Bridge. A Switch Switches Ethernet Frames Between Ethernet Devices. Switches Do Not Care About IP Addresses Nor Do They Even Examine IP Addresses As The Frames Flow Through The Switch. However, Unlike A Hub That Just Duplicates Data And Sends It Out All Ports, Switches Keep A Bridge Forwarding Table That Shows What MAC Addresses Have Been Seen On What Port.

    ROUTER : In General-Purpose Routers, Packet Switching Takes Place Using A Microprocessor.

    A Router, On The Other Hand, Works At Layer 3 Of The OSI Model (Network). It Is A WAN Device That Connects A LAN To A WAN Or A Subnetted LAN To Another Subnetted LAN. A Router Routes IP Packets Between IP Networks. Routers Do This Using An IP Routing Table. In That Table, They Have Either Static Or Dynamic Routes. When An IP Packet Comes In, The Router Looks Up The Destination IP In The IP Routing Table. If That Destination IP Is Not Found In The Table The Router Drops The Packet, Unless It Has A Default Route. Routers Form Broadcast Domains Because They Drop Broadcast Packets.


    ROUTER VS SWITCH



    DIFFERENCE BETWEEN ROUTER AND SWITCH :


    Switches And Routers Have Been Separate And Distinct Devices. The Term Switch Was Reserved For Hardware-Based Platforms That Generally Functioned At Layer-2. For Example, Atm Switches Perform Hardware-Based Forwarding Of Fixed-Length Cells Whereas Ethernet Switches Use Mac Addresses To Make Forwarding Decisions. Conversely, The Term Router Has Been Used To Refer To A Device That Runs Routing Protocols To Discover The Layer-3 Topology And Makes Forwarding Decisions Based On Hierarchical Layer-3 Addresses. Because Of The Complexity Of These Tasks, Routers Have Traditionally Been Software-Based Devices. Routers Have Also Performed A Wide Variety Of "High Touch" And Value Added Features Such As Tunneling, Data-Link Switching (DLSW), Protocol Translation, Access Lists, And Dynamic Host Configuration Protocol (DHCP) Relay.

    A Router Is Similar In A Switch In That It Forwards Packets Based On Address. But, Instead Of The MAC Address That A Switch Uses, A Router Can Use The IP Address. This Allows The Network To Go Across Different Protocols.

    • Router Understand IP Head, And Switch Deal With MAC Address.

    • Router Has Its Own IP Address(Es), And Switch Don’t.

    • Router Has An Operating System Running Inside, And Allow Administrator To Login Into The System.

    • You (Network Administrator) Must Configure Routing Table To Make It Works.

    • Switch Is Usually Ready To Use.

    • Router Has Routing Software Running Inside, Including Route Discovery Protocol.

    • Routing Software Know How To Deal With Different IP Packet, Such As ICMP And Other IP Option Functionality. Switches Don’t.

    • Multiple Routers Can Be Connected Together As A Network.

    • You Can’t Directly Multiple Switches Together To Form A Large Network.


    ROUTER VS LAYER 3 SWITCHES



    ROUTER VS LAYER 3 SWITCHES:


    Network Switches Operate At Layer 2 Of The OSI Model While Network Routers Operate At Layer 3. This Often Leads To Confusion Over The Definition Of "Layer 3 Switch."

    Layer 3 Switches Were Conceived As A Technology To Improve On The Performance Of Routers Used In Large Local Area Networks (LANS) Like Corporate Intranets. The Key Difference Between Layer 3 Switches And Routers Lies In The Hardware Technology Used To Build The Unit. The Hardware Inside A Layer 3 Switch Merges That Of Traditional Switches And Routers, Replacing Some Of A Router's Software Logic With Hardware To Offer Better Performance In Some Situations.

    Routers Were Devices That Connected The LAN To The WAN And Switches Were Just LAN Devices And You May Add A Layer 3 Switch To The LAN If You Had Some VLANS And Didn't Want To Use A Router.

    In General, A Layer-3 Switch (Routing Switch) Is Primarily A Switch (A Layer-2 Device) That Has Been Enhanced Or Taught Some Routing (Layer 3) Capabilities. A Router Is A Layer-3 Device That Simply Do Routing Only. In The Case Of A Switching Router, It Is Primarily A Router That Uses Switching Technology (High-Speed Asics) For Speed And Performance (As Well As Also Supporting Layer-2 Bridging Functions).

    The Idea Of Creating Layer-3 Switch Is Basically To Efficiently Do Inter-VLAN Routing Or To Do Internal Routing Between Multiple Broadcast Domains (Multiple LAN Where Each LAN Has Its Own Subnet) While Keeping Layer-2 Features Such As Spanning Tree And Trunking. However To Deal With "Border" Or "Edge" Of The Network And A Router Is Used Since A Router Is Basically Designed To Handle Traffic Across The Border Or The Edge Network.

    In A Layer 3 Switch Performs This Using Application Specific Integrated Circuit (ASIC) Hardware. Layer 3 Switch Is Really Like A High-Speed Router Without The WAN Connectivity.

    When It Comes To Layer 3 Switching, There Are Two Kinds: Hardware And Software. With A Hardware-Based Solution, The Device Is Using An ASIC (A Dedicated Chip) To Perform The Function. With The Software Implementation, The Device Is Using A Computer Processor And Software To Perform The Function. Generally, Layer 3 Switches And High-End Routers Route Packets Using Hardware (Asics) And General-Purpose Routers Use Software To Perform Routing Functions.

    The Layer 3 Switch Is There To Route Between Different Subnets Or VLANS On A Campus LAN Or Any Sort Of Large LAN. This Means That The Layer 3 Switch Is Really For Large Ethernet Networks That Need To Subnet Into Smaller Networks. Most Of The Time, This Is Done Using VLANS.

    • Routers Work At Layer 3 And Route IP Packets Between Networks.

    • For Some Of The Higher-End Cisco Switches, Enabling Layer 3 Switching Is Simply A Software Upgrade Available For A Fee.

    • Layer 3 Switches Are Used Primarily For Inter-VLAN Routing.

    • Layer 3 Switches Don’t Have WAN Connectivity


    • The Layer 3 Switch Looks Like A Switch. It Has 24+ Ethernet Ports And No WAN Interfaces.

    • The Layer 3 Switch Will Act Like A Switch When It Is Connecting Devices That Are On The Same Network.

    • The Layer 3 Switch Is The Same As A Switch With The Router’s IP Routing Intelligence Built In.

    • The Switch Works Very Quickly To Switch Or Route The Packets It Is Sent.

    Layer 3 Switches Often Cost Less Than Traditional Routers. Designed For Use Within Local Networks, A Layer 3 Switch Will Typically Not Possess The WAN Ports And Wide Area Network Features A Traditional Router Will Always Have.

    WHY WE NEED A LAYER 3 SWITCH :


    • Network With A Lot Of Broadcasts That Needs Better Performance.

    • Subnets And/Or VLANS That Are Currently Connected Via A Router.

    • Higher Performance VLANS.

    • Departments Need Their Own Broadcast Domains For Performance Or Security.

    • Considering Implementing VLANS.

    In General, You Want To Use A Router When Most Of The Time The Device Does Routing. Likewise, You Want To Use A Switch When When Most Of The Time The Device Does Switching. This Statement Becomes More Apparent When Dealing With Larger Network Like An ISP Or Large Corporation.

    Example In ISP Is That They Use Router (At Least 7600 Series) To Have Full View Of BGP (The Edge Router). As For Their "Internal Network", They Use Layer-3 Switches (Usually Catalyst 6500 Series).

    Cisco Catalyst Layer-3 Switches Are 3560, 3750, 4500 Series, 4900 Series, And 6500 Series. The Following Are Illustrations Of Layer-3 Switch With Examples Of Catalyst 3550 And 3560 Feature And Capabilities. Note That Catalyst 3550 Is Considered EOL And The Current Replacement Is The 3560.

    There Is Another Major Architectural Difference Between A Layer 3 Switch And A Router. A Traditional Router Organizes Bridging (Layer 2) And Routing (Layer 3) As Peers. A Layer 3 Switch Layers Routing On Top Of Switching, Permitting A More Natural Networking Architecture While Greatly Facilitating Scalability.

    CharacteristicLayer 3 SwitchLegacy Router
    Routes core LAN protocols: IP, IPX, AppleTalkYesYes
    Subnet definitionLayer 2 switch domainPort
    Forwarding architectureHardwareSoftware
    RMON supportYesNo
    PriceLowHigh
    Forwarding performanceHighLow
    Policy performanceHighLow
    WAN supportNoYes
    For More About - > CISCO - LAYER 3 SWITCHING :
    For More About - > CISCO - LAYER 2 AND LAYER 3 SWITCH EVOLUTION

    SWITCH VS BRIDGE



    DIFFERENCE BETWEEN SWITCH AND BRIDGE:


    Network Switches And Bridges Are Both Layer 2 Devices. They Operate At The Data Link Layer (Layer 2) Of The OSI Reference Model. Network Switches And Bridges Have Many Similarities And Similar Function. But Switches Are Considered As Superior Devices Than Bridges, And Both Can Filter Data So That Only The Appropriate Segment Or Host Receives A Transmission.

    Both Filter Packets Based On The Physical Address (AKA MAC - Media Access Control - Address) Of The Sender/Receiver Although Newer Switches Sometimes Include The Capabilities Of A Router And Can Forward Data Based On IP Address (Operating At The Network Layer) And Are Referred To As IP Switches.

    In The Cisco World, The Bridge Forwarding Table Is Called A CAM Table, Or Content Addressable Memory Table. If A Switch Receives An Ethernet Frame For A Destination That It Doesn’t Have In Its Table, It Floods That Frame Out To All Ports (Like A Hub Does All The Time).

    However, The Switch Learns From The Response Of That Flood And Records The Response To That Frame In Its Forwarding Table For The Next Time. Switches Form Collision Domains. In Other Words, The Switches “Play Traffic Cop” With The Inbound Frames By Buffering Each Packet Before Switching It. This Way, There Are No Collisions And, To Each Device Connected To The Switch, It Seems Like That Device Has Its Own Ethernet Segment And Can Talk At Full Speed, Without Risk Of Collisions.

    Using Either A Switch Or A Bridge But *In General* Bridges Are Used To Extend The Distance Capabilities Of The Network While Minimizing Overall Traffic, And Switches Are Used To Primarily For Their Filtering Capabilities To Create Multiple, Smaller Virtual LAN's Out Of One Large LAN For Easier Management/Administration (V-LAN'S).

    FOLLOWING ARE THE MAJOR DIFFERENCES BETWEEN NETWORK SWITCHS AND BRIDGES.


    • Packet Forwarding In Bridges Are Performed Using Software. Packet Forwarding In Switches Are Performed Using Asics (Application Specific Integrated Circuits).

    • Switches Operate Comparatively Higher Speeds That Bridges.

    • Method Of Switching Of A Bridge Is Store And Forward. Method Of Switching Of A Switch Can Be Store And Forward, Cut-Through Or Fragment-Free.

    • Normally A Switch Has More Ports Than A Bridge.

    • Bridges Can Operate Only In Half Duplex Mode, But A Switch Can Operate Both In Half Duplex Or Full Duplex Mode.

    • Both Bridge And Switch Has One Collision Domain Per Port, But Switches Have One Broadcast Domain Per VLAN.

    • Switchs Support Full-Duplex Local Area Network (LAN) Communication.


    HUB VS SWITCH



    DIFFERENCE BETWEEN A HUB AND A SWITCH :

    Hubs Are Commonly Used To Connect Segments Of A LAN. A Hub Contains Multiple Ports. When A Packet Arrives At One Port, It Is Copied To The Other Ports So That All Segments Of The LAN Can See All Packets.

    In A Hub, A Frame Is Passed Along Or "Broadcast" To Every One Of Its Ports. It Doesn't Matter That The Frame Is Only Destined For One Port. The Hub Has No Way Of Distinguishing Which Port A Frame Should Be Sent To. Passing It Along To Every Port Ensures That It Will Reach Its Intended Destination. This Places A Lot Of Traffic On The Network And Can Lead To Poor Network Response Times.

    The Biggest Problem With Hubs Is Their Simplicity. Since Every Packet Is Sent Out To Every Computer On The Network, There Is A Lot Of Wasted Transmission. This Means That The Network Can Easily Become Bogged Down.

    Additionally, A 10/100Mbps Hub Must Share Its Bandwidth With Each And Every One Of Its Ports. So When Only One PC Is Broadcasting, It Will Have Access To The Maximum Available Bandwidth. If, However, Multiple Pcs Are Broadcasting, Then That Bandwidth Will Need To Be Divided Among All Of Those Systems, Which Will Degrade Performance.

    Switch: A Switch Steps Up On A Bridge In That It Has Multiple Ports. When A Packet Comes Through A Switch It Is Read To Determine Which Computer To Send The Data To. This Leads To Increased Efficiency In That Packets Are Not Going To Computers That Do Not Require Them.

    A Switch, However, Keeps A Record Of The MAC Addresses Of All The Devices Connected To It. With This Information, A Switch Can Identify Which System Is Sitting On Which Port. So When A Frame Is Received, It Knows Exactly Which Port To Send It To, Without Significantly Increasing Network Response Times. And, Unlike A Hub, A 10/100Mbps Switch Will Allocate A Full 10/100Mbps To Each Of Its Ports. So Regardless Of The Number Of Pcs Transmitting, Users Will Always Have Access To The Maximum Amount Of Bandwidth. It's For These Reasons Why A Switch Is Considered To Be A Much Better Choice Then A Hub.

    Router: A Router Is Similar In A Switch In That It Forwards Packets Based On Address. But, Instead Of The MAC Address That A Switch Uses, A Router Can Use The IP Address. This Allows The Network To Go Across Different Protocols.

    Routers Are Completely Different Devices. Where A Hub Or Switch Is Concerned With Transmitting Frames, A Router's Job, As Its Name Implies, Is To Route Packets To Other Networks Until That Packet Ultimately Reaches Its Destination. One Of The Key Features Of A Packet Is That It Not Only Contains Data, But The Destination Address Of Where It's Going.

    A Router Is Typically Connected To At Least Two Networks, Commonly Two Local Area Networks (Lans) Or Wide Area Networks (WAN) Or A LAN And Its ISP's Network .



    CONCLUSION:


    The Goal Of This Article Is To Give An Easy Way To Understand The “DIFFERENCE IN BETWEEN ROUTER, SWITCH (LAYER 2 & LAYER 3), BRIDGE AND HUB". Hope This Article Will Help Every Beginners Who Are Going To Start Cisco Lab Practice Without Any Doubts.

    Some Topics That You Might Want To Pursue On Your Own That We Did Not Cover In This Article Are Listed Here, Thank You And Best Of Luck.

    This Article Written Author By: Premakumar Thevathasan. CCNA, CCNP, CCIP, MCSE, MCSA, MCSA - MSG, CIW Security Analyst, CompTIA Certified A+.
  • 31 comments:

    Annalise Campbell said...

    Nice post!! Thanks for sharing. If you want to know about Orbi Router Login you can visit here.

    Roberts Leo said...

    Love to read this blog its very helpfull for me.

    SwitchTechSupply can provide Fastest Ethernet Switch can transfer data packets at a rate of 10 megabits per second. A Gigabit Ethernet switch transfers data packets at relatively higher speeds of one gigabit per second. In comparison, a Gigabit Ethernet switch can transfer data packets at around 100 times faster than a Fast Ethernet switch. Know get Best Switch from SwitchTechSupply at very low price.

    BUY ROUTERS AND SWITCHES said...

    Thanks for sharing this valuable resource with us. I'm sure it will be a valuable asset for many people.

    amd ryzen threadripper pro 3955wx
    ryzen threadripper 3970x
    amd ryzen 3970x

    BUY ROUTERS AND SWITCHES said...



    Thanks for sharing this valuable resource with us. I'm sure it will be a valuable asset for many people.Also, have a look on these amazing Network products:

    jl256a
    j9774a
    j9776a

    NETGEAR Router Login said...

    Quite impressive post. You have provided a great Netgear Router Login solution. Thanks for sharing & looking forward for reading more…
    router login


    NETGEAR Nighthawk setup

    NETGEAR WiFi extender setup

    NETGEAR Modem Router setup

    NETGEAR Genie Download

    192.168.1.1

    netgear orbi wifi 6

    routerlogin.net not working

    NETGEAR product registration

    NETGEAR router not connecting to internet

    how to setup a NETGEAR router without a modem?

    How do I power cycle my home network?

    Pinsol said...

    Salut, j'aime ça, nous sommes une société de fournisseur d'accessoires et de solutions de réseautage. Pour plus d'informations sur les commutateurs réseau et autres, rendez-vous dans la section du blog Pinsol.

    Ubiqcom said...

    Single Band Router provides high internet speed and high data security with more efficient data transmission security. It has two external high-gain omnidirectional antennas and a wireless transmission rate of up to 300Mbps. It has the characteristics of strong penetrating power and wide coverage.

    CloudInfotech said...

    Grandstream Webcams in the GUV series include a Full HD USB camera that enables high-quality audio and video collaboration through laptops, computers and more. Grandstream webcam is compatible with all major third-party communication platforms, apps and softphones as well as Grandstream’s IPVideoTalk Meetings and Wave app.

    Ubiqcom said...

    UBIQCOM INDIA is a leading manufacturer and supplier of high-quality FTTH and VoIP equipment made in India. It is a top-notch firm engaged in offering cutting-edge FTTH solutions solutions to homes and enterprises. Contact us for one-stop solutions at a reasonable cost! Call +91 9910771797

    CloudInfotech said...

    Grandstream GSC3506 SIP speaker offers modern features to address the public through announcements. It offers crystal clear HD audio, SIP paging, multicast paging, and a 30-Watt HD speaker. It is the ideal speaker for any organization. Contact Cloud Infotech to get the best device at the most affordable price.

    CloudInfotech said...

    Cloud Infotech is the best GSM Gateway provider in Delhi at a very low cost, easy and flexible IP telephony solution to enterprises, SMEs and business offices, etc. GSM Gateway is compatible with Industries like call centres, SMEs business setups, and large enterprises.

    GrandstreamIndia said...

    Grandstream Full HD IP Camera is suitable for SMBs. Easy to set up, deploy and manage, these cameras offer a proactive security system to keep a user’s facility secured and protected. The GXV 3600 camera series features full HD resolution and automatic voice and video call recording.

    Dinstar India said...

    Dinstar gsm gateway is integrated with GSM/WCDMA/LTE connectivity and SIP protocol compatible with mainstream VoIP platforms, it is suitable for enterprises, multi-site organizations, call terminators and areas with limited landlines like the rural area to cut down telephony costs and enable easy & efficient communications.

    Ubiqcom said...

    A GPON OLT is a device that would resonate with your existing working environment and make it better. If you want to see the difference, you can check it by deploying this device in your organization, today! UBIQCOM manufactures GPON OLT at an affordable price as we are the manufacturer of GPON OLT delivering this device PAN India.

    Ubiqcom said...

    UBIQCOM is XPON ONU supplier in Dehradun, Uttarakhand. It supports Dual mode(Can access EPON/GPON OLTs). UBIQCOM is the maker organization in Dehradun, Uttarakhand UBIQCOM is the provider of XPON ONU in Dehradun covering all of Uttarakhand and nearby states with a high degree of service and support quality.

    Ubiqcom said...

    UBIQCOM is the FTTH solution provider in Jammu and Kashmir that offers products and services related to fiber optic technology to enable high-speed internet access and other advanced services for homes and businesses.

    Ubiqcom said...

    UBIQCOM is the olt service provider in karnal that offers products and services related to fiber optic technology to enable high-speed internet access and other advanced services for homes and businesses.

    wfhubiqcomseo said...

    UBIQCOM is the Gpon onu router in Chennai that offers products and services related to fiber optic technology to enable high-speed internet access and other advanced services for homes and businesses. Contact us today for more about FTTH solutions and broadband devices at affordable prices.

    wfhubiqcomseo said...

    UBIQCOM is the onu supplier in karnal that offers products and services related to fiber optic technology to enable high-speed internet access and other advanced services for homes and businesses. Contact us today for more about FTTH solutions and broadband devices at affordable prices.





    wfhubiqcomseo said...














    EPON OLTs with Advanced Security Features for Protected Networks provide advanced features such as traffic shaping, VLAN support, and bandwidth allocation, EPON OLTs are a powerful tool for network operators and service providers. EPON OLTs provide a simple and secure way to deploy and manage high-speed communication networks.

    Cloud Infotech said...




    Grandstream door phones series offers a complete end-to-end solution for access control, video/audio intercom, and security needs. Grandstream Audio Door Phone supports a built-in microphone and speakers to support the intercom facility and is integrated with electric locks for locking and unlocking the gate.

    Cloud Infotech said...

    The Grandstream GSC3505 is a 1-way public address SIP speaker that allows offices, schools, hospitals, apartments and more to build powerful public address announcement solutions that expand security and communication. It comes with a modern industrial design and rich features, the GSC3505 is the ideal SIP speaker for any setting.

    wfhubiqcomseo said...

    UBIQCOM is the 1GE GPON/XPON ONU manufacturer, supplier & exporter in India and we are providing the best price for GPON 1GE ONU. UB5010 G features high-performance forwarding capabilities to ensure an excellent experience with Internet and HD video services. It provides a perfect terminal solution and future-oriented service-supporting capabilities.

    orbi satellite not working said...

    The biggest reason why you are going nuts because of the Orbi satellite not working issue is because your Orbi satellite is not synced properly with the Orbi router.

    los angeles said...

    The biggest reason why you are going nuts because of the Orbi satellite not working issue is because your Orbi satellite is not synced properly with the Orbi router.

    wfhubiqcomseo said...

    XPON ONT is the ultimate solution for all your fiber optic needs, delivering unparalleled speeds and reliability for both residential and business customers. With its easy installation and advanced features, you can enjoy seamless connectivity and top-quality services.

    Cloud Infotech said...

    poly wired headset is the best audio headset present in the market and is known for its clear audio quality and stylish design that is built to provide comfort for all-day use. Poly Wired Headset provides you with the best experience in calls and gives you controls to manage your calls.


    shubham1234 said...

    KVCH provides CCNP training to help IT professionals gain expertise in networking concepts and technology. Our experienced trainers use hands-on training and real-world scenarios to ensure that our clients are well-equipped to take on complex networking challenges. Join our CCNP program today!

    ccnp course, ccnp training online

    Dinstar India said...

    The Dinstar team is dedicated to delivering high-quality support for technical queries. Dinstar ensures a smooth and hassle-free customer support experience for better resolution of issues with utmost satisfaction. Contact Dinstar Support at 09999284312 / Email: mailto:info@dinstarindia.in

    Ubiqcom said...

    Connect To World with high-class broadband solutions provided by UBIQCOM DUAL BAND WIFI ONT in Mumbai. We manufacture and deliver every type of FTTH solution through a powerful chain of suppliers and distributors all over India at a very affordable price.

    Ubiqcom said...

    Send and receive multiple calls at a time with the best quality VoIP gateway. PRI gateway permits old conventional telephone lines to convey voice, information and video effectively. Get in touch with UBIQCOM to know the best PRI Gateway price and features.

    PAN-OS Supported ciphers

    Following is a list of supported ciphers for PAN-OS 7.1 and later: SSLv3 Ciphers Supported (No change from PAN-OS 7.0) Non-FIPS mod...