Difference between hub and spoke and star topology

Hubs and Switches in Star Topologies

In this step, we will look at the role of a hub or a switch in a star network.

4.7

87 Reviews
  • You were able to compress

    20 May, 2021

    You were able to compress huge information without missing the details required.

    Amaka E.
    Visit the course
  • Introduction to Computer Network...

    03 Nov, 2021

    A very good course. Recommended for Teachers new to networks, looking for SKE or a refresher on this topic.

    Andy F.
    Visit the course
  • Professional Course

    23 Mar, 2021

    I really enjoyed the course, it was well presented and good content, thanks

    David R.
    Visit the course
  • Very well put together Course

    15 Aug, 2021

    This is a concise summary of what you need to know about networks with some great ideas for exercises that you could do with students

    Richard H.
    Visit the course
  • Awesome

    29 May, 2021

    I liked all of the courses and also the teachers.

    Sayeeda K.
    Visit the course
  • Its little lengthy but it...

    08 Dec, 2021

    If talk about content do that is high. And if you are interested in computer networking so you must be join this course.

    Almas K.
    Visit the course
  • Fantastic Course!

    26 Jun, 2021
    This course was the perfect level for me. A a returning teacher who has always taught FE and HE and able to steer away from networking I have found it ...

    This course was the perfect level for me. A a returning teacher who has always taught FE and HE and able to steer away from networking I have found it difficult to work in the secondary sector due to being too specialised. This course showed me networking was not the evil I thought it was it made it interesting, showed how to teach it well, what w Fantastic Course! as expected of students in the subject and importantly showed the application in real world scenarios which Ive always found easier to understand concepts this way as it makes the learning have meaning. Looking forward to completing more courses

    Expand Collapse
    Sharon W.
    Visit the course
  • Great

    08 Sep, 2021

    Good course. Excellent content. A great tutorial type of method. I encourage everyone to please attend these courses. Very informative. Thanks

    Doctor U.
    Visit the course
  • A different perspective

    13 Jul, 2021

    Sometimes it takes an explaination suitable for kids to be able to really grasp something, and I think this course does that really well.

    Lorenzo F.
    Visit the course
  • Its little lengthy but it...

    12 Aug, 2021

    If talk about content do that is high. And if you are interested in computer networking so you must be join this course.

    Almas K.
    Visit the course
In this step, we will look at the role of a hub or a switch in a star network.You will also learn more about how addresses and other fields are added to data that is sent, about the idea of encapsulation, and about how to build an Ethernet frame.

The Ethernet Hub

In the previous step you learned that bus topology was phased out in favour of star topology, which has a central connection point. Initially this was a hub. Each device connected to it using a dedicated UTP cable that linked into one of the hubs ports.On its way to the hub, a signal will have picked up some noise. As long as the noise does not cause the signal to cross a threshold level, the hub can recreate each bit, effectively removing the noise. This process is called regeneration. If there is too much noise, errors occur during regeneration: a binary 1 may be regenerated as a binary 0 or vice versa.
The hub has no understanding of what the signals mean. It just sees them as electrical signals to be regenerated and sent to all other connected devices.

CSMA/CD

Unlike the wireless Aloha network, devices in a wired network can detect whether another device is transmitting data.

Want to keep
learning?

This content is taken from
Raspberry Pi Foundation online course,

An Introduction to Computer Networking for Teachers

View Course
Before sending data, a device first determines whether anyone else is transmitting by checking for a carrier signal on the wire. If the wire is clear, the device starts to send its data. If the device detects another transmission, it waits until the wire is clear before trying again. However, another device may have also sensed the wire was clear and also started to transmit. This would cause a collision, so all the data would be corrupted. To combat this, each device monitors the wire while it is sending its data. If a collision is detected, all devices stop transmitting and wait a random time before retrying. This system of Carrier Sense, where there is Multiple Access to the cable and a Collision Detection system, is known as CSMA/CD. This allows multiple devices to access the same connecting media.

Fragmentation

To stop any one device hogging the wire by sending a large amount of data as one block, there is a rule that a device cannot send more that 1500 bytes of data in one go. Data larger than this must be split into smaller chunks that are sent separately this is called fragmentation. Fragmentation gives the other devices a chance to slot in their transmissions in between, thus ensuring fair access to all devices.

Ethernet protocol, MAC addresses and frames

A set of conventions and rules that govern the communications between devices is called a protocol. The 1500 byte limit, the CSMA/CD rules, and the need to send destination and recipient addresses are all part of the Ethernet protocol.
The structure of the data sent via the physical media is called a frame. An Ethernet frame has five different sections, called fields, for the pieces of information necessary for transmission.
  • One field is for the data that is being transmitted.
  • Two fields contain the destination and source addresses, which are called MAC addresses [for Media Access Control]. They are 48 bits long, and are usually referred to in hexadecimal notation, e.g. cd:f1:24:e4:89:a1.
  • The Type field is used to indicate what type of data the frame is carrying. You will learn more about this in a later step.
  • The Frame Check Sequence [FCS] is used to detect whether errors have occurred during transmission.
The actual process used to generate the FCS is called Cyclic Redundancy Check [CRC] and is a complex mathematical process beyond the scope of this course. However, it is similar in concept to a checksum: the sender adds the data values together as it sends, and appends this sum to the end of the data in the FCS. The receiver adds the data values together as they arrive and compares this sum to the appended one; a difference in the sums indicates an error. Try this class activity to see a checksum in action.
The four non-data fields together wrap around the data as the Ethernet Frame, in what is called encapsulation.
.
Note that there are different frames for different media types, such as point-to-point, fibre-optics, dial-up, ADSL, wireless, 3G/4G/5G, etc.

Switch-based LANs

Unlike an Ethernet hub, a switch learns the address of each device connected to its ports by looking at the source addresses in the Ethernet frames it receives. It then builds a table, mapping each device to the port it is connected to, so that it can switch incoming frames to the correct device by looking at the destination address in the incoming frame. If the destination address is not in the switchs table, the switch defaults to a hub behaviour and sends the frame out on all ports. Modern switches are capable of switching traffic between multiple ports simultaneously.
A network with a switch at the core and multiple devices connected in a star topology is called a Local Area Network, or LAN; the LAN may itself be connected to another network.

Next up

In the next section, you will take a quiz to review what youve learned about connections, hubs, switches, and Ethernet frames.

Questions

  • What happens to an electrical signal when the interference is so bad that the noise takes the signal over the threshold?
  • What happens when you plug a new device into a switch?
Share your ideas and answers in the comments section below.

Want to keep learning?

This content is taken from Raspberry Pi Foundation online course
An Introduction to Computer Networking for Teachers
View Course

Share this post

See other articles from this course

Video liên quan

Chủ Đề