somewhere in... blog
x
ফোনেটিক ইউনিজয় বিজয়

হাব ও সুইচের মধ্যে পার্থক্য

২৩ শে নভেম্বর, ২০০৬ দুপুর ১২:৩৪
এই পোস্টটি শেয়ার করতে চাইলে :

What is the difference between an Ethernet hub and switch?
Although hubs and switches both glue the PCs in a network together, a switch is more expensive and a network built with switches is generally considered faster than one built with hubs. Why?
When a hub receives a packet (chunk) of data (a frame in Ethernet lingo) at one of its ports from a PC on the network, it transmits (repeats) the packet to all of its ports and, thus, to all of the other PCs on the network. If two or more PCs on the network try to send packets at the same time a collision is said to occur. When that happens all of the PCs have to go though a routine to resolve the conflict. The process is prescribed in the Ethernet Carrier Sense Multiple Access with Collision Detection (CSMA/CD) protocol. Each Ethernet Adapter has both a receiver and a transmitter. If the adapters didn't have to listen with their receivers for collisions they would be able to send data at the same time they are receiving it (full duplex). Because they have to operate at half duplex (data flows one way at a time) and a hub retransmits data from one PC to all of the PCs, the maximum bandwidth is 100 Mhz and that bandwidth is shared by all of the PC's connected to the hub. The result is when a person using a computer on a hub downloads a large file or group of files from another computer the network becomes congested. In a 10 Mhz 10Base-T network the affect is to slow the network to nearly a crawl. The affect on a small, 100 Mbps (million bits per scond), 5-port network is not as significant.




Two computers can be connected directly together in an Ethernet with a crossover cable. A crossover cable doesn't have a collision problem. It hardwires the Ethernet transmitter on one computer to the receiver on the other. Most 100BASE-TX Ethernet Adapters can detect when listening for collisions is not required with a process known as auto-negotiation and will operate in a full duplex mode when it is permitted. The result is a crossover cable doesn't have delays caused by collisions, data can be sent in both directions simultaneously, the maximum available bandwidth is 200 Mbps, 100 Mbps each way, and there are no other PC's with which the bandwidth must be shared.
An Ethernet switch automatically divides the network into multiple segments, acts as a high-speed, selective bridge between the segments, and supports simultaneous connections of multiple pairs of computers which don't compete with other pairs of computers for network bandwidth. It accomplishes this by maintaining a table of each destination address and its port. When the switch receives a packet, it reads the destination address from the header information in the packet, establishes a temporary connection between the source and destination ports, sends the packet on its way, and then terminates the connection.
Picture a switch as making multiple temporary crossover cable connections between pairs of computers (the cables are actually straight-thru cables; the crossover function is done inside the switch). High-speed electronics in the switch automatically connect the end of one cable (source port) from a sending computer to the end of another cable (destination port) going to the receiving computer on a per packet basis. Multiple connections like this can occur simultaneously. It's as simple as that. And like a crossover cable between two PCs, PC's on an Ethernet switch do not share the transmission media, do not experience collisions or have to listen for them, can operate in a full-duplex mode, have bandwidth as high as 200 Mbps, 100 Mbps each way, and do not share this bandwidth with other PCs on the switch. In short, a switch is "more better."

A switch (switching hub)
A switch (switching hub) in the context of networking refers to a device which filters and forwards data packets across a network.

Unlike a standard hub which simply replicates what it receives on one port onto all the other ports, a switching hub keeps a record of the MAC addresses of the devices attached to it.

When the switch receives a data packet, it forwards the packet directly to the recipient device by looking up the MAC address.

A network switch can utilise the full throughput potential of a networks connection for each device making it a natural choice over a standard hub.

In other words, say for instance you had a network of 5 PCs and a server all connected with 10Mbps UTP cable, with a hub the throughput (10Mbps) would be shared between each device, with a switch each device could utilise the full 10Mbps connection.

When using a switch instead of a hub it is common place to create a faster throughput connection between the switch and the server (backbone).

For example if you had 10 PCs connected to the switch with 10Mbps cable then it would improve performance to use a 100Mbps connection from the switch to the server.

সর্বশেষ এডিট : ৩১ শে ডিসেম্বর, ১৯৬৯ সন্ধ্যা ৭:০০
১টি মন্তব্য ০টি উত্তর

আপনার মন্তব্য লিখুন

ছবি সংযুক্ত করতে এখানে ড্রাগ করে আনুন অথবা কম্পিউটারের নির্ধারিত স্থান থেকে সংযুক্ত করুন (সর্বোচ্চ ইমেজ সাইজঃ ১০ মেগাবাইট)
Shore O Shore A Hrosho I Dirgho I Hrosho U Dirgho U Ri E OI O OU Ka Kha Ga Gha Uma Cha Chha Ja Jha Yon To TTho Do Dho MurdhonNo TTo Tho DDo DDho No Po Fo Bo Vo Mo Ontoshto Zo Ro Lo Talobyo Sho Murdhonyo So Dontyo So Ho Zukto Kho Doye Bindu Ro Dhoye Bindu Ro Ontosthyo Yo Khondo Tto Uniswor Bisworgo Chondro Bindu A Kar E Kar O Kar Hrosho I Kar Dirgho I Kar Hrosho U Kar Dirgho U Kar Ou Kar Oi Kar Joiner Ro Fola Zo Fola Ref Ri Kar Hoshonto Doi Bo Dari SpaceBar
এই পোস্টটি শেয়ার করতে চাইলে :
আলোচিত ব্লগ

ব্লগটা তো ছ্যাড়াব্যাড়া হয়ে গেলো :(

লিখেছেন সাখাওয়াত হোসেন বাবন, ৩০ শে এপ্রিল, ২০২৪ সকাল ১০:৫৭



আমি আমার ব্লগিং শুরু করি প্রথম আলো ব্লগে লেখালেখির মাধ্যমে। ব্লগটির প্রতি আমি কৃতজ্ঞ। কারণ প্রথম আলো ব্লগ আমায় লেখালেখিতে মনোযোগী হতে শিখিয়েছে । সে এক যুগ আগের কথা... ...বাকিটুকু পড়ুন

লুঙ্গিসুট

লিখেছেন মায়াস্পর্শ, ৩০ শে এপ্রিল, ২০২৪ দুপুর ১:২৪



ছোটবেলায় হরেক রঙের খেলা খেলেছি। লাটিম,চেঙ্গু পান্টি, ঘুড়ি,মার্বেল,আরো কত কি। আমার মতো আপনারাও খেলেছেন এগুলো।রোদ ঝড় বৃষ্টি কোনো বাধাই মানতাম না। আগে খেলা তারপর সব কিছু।
ছোটবেলায়... ...বাকিটুকু পড়ুন

স্বর্ণাক্ষরে লিখে রাখার মত মুফতি তাকি উসমানী সাহেবের কিছু কথা

লিখেছেন নতুন নকিব, ৩০ শে এপ্রিল, ২০২৪ দুপুর ২:২৫

স্বর্ণাক্ষরে লিখে রাখার মত মুফতি তাকি উসমানী সাহেবের কিছু কথা

ছবি কৃতজ্ঞতা: অন্তর্জাল।

একবার শাইখুল হাদিস মুফতি তাকি উসমানী দামাত বারাকাতুহুম সাহেবকে জিজ্ঞেস করা হল, জীবনের সারকথা কী? উত্তরে তিনি এমন... ...বাকিটুকু পড়ুন

=মৃত্যু কাছে, অথবা দূরেও নয়=

লিখেছেন কাজী ফাতেমা ছবি, ৩০ শে এপ্রিল, ২০২৪ বিকাল ৪:০৭



©কাজী ফাতেমা ছবি
দীর্ঘশ্বাস ছেড়ে দিয়ে বলি, আমারও সময় হবে যাবার
কি করে চলে যায় মানুষ হুটহাট, না বলে কয়ে,
মৃত্যু কী খুব কাছে নয়, অথবা খুব দূরে!
দূরে তবু ধরে নেই... ...বাকিটুকু পড়ুন

সবুজ চোখের মানুষের ধাঁধা

লিখেছেন করুণাধারা, ৩০ শে এপ্রিল, ২০২৪ সন্ধ্যা ৬:২৯



এই ধাঁধার নাম সবুজ চোখের মানুষের ধাঁধা; নিচের লিংকে এটার ভিডিও আছে।

স্বৈরশাসকের বন্দী

এই ধাঁধাটি আমার ভালো লেগেছিল, তাই অনেক আগে আমার একটা পোস্টে এই ধাঁধাটি দিয়েছিলাম। কিন্তু সেই পোস্টে... ...বাকিটুকু পড়ুন

×