Network Devices
As far as I am concerned with
Repeater
- A dumb, 2 port output device
- Works at physical layer (OSI layer 1)
- Transmits data between 2 devices only
Bridge
- A slightly smarter Repeater
- Works at layer 1, has 2 ports, connects 2 devices
- Can filter data based on mac addresses
Hub
- Works at Physical Layer i.e. OSI Layer 1
- Contains multiple physical ports (assume multiple LAN cable points)
- A dumb device, always broadcasts all data from one port to all other ports
- No division of network
- Only half-duplex transmission
- For more info, visit GFG
Switches
- Works at Data Link Layer i.e. OSI Layer 2
- Switches can divide the network at data link layer using VLANS
- Smart, uses MAC ids to identify source and destination
- Full duplex, controls bandwidth used by individual LANs
- More info on GFG
Routers
- Works at Network (IP) Layer i.e. OSI Layer 3
- Divides network based on IP subnets
- A layer 3 switch = Router with VLAN (layer 2) capabilities
- More info on GFG