Why should access points be connected to switch instead of hubs?


Network devices play a significant role in building a strong network and enabling a seamless flow of communication from one end to the other one or multiple ends. There are various network devices such as hubs, switches, and routers used for the purpose. They are termed as a network bridge with multiple ports that which use media access control (MAC) addresses to receive and forward the data to the destination devices. All these three devices function differently, even if they are combined into a single device. So, it is important to know which device you should choose depending upon your requirement. This post discusses further details on hubs, switches, routers, their types such as fiber optic switches or Ethernet switches, and features.


These devices are different from each other in features and functionality, and it is important to understand them before making a decision. So, here is a quick overview of all three devices.

  • Hub: Hub is a multiport repeater. It has multiple ports that accept Ethernet connections from different network devices.  It is considered as the least intelligent device as it neither filters the data, nor it knows where the data is supposed to be sent. When a data packet arrives at one of the ports, it is copied to all of the other ports connected to it. As a result, all the devices receive the data packet, even if it is not for them. There are two types of hubs – active and passive. An active hub is a multi-point repeater which can regenerate signals, while a passive hub is a connector which connects wires coming from other systems.
  • Switch: A switch is smarter than a hub. Similar to the hub, it is a connection point for all the devices in the network. However, it is more efficient at passing a data packet across the network. It records the MAC addresses of the computers connected to it in a tabular format. When the data packet arrives, it reads the destination address and sends it to the appropriate system rather than sending it to all connected devices. If the destination address is not available, the switch sends the data packet to all the devices across the network.
  • Router: It is the most intelligent of the three networking devices. It is designed to understand, manipulate, and direct data packets based on their IP addresses. It connects a local area network (LANs) and wide area network (WANs) and features a dynamically updating routing table based on which they make decisions on routing data packets. When a data packet is received, it inspects the IP address and determines if the packet was meant for its network or not. If yes, then it receives the data packet, and if not then it sends it off to another network.

This section explores these networking devices further. With the following points, one can have a clear view of the comparison among a hub, switch, and router.

  • Layers: The hub works on the physical layer (which is layer 1) of open system interconnection (OSI) model, while a switch works on the data link layer (layer 2) of the OSI model. The router works on the network layer of the OSI model.
  • Functions: As discussed earlier, a hub can connect multiple Ethernet devices as a single segment, whereas a switch can join multiple devices within one LAN.  A router can link both LAN as well as WAN.
  • Device Type: The hub is the least intelligent device as it simply passes a received data packet to all the devices connected to it. Both, the switch and router are considered as the intelligent devices as they send the received data packets to appropriate devices.
  • Data Transmission Form: The data transmitted through a hub is in the form of an electrical signal or bits; through a switch, it is in the form of frame and packet. Through a router, it is in the form of a packet.
  • Transmission Mode: The hub uses a half-duplex mode to exchange the data. A switch uses a half/full-duplex mode, while the transmission mode in a router is full-duplex. 
  • Address Used for Data Transmission: An Ethernet switch works based on the MAC address. This is in contrast to an Ethernet hub. On the other side, a router works based on IP address.

The information provided in this post will help you better understand these networking devices in detail. If you are looking to expand your network using the above networking devices, then it is important to source them from a trusted supplier such as VERSITRON. The company offer reliable network solutions at affordable prices. The company specializes in industrial ruggedized switches, fiber optic switches, fiber media converters, and more.


When I arrived at this company, someone had mentioned that there were some wireless problems. Mostly with coverage but also with connectivity and stability. Without really looking into the issue, I suspected I knew what the issue was and I was correct. I’ll reveal that, uh, revelation (for lack of a better word) later. The solution was quick and simple though: get a better piece of equipment and configure it properly. That solution handles most problems with hardware.

What I ended up doing, was bringing a piece of equipment from my house to show the company that this is the right thing to have and convince them to purchase the device. That piece of equipment: A Ubiquity AP AC Pro. The main thing is that this equipment is solely meant for wireless and connectivity to wireless only. It doesn’t do any routing. This may not mean anything to you now, but it will once we get into what I am actually talking about.

What did I Mean?

These days, most people are familiar with a wireless router. It is a piece of equipment that allows you to play head to head Candy Crush on your couch with your 2012 iPad Mini. It works great in most small networks, especially in homes. It connects to the modem, it broadcasts a wireless name that you enter in your device, you may even plug your printer into it and you have a little network going. What most people don’t realize, is that a wireless router is essentially 3+ devices stapled together into one convenient piece of hardware that includes, but is not limited to, a network switch, a router, a wireless access point, and security (firewall).

Lets investigate the different parts and how they work together.

Switch

The word router gets thrown around a lot but when you are plugging computer, printers, etc. into the device that is actually more of the switch component. Years ago, switches replaced hubs and allow for devices on the same subnet to communicate with each other. That is, if you plug multiple devices into a switch (and they have IP addresses), they can communicate with each without the need for a router. So, when a router has 4 or more ports that are listed as ‘LAN’ that is actually the switch component of the device.

There are dedicated switches, for more complex networks, that allow for multiple devices. Many switches are unmanaged, as in they are plug and play and most managed switches are also plug in play. However, switches can bring complexity to them, if required, in terms of security (MAC binding and VLANing, for example) to redundancy (STP related processes). While wireless routers are almost always plug and play, some do offer other functionality out of the box.

Router

Everyone knows this word but not many knows what it actually is/does. Routing helps traverse information across subnetworks. If you take a new, generic wireless router out of a box and plug your computer into it, you will likely get an IP address to the order of 192.168.1.x. Another machine plugged into the same switch would get something to the order of 192.168.1.y /24. Those 2 addresses are in the same network (or subnetwork) and can communicate to each other just with a switch (assuming they are addressed on the same subnetwork) and they really don’t need a router to communicate.

If the first computer wanted to talk to another computer on a different subnet, say with IP address 10.10.10.x /24, then a router would need to be involved. In short, the router determines which interface traffic should go out to reach the other subnet. In most cases, it needs to reach out to another router (often called a gateway) that will deliver the packets.

In terms of relativity, the device with IP address 10.10.10.x /24 would have a gateway that would determine the interface to get back to the 192.168.1.0 /24 subnet. Most commercial routers can handle multiple subnets so those paths may all lead back to the same physical device and can easily be routed from there.

Now, those 2 IP subnets (192.168.1.0 /24 and 10.10.10.0 /24) are reserved for private networks, so, they will not likely traverse the internet when calling to those. But reaching out to, say, google.com (with the help of DNS it just translated for me to 64.233.177.139) would also follow the same logic: let’s find the best “path” to get me into whatever subnet the Google translated address (64.233.177.139) is in. Realistically, traffic (packets) will traverse to a series of switches/routers until it hits its destination. We really don’t care how it gets there and, honestly, it doesn’t always follow the same path to get to the destination just as there are a lot of ways to reach a restaurant when driving. Depending on traffic, construction/repairs and other outages, your path may be altered to reach your destination. We deal with the same kinds of problems from basic routing of information. Along with some other protocols, we expect the router, and really the routers along the way, to get us to our destination in the most effective manner possible.

Honestly, routing is a lot more complicated than that. There are a lot of different ways to do it and myriad protocols, as well as a ton of options and conditions that can be set.

Access Point

Another word that is of recognition is Access Point. In a sense, it is synonymous with WiFi.

The idea of an access point is very similar to a switch. The main difference is the physical hardware/connections that are made such that the network connections are made with wireless signals. An access point itself does not execute any kind of routing. It simply makes the connection to the network and that traffic finds its way to the router if it needs to go to a different subnet.

There are a lot of different components with wireless: security, channel and band type to name a few. On its lowest level, I would say that access point configuration and WiFi is more complicated than operating a network switch (which can be plug and play; unmanaged). Other WiFi spots in the area will affect the channel that is needed (often Auto channel is selected by default to assist in picking the least busy channel).

Security considerations need to include encryption methods and strong passphrases with/without a RADIUS server which is a sort of database.

Other Stuff

Most wireless routers encapsulate the three previous points. Often, there is other stuff that the routers including these days, too. It almost exclusively includes things to help with performance and security.

Things like a Stateful Packet Inspection (SPI) Firewall, VPN configuration, VLANs (Virtual Local Area Network) and DMZ assignment are some examples of security operations that are common within a wireless router.

Alternatively, things like Quality of Service (QoS), bandwidth throttling and capping, and Guest Networks are a few examples of different features widely available in most wireless routers.

Final Thoughts (A La Jerry Springer)

Going back to the opening anecdote, I suspected that some of these wireless issues that the company was having were related to the wrong kind of hardware/configuration. Upon further investigation, the access points that were in place were actually wireless routers and they had the routing portion left on. This can work, and had to some degree, but it adds extra overhead by having both of those wireless access points performing routing, as well.

We have a dedicated router/firewall in this office. Simply put, this device should be handling most (if not all) of the routing that needs to occur. While one of the routers was connected back to our main router, the other is a guest router that should be separate from the internal network. As a temporary fix, I disabled the routing functionality of the first wireless router, so it would continue to act as an access point and added my (Ubiquiti) access point for extra coverage. It certainly helped the coverage and stability. Recently, I moved the Ubiquiti to the location of the wireless router to blanket coverage (as close as I could to the center of the office) and that seems to be the best fix, as I suspected.

There are many kinds of wireless operating modes and wireless gear. Using a wireless router in a network with dedicated network appliances can be problematic if not configured correctly. Simply turning off the routing on the wireless router acting as an access point would have improved the situation but, utilizing hardware that is made for a specific function (wireless with good coverage) is the only way to go and that’s the difference.

Scrutinize those network setups and do it happily! Cheers!

Toplist

Latest post

TAGs