Jump to content



Switch & Hub: Ποιες οι διαφορές?


jpavly

Recommended Posts

To switch στέλνει κάθε πακέτο στο δικό του προορισμό ενώ το hub στέλνει κάθε πακέτο σε όλα τα μηχανήματα που είναι συνδεδεμένα πάνω του. Σίγουρα καλύτερο είναι το switch αν και δύσκολο να βρεις HUB σήμερα σε κατάστημα πληροφορικής...

Δεν το κατάλαβα ακριβώς.... μπορείς να το εξηγήσεις λίγο πιο αναλυτικά? Κάνε κι ένα παράδειγμα να καταλάβω ακριβώς.

Θα φέρψ σήμερα-αυριο switches στο μαγαζί και δεν ξέρω τα ακριβή τους πλεονεκτήματα σε σχέση με τα hubs...

σε ενα δικτυο με hub otan ενα pc στελνει ενα πακετο σε ενα αλλο το μυνημα το λαμβανουν ολα οσα ειναι σινδεμενα στο hub kai απλα το αποριπτουν γιατι δεν προοριζεται για αυτα. Με switch ομως τα πακετα πανε μονο στον παραληπτη που αντιστοιχουν, με αποτελεσμα πολυ λιγοτερη σιμφορηση στο δικτυο. γενικα τα hub δεν εχουν λογο υπαρξης πλεον οταν ενα 8port switch ξεκιναει απο τα 20 euro

Θα μπορούσα να τα γράψω στα Ελληνικά αλλά δεν θα τα κατάφερνα τόσο καλά:

A repeating hub is intended for shared Ethernet or half-duplex Ethernet where only one station can transmit at a time, otherwise collisions happen. Collisions must be sensed by all stations on the network in order to discard the transmitted frame that has been corrupted and to notify all stations that bus arbitration is occurring.

Based upon a back-off algorithm, one station will win bus arbitration, thus gaining sole access to the network and, therefore, allowing it the ability to transmit without error. A repeating hub must be transparent to the network and must, therefore, reinforce collisions so that stations connected to repeating hub ports can continue to participate in network arbitration as if the repeating hub were not present. Repeating hubs must perform in other ways in accordance to IEEE 802.3 requirements for repeater sets. They must:

* Restore the amplitude of the signal

* Restore the symmetry of the signal

* Retime the signal

* Rebuild the preamble

* Enforce collisions on all segments

* Extend fragments

Repeaters and repeating hubs are physical layer devices operating on symbols sent over the wire. Repeaters do not understand Ethernet frames or protocols. Their role is to simply extend distance and to facilitate star topology.

A switching hub or 'switch' is not a repeater but actually a bridge which acts upon the content of the Ethernet frame it receives and forwards the frame to the appropriate port on the switch. For example, if station A is connected to switch port 1 and station B and C are each connected respectively to ports 2 and 3, a message from A to B should only require the passing of the data from ports 1 to 2 but not to port 3. The switch could do this if it knew all the station locations. The switch learns these locations by observing the source addresses of Ethernet frames sent to its ports. It builds up a table of station addresses for each port and studies this table before forwarding the frame. If the switch does not know the location of a particular station address, it floods the frame to all ports except the port on which the frame was received. As soon as the unknown station announces its location by initiating a frame, the switch will update its table accordingly.

Like a repeater, a switching hub is also effective in expanding a network beyond two stations. However, unlike a repeater, a port on a switch becomes an end point to the link segment attached to its port. Each switch port functions like any other Ethernet station except it passes along the data and station addresses generated by originating stations. Therefore, each switch port must abide by the same arbitration rules for collision detection and access resolution, but it need not pass collision information to other switch ports because these ports reside in separate collision domains. Switching hubs are fundamentally different from repeating hubs and, therefore, their performance can differ as well.

link

OK το κατάλαβα! Thanks to all! :T:

Όντως δεν υπάρχει λόγος για να υπάρχουν τα hubs απ'ότι φαίνεται, αλλά γιατί υπάρχουν ακόμα στην αγορά?

@cattino το μαγαζί είναι στις αρχές της Συγγρού.

κοιτα για ενα τοπικο δικτυο με χαμηλο κοστος μπορεις να πας στην λυση του hub αλλα μονο αν παραγοντας ειναι το πιο χαμηλο κοστος και οι απαιτησεις του δικτυου χαμηλες

Από τη στιγμή που ένα 8πόρτο (sic) switch βγαίνει απ'ότι βλέπω γύρω στα 20€ τελική, τι πιο φθηνό να ζητήσεις? Υπάρχει hub πιο φθηνό?

Αρχική απάντηση από Makis Hourdakis

To switch στέλνει κάθε πακέτο στο δικό του προορισμό ενώ το hub στέλνει κάθε πακέτο σε όλα τα μηχανήματα που είναι συνδεδεμένα πάνω του. Σίγουρα καλύτερο είναι το switch αν και δύσκολο να βρεις switch σήμερα σε κατάστημα πληροφορικής...

μακη εδω και ~4 χρονια εχουν σταματησει να τα Hub. Δεν ξερω γιατι δεν μπορεις να βρεις...

Λέω ίσως γιατί δεν ξέρω μήπως υπάρχουν ακόμα τπτ μεγάλα repeating hubs στην αγορά λόγω κόστους επειδή εκεί παίζεις με πιο χοντρές διαφορές.

edit: εεεεεεεεε...... Sorry, HUB ήθελα να γράψω... Το διορθώνω αμέσως... :o

Αρχική απάντηση από jpavly [Σήμερα, στις 15:27]

Από τη στιγμή που ένα 8πόρτο (sic) switch βγαίνει απ'ότι βλέπω γύρω στα 20 τελική, τι πιο φθηνό να ζητήσεις? Υπάρχει hub πιο φθηνό?

ελα ντε?

Αρχική απάντηση από jpavly

Από τη στιγμή που ένα 8πόρτο (sic) switch βγαίνει απ'ότι βλέπω γύρω στα 20 τελική, τι πιο φθηνό να ζητήσεις? Υπάρχει hub πιο φθηνό?

Πάντως προσωπικά δεν θα με χάλαγε αν έδιναν δώρο με περιοδικά 8πορτα HUBs... :hehe: :hehe: :hehe:

  • 4 months later...

DIGGING OUT AGAIN.

Να ρωτήσω! Συνδέω adsl modem σε switch και σε αυτό 2 PCs. Χρειαζεται να ξαναδώσω IPs και στα 2 ή βλέπονται αυτόματα;

Αυτόματα βλέπονται, αλλά πρέπει οι ip τους να είναι σύμφωνη με του modem.

Μου κάνει κάτι κουφά.

Δεν μου βγάζει πάντα το εικονίδιο του δικτύου στο tray αλλά και ούτε μποτώ να μπώ στο network connections για να διορθώσω-βάλω IP. Στο net και στο άλλο PC βέβαια μπαίνω κανονικά.

DLINK Des1008D είναι το switch.

Ο χρήστης που είναι logged in έχει δικαίωμα να κάνει αλλαγές στις ρυθμίσεις το δικτύου;

Archived

This topic is now archived and is closed to further replies.

×
×
  • Δημιουργία...

Important Information

Ο ιστότοπος theLab.gr χρησιμοποιεί cookies για να διασφαλίσει την καλύτερη εμπειρία σας κατά την περιήγηση. Μπορείτε να προσαρμόσετε τις ρυθμίσεις των cookies σας , διαφορετικά θα υποθέσουμε ότι είστε εντάξει για να συνεχίσετε.