Skip to main content

Posts

Showing posts from August, 2018

What is Switch?

Switches are similar to hubs . They are used to exchange data within a local area network. Unlike hubs, they are intelligent  and smarter networking devices. A switch operates at the data link layer(Layer 2) of the OSI model. Switches connect devices together within one local area network (LAN) and learn physical addresses(mac addresses) of the devices that are connected to it and store these physical addresses in its table. It does not read IP addresses . When a data packet is sent to a switch it is only directed to the intended destination port. Some switches can also process data at the network layer(Layer 3) by additionally incorporating routing functionality. Advantages of Switch over Hubs:- Reduce unnecessary traffic It is a multi-port bridge that has 24/48 ports It detects specific devices that are connected to it as it keeps a record of the Mac addresses of those devices

What is a Network Hub?

Hub is the most simple networking device which is used to connect all network devices on an internal network. It detects whether a device is physically connected to it or not. It is a Layer 1 device in OSI reference model and is best for small and simple local area networks. It is not intelligent because it does not filter any data. When a packet is received by one port, the data is copied to all other ports and is seen by all connected devices. It has 4/12 ports . Drawbacks of Hubs are:- Rebroadcast- Forwards packets across all ports. Creates Security concerns- Traffic could not be safeguarded. Unnecessary traffic which reduces bandwidth.