Showing posts with label Access Point. Show all posts
Showing posts with label Access Point. Show all posts

Tuesday, February 1, 2022

Difference between Hub and Switch

Difference between Hub and Switch 

Network devices, or networking hardware, are physical devices that are required for communication and interaction between hardware on a TCP/IP network.

Here is the common network device list:

·        Hub

·        Switch

·        Router

·        Bridge

·        Gateway

·        Modem

·        Repeater

·        Access Point

In 2006 The Network Hub is invented at Vancouver, British Columbia, Canada. A hub is a device that connects multiple Ethernet devices on one network and makes them act together as a single network. A hub does not gather information and input in one port results as an output in all ports on the network. A switch is a networking device that performs the same job as the hub but are considered as a more intelligent hub as it gathers information about the data packets it receives and forwards it to only the network that it was intended for. A Hub is a layer-1 device and operates only in the physical network of the OSI Model.

Hubs and switches are devices that are used in data networking on the internet. These devices are used in order to connect two or more networking ports in order to transfer data along the connection. Though the primary job of hubs and switches are the same, to forward data to different networks, they work in different ways.

A hub, also known as Ethernet hub, active hub, network hub, repeater hub or multiport repeater, is a device that connects multiple Ethernet devices on one network and makes them act together as a single network. A hub has multiple input/output (I/O) ports, in which an input in one port results in it being an output in all the other ports, except the port where it was input. In layman’s terms, a hub connects many networks into one, where a data packet that is sent by one networks, is copied and pasted to all network ports, making it so that every port can see that data packet. A hub works on the physical layer or layer 1 of the Open Systems Interconnection (OSI) model. It also works as a data collision detector, sending a jamming signal to all ports if it detects collisions at one port.

It is a simple device that does not examine the data it receives or sends, while just duplicating the data and making it visible for all. The receiving port that has to decide if the data packet is actually intended for it by checking the address on the packet, before passing it on further. Since hubs only have one collision domain, constant collisions occur. Unnecessary traffic is sent to all devices on the network. Originally hubs were popular due to the high price of switches, but switches are not so expensive these days. Hubs are slowly becoming obsolete in many practices, but are still used in special circumstances.

A switch is a networking device that performs the same job as the hub; it connects network segments or devices making them act as a single network. Switches are commonly referred to as a multi-port network bridge that process and routes data on a data link layer or layer of the OSI model. Switches can also process data at the network layer (layer 3) or higher layers and are known as multilayer switches.

Switches are considered as a more intelligent hub as it gathers information about the data packets it receives and forwards it to only the network that it was intended for. When a switch receives a data packet, it examines the data address, the sender and the receiver and stores the memory, after which it then sends the data to the device that the data is meant for.

Most modern Ethernet Local Area Networks (LANs) operate on switches. Small offices and residential devices commonly use single layer switch, while bigger applications require multilayer switches. The switches use a bridge or a router in order to split a larger collision domain to smaller collision domains, resulting in lesser collisions.  Each port has an individual collision domain, allowing computers to maintain dedicated bandwidth.

Hub

Switch

Definition

A hub is a connection point for different segments of a LAN. It contains multiple ports and when it receives a packet of information at one port, it copies this packet to all segments of the LAN so that it can be viewed by all ports.

A switch is multi-port networking device that connects network devices together. A switch operates at the data link layer (layer 2) of the OSI model. A switch filters and then forwards data packets between networks.

Layer

Physical Layer (Layer 1)

Data Link Layer (Layer 2)

Spanning-Tree

No Spanning-Tree

It allows many Spanning-Trees to take place.

Type of Transmission

Broadcast

Broadcast, Uni-cast & Multicast.

Table

No MAC table. Hubs cannot learn MAC address.

Stores MAC address and maintains address.

Used in

LAN (Local Area Networks)

LAN (Local Area Networks)

No of Ports

4

24-48 depending on type of switch.

Collision

Occurs

No collision occurs

Collision Domain

One collision domain

Every port has its own collision domain.

Transmission Mode

Half duplex

Full duplex

Types of Hub

There are three types of the hub that are given below:

1.  Passive Hub

2.  Active Hub

3.  Intelligent Hub

Passive Hub: The passive hubs are the connection point for wires that helps to make the physical network. It is capable of determining the bugs and faulty hardware. Simply, it accepts the packet over a port and circulates it to all ports. It includes connectors (10base-2 port and RJ-45) that can be applied as a standard in your network. This connector is connected to all local area network (LAN) devices. Additionally, the advanced passive hubs have AUI ports, which are connected as the transceiver according to the network design.

Active Hub: As compared to a passive hub, it includes some additional features. It is able to monitor the data sent to the connected devices. It plays an important role between the connected devices with the help of store technology, where it checks the data to be sent and decides which packet to send first.

It has the ability to fix the damaged packets when packets are sending, and also able to hold the direction of the rest of the packets and distribute them. If a port receives a weak signal, but still it is readable, then the active hub reconstructs the weak signal into a stronger signal before its sending to other ports. It can boost the signal if any connecting device is not working in the network. Therefore, it helps to make the continuity of services in LAN.

Intelligent Hub: It is a little smarter than passive and active hubs. These hubs have some kinds of management software that help to analyze the problem in the network and resolve them. It is beneficial to expend the business in networking; the management can assign users that help to work more quickly and share a common pool efficiently by using intelligent hubs. However, it offers better performance for the local area network. Furthermore, with any physical device, if any problem is detected, it is able to detect this problem easily.

The important applications of a hub are given below:

·        Hub is used to create small home networks.

·        It is used for network monitoring.

·        They are also used in organizations to provide connectivity.

·        It can be used to create a device that is available thought out of the network.

Advantages of Hub

1. It provides support for different types of Network Media.

2.  It can be used by anyone as it is very cheap.

3.  It can easily connect many different media types.

4.  The use of a hub does not impact on the network performance.

5.  Additionally, it can expand the total distance of the network.

Disadvantages of Hub

1. It has no ability to choose the best path of the network.

2.  It does not include mechanisms such as collision detection.

3.  It does not operate in full-duplex mode and cannot be divided into the Segment.

4.  It cannot reduce the network traffic as it has no mechanism.

5.  It is not able to filter the information as it transmits packets to all the connected segments.

6.  Furthermore, it is not capable of connecting various network architectures like a ring, token, and ethernet, and more.


Friday, September 18, 2015

Point To Point Communication for IP Camera

Point To Point with Nano Tp-LocoM5

Many Installers are requesting methods to connect their Security Systems. From running cable race ways in commercial buildings to installing conduit above or below ground in residential installations, running wired connections can take a lot of time – which equals more money to spend in labor. This article can serve as a guide on how to maximize the use of our Nano Station Loco M5. In this article we will be going to be utilizing an IP Megapixel system.

Example: IP camera System
Items Needed:-
TP-Loco M5
Any IP camera
Any NVR
Category 5, 5e or 6 Cable / Patch Cables
PoE Switch

Before installing any hardware we first need to configure the Nanos. Lets start by Configuring the Nano that will act as an Access Point. This is the one that will be located at the Main Network.
Nano (Access Point)
Navigate to http://192.168.1.20 on your web browser. If you get this page . Click on “Continue to this website (not recommended)”
This is the correct page you should see displayed on your browser. Once you are here you can log in using UBNT as Username and Password.
Select your Country and agree to the terms of use by ticking the radio button.
Once you have gained access to the Main GUI, navigate to the Wireless Tab
Match the Settings displayed.
Wireless Mode: Access point
WDS : Enabled
SSID: UBNT_Bridge
Security : WPA2-AES
Preshared KEY: UBNT2014
Hit Change but not apply.
Network Mode: Bridge
Static Ip: 192.168.1.159
Match your Gateway as well as the DNS server. In this example we left this out as many networks are different.
Finally hit apply.
Once you have applied the settings your Nano will restart and you can install the Access Point at the Main location where the Main network is.
Nano (Station)
Lets go ahead and open an internet browser.
Navigate to http://192.168.1.20
Use the following credentials to log in.
Username: UBNT Password: UBNT
Select your Country & Language
Check the radio button to Agree the terms of use as.
Once you are loge in navigate to the Network Tab
Use the Following settings
Wireless Mode: Station
WDS : Enabled
SSID: UBNT_Bridge
Security : WPA2-AES
Preshared KEY: UBNT2014
Navigate to Network
Use the Following settings
Network Mode: Bridge
Static Ip: 192.168.1.160
Match your Gateway as well as the DNS server in this example we left this out as many networks are different.
Navigate to the Ubiquity tab
Make sure to match these settings and hit apply.
Once you have completed both Nanos you can install them making sure that they both have line of sight between the devices, some minor adjustments can be done to ensure a good connection.
The Nano’s will lock onto the network by themselves or you can click on the SELECT button this will open up a tab that will display any Access Points in the area select the correct one and lock onto it.
Once you have completed setting up your Point to Point Bridge we can focus on the location.
In this illustration you can see that the Nano (Access Point) is in line of sight with the Nano (Station) that has an IP camera connected to it.
The Connections are simple

Site Side
1.        Connect the camera that you need to add into your Main network onto its own PoE Switch “POE Port”
2.        Attach the “LAN” Cable on the single port PoE switch to the “LAN” on the PoE switch from the Nano (Site)
3.        Attach the “PoE” Cable to the Nano Station “LAN” port.
Main Side
1.        Connect the Nano Station to its PoE switch  (“LAN” to “PoE”)
2. Attach an Ethernet cable from your Router LAN port to the “LAN” port located on the Nano stations PoE switch.

*NVR connections are simple simply attach your NVR to the Router  by attaching a cable in between the LAN port on the NVR to the LAN port of your router.

Mounting Options:
The Nanos come already designed to be attached to a pole, there is a supplied Nylon Zip Ties.

Troubleshooting Tips:
If you have successfully connected all of the devices and you cannot seem to ping your camera on any device on the Station side, make sure that the WDS is enabled in both the AP and Station.
If signal is poor you can use the AirView Application to check your signals. If you are not that tech savvy you can use the Signal bars behind the units or simply log in to both and tweak your nano’s position.
Once you have completed mounting your camera and Nano stations as well as configuring your Nano’s, your system should be up and running.
Also, to view your cameras outside your network, some port forwarding is needed. Ports that need to be opened are 37777,37778 and HTTP ports.