0% found this document useful (0 votes)
62 views5 pages

Filtering vs. Non-filtering Networking Devices

The document discusses the key differences between repeaters, hubs, switches, bridges, and routers. Repeaters and hubs operate at the physical layer and simply retransmit signals, resulting in no filtering and collisions across all connected devices. Switches operate at the data link layer and can filter traffic by MAC address, eliminating collisions. Bridges connect different LANs at the data link layer, forwarding packets between LANs using MAC addresses and filtering traffic that is not on the other LAN. Routers connect networks at the network layer using IP addresses, forwarding packets between networks and flooding traffic if the destination is unknown.

Uploaded by

man
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views5 pages

Filtering vs. Non-filtering Networking Devices

The document discusses the key differences between repeaters, hubs, switches, bridges, and routers. Repeaters and hubs operate at the physical layer and simply retransmit signals, resulting in no filtering and collisions across all connected devices. Switches operate at the data link layer and can filter traffic by MAC address, eliminating collisions. Bridges connect different LANs at the data link layer, forwarding packets between LANs using MAC addresses and filtering traffic that is not on the other LAN. Routers connect networks at the network layer using IP addresses, forwarding packets between networks and flooding traffic if the destination is unknown.

Uploaded by

man
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Repeater:

 Work on physical layer

 Signal can travel just 200 meter, after 200 meter signal become weak, so after 200
meter we have placed repeater we again strengthen the signals. It regenerate strength,
so can by this signal can travel long distance.
 Repeater is 2 port device, means we can connect two devices.
 It perform forwarding. If A has to send message to B, Repeater forward signals from A
to B.

 It perform no filtering.
 It’s collision domain is ‘n’

Hub:
 It works on physical layer, means it is also purely hardware.
 It is a multiport multiport repeater
 If any problem occur in wire, then repeater will not tell about occurance of problem in
wire, but Hib has extra functionality, because it Is a dedicated device
 It perform Forwarding
 It has no filtering, If A has to send message to B, then wo msg B ko to jaye ga hi, sath m
wo msg C or D ko b jaye ga, yaha pa koi b filtering ni h, kio k yha pa koi software to h ni,
bs hardware hi h, to is k pass koi logic to available ni hogi
 Collision domain is possible in Hub also, if A send Message, at Same time B send
message, At same time C send message, Hub has no buffer so collision will occur.

Switch
 It works in data link (layer 2) layer.

 Bridge connect 2 LAN’s with each other


 Switch is multiport bridge, means it connect more LAN networks together.

 It is full duplex link. Means all links can send data to all links, if data is sent from A to
Switch, than data can also be travel from switch to A parallely. So that’s why in this
collision is zero.
 Its collision domain is zero
 Its traffic is minimum

Sr. Hub Switch


No
1. Hub is a physical layer Switch is a data link layer device i.e. layer
device i.e. layer 1. 2.
2. A Hub works on the basis of Switch works on the basis of MAC
broadcasting. address.
3. A Hub is a multiport A Switch is a tele-communication device
repeater in which a signal which receives a message from any device
introduced at the input of connected to it and then transmits the
any port appears at the message only to the device for which the
output of the all available message is intended.(filtering)
ports.(no filtering)
4. Hub is not an intelligent A Switch is an intelligent device as it
device that may include passes on the message to the selective
amplifier on repeater. device by inspecting the address.
5. At least single network is At least single network is required to
required to connect. connect.
6. Hub is cheaper as Switch is an expensive device than hub.
compared to switch and
router.
7 Collision domain is n Collision domain is zero

Bridge:
 It works on data link layer
 It connects two different LANs. For example, at one side if we use Token ring, on the
other side we can use token bus


 It perform Forwarding. When data is send data packet has Mac address of source and
destionation, when packet arrive to bridge it can decide on which host data has to send
by seeing destination address. As it works on data link layer, it is combination of
hardware and software.
 If data is to send from M2 to M6. So when packet arrive it checks if Mac address is
available on the other side, if yes then it will forward the packet.
 It also perform filtering. If M2 has to send data to M3, the packet arrive at bridge, it
checks if mac address is available on the other side, as in this case the is ‘no’, so in this
case onstead of forwarding it will perform filtering,
 It is check by use of this table maintained by bridge:

 It has two types of bridges, static and dynamic.


 Static bridges are those in which MAC address remain same. Agr Mac address change ho
jye to bridge ko pta ni chla ga
 Dynamic bridges ma mac Adress change hna ki capacity rkhi jati h, is m continuous
leanrning ho ri hti, dynamic will take time initially to make table because at first table is
empty in this case. When one host send data to other than on base of that it start
updating it’s table. In real life using dynamic bridges is better.
 No collision can occur in bridge, because it use store and forward methodology. It has
buffer
 Bridge use Bridge Data Unit protocol. It is use to avoid loops, kio k multiple paths hte, to
wo loop m phuns skte, to us sa bchne k liya ya protocol use hta

Router:
Works in both data link and network layer. Network layer ki bt krte to mtlb ya IP address ko b consider
krta h

it works In internet, means it works in WAN

It is forwarding

It also use filtering

In this multiple routers can be connected.

Agr router decide ni kr pata k data ko kaha bhjna, to wo fload kr dete, means wo data ko hr direction m
bhj dta

In this there is no collision, because it use store and forward.

In this it use Routing table, to decide where to send data

Common questions

Powered by AI

Hubs are the most cost-effective but offer the least functionality, primarily broadcasting signals without filtering, leading to reduced efficiency in large networks . Switches are more expensive due to their ability to intelligently filter traffic using MAC addresses, which improves network performance by minimizing unnecessary broadcasts and collisions . Routers are the most complex and costly, as they operate at both data link and network layers to manage and route data between distinct networks, often involving variable configurations for WAN traffic management .

Collisions are not possible in a switch because it provides full-duplex connections between devices, allowing simultaneous send and receive operations. Each connection to the switch operates in its own collision domain, effectively isolating devices and preventing collisions. In contrast, a hub's shared broadcast nature causes all devices to operate in the same collision domain, where simultaneous transmissions can collide .

Switches inspect MAC addresses to intelligently filter and direct packets only to the intended destination device, reducing network congestion and increasing efficiency, unlike hubs that broadcast incoming traffic to all ports without inspection. This capability allows switches to manage network traffic more effectively, performing selective transmission, which is crucial for reducing collisions and optimizing bandwidth usage .

A repeater works at the physical layer to regenerate and strengthen signals over longer distances but has no intelligence to manage network traffic beyond signal boosting between two connected devices . A hub, also at the physical layer, functions as a multiport repeater, but while it forwards all incoming signals to every connected port, it does not regenerate signals. This operation, without any filtering, can exacerbate network traffic with unnecessary broadcasts .

Routers operate at both the data link and network layers, enabling them to forward data based on IP addresses, which is essential for internet connectivity. They utilize routing tables to determine the optimal path for data, applying filtering to ensure packets are sent only to the appropriate network segment. If a router cannot determine the correct path, it may resort to flooding the network by sending packets in all directions to reach the destination .

Dynamic bridges are preferred in real-world applications because they can adapt to changes in network topology by continuously updating their MAC address tables as devices communicate. This capability allows them to efficiently manage traffic without manual reconfiguration, unlike static bridges which cannot adapt to MAC address changes and may suffer from outdated tables if the network changes .

Bridges enhance LAN connectivity by filtering and forwarding data based on MAC addresses, thereby managing traffic more efficiently than repeaters, which simply amplify signals. Bridges prevent unnecessary data from traversing network segments, reducing congestion and improving overall performance. Additionally, bridges support more complex configurations by connecting different LAN types, such as Token Ring and Token Bus, unlike repeaters which are limited to signal regeneration across the same medium .

The store-and-forward methodology resolves network challenges such as data collisions and inefficiencies in data handling. By temporarily storing incoming packets before forwarding them based on network conditions and routing tables, this method ensures data integrity and reduces packet loss. It also supports error checking and flow control, addressing the inefficiencies observed in hubs that broadcast indiscriminately .

A hub operates at the physical layer and broadcasts incoming traffic to all ports without filtering, which can lead to collisions if multiple devices transmit simultaneously . A switch, on the other hand, operates at the data link layer and uses MAC addresses to filter traffic, directing packets only to the intended recipient, hence minimizing collisions and broadcast traffic .

A bridge operates at the data link layer and connects two different LANs by forwarding data packets based on MAC addresses. It uses the Bridge Data Unit protocol to prevent loops by maintaining a table that helps determine whether the packet should be forwarded or filtered. Dynamic bridges learn MAC addresses over time, continuously updating their tables to optimize traffic management .

You might also like