hello everyone in this article we're going to talk about the difference between a hub a switch and a router now all three of these devices are similar but there is a difference in the way they handle data so we'll first talk about a hub now the purpose of a hub is to connect all of your network devices together on an internal network it's a device that has multiple ports that accepts Ethernet connections from network devices now a hub is considered not to be intelligent because it does not filter any data or has any intelligence as to where the data is supposed to be sent and that's because the only thing a hub knows is when a device is connected to one of its ports so when a data packet arrives at one of the ports it is copied to all of the other ports so all the devices on that hub sees that data packets so again a data packet comes into one port then the hub will just rebroadcast that data to every port that has a device connected to it so even if this computer here only wanted to communicate with this computer over here these other computers would still receive the data even though that data was not intended for them so when this happens it not only creates security concerns but it also creates unnecessary traffic on the network which wastes bandwidth malice which is very similar to a hub it's also a device that has multiple ports that accepts Ethernet connections from network devices but unlike a hub a switch is intelligent a switch can actually learn the physical addresses of the devices that are connected to it and it stores these physical addresses called MAC addresses in its table so when a data packet is sent to a switch it's only directed to the intended destination port unlike a hub where a hub will just rebroadcast the data to every port so as an example if this computer here wanted to communicate with this computer over here the data packet arrives at the switch and then the switch will look at its table of MAC addresses and matching ports and deliver the data to the correct port and then the data packet would only go to that computer so that's the major difference between a hub and a switch so as a result switches are far more preferred over hubs because they reduce any unnecessary traffic on the network so as a review a hub only detects that a device is physically connected to it and ifs which can detect specific devices that are connected to it because it keeps a record of the MAC addresses of those devices now hubs and switches are used to exchange data within a local area network for example such as in your home network or in a business they are not used to exchange data outside their own network such as out on the Internet because to exchange or route data outside their own network to another network such as out on the internet a device needs to be able to read IP addresses and hubs and switches do not read IP addresses so that's where the router comes in now a router does exactly what its name implies a router is a device that routes or forwards data from one network to another based on their IP address when a data packet is received from the router the router inspects the datas IP address and determines if the packet was meant for its own network or if it's meant for another network if the router determines that the data packet is meant for its own network it receives it but if it's not meant for its own network it sends it off to another network so a router is essentially the gateway of a network so here we have a private network with its router and we'll refer to this as the red network indicated by the red colored screens on the computers and over here you're going to have different data packets indicated by their different colors which represents different IP addresses and they are going to be entering the red networks router from the internet now the router is only going to accept the red data packets because they are the only ones that are intended for this network so all of the other data packets the yellows blues greens etc will be rejected by this router because they were not intended for this network because their IP addresses were not meant for this network now here is an expanded view of routers over the internet there are four networks here indicated by their different colors and each network has their own router along with their hubs or switches and their computers so right now as you can see each network is just exchanging information within their own network their data is not going out on the internet so they are not communicating with other networks they are just exchanging data within their own network using their hub or switch now let's go ahead and exchange data between different networks so let's say for example that this computer here on the red network wants to communicate with a computer here on the blue network so for this to happen the data packet has to leave their own network and go out on the internet so the computer sends their data and it goes to the network's router and once the data packet reaches the router the router will look at the IP address of the data packet and then forward the data out on the Internet to the next router and then make its way to the blue networks router and then to the intended destination computer so in a nutshell this is how routers work so in conclusion hubs and switches are used to create networks while routers are used to connect networks
computer hardware and software can come in 32 or 64-bit versions the difference between a 32-bit and a 64-bit is the way that it handles memory the bit size refers to the memory that it can address a 32-bit system can reference 2 to the 32nd power bytes of memory which equals to about 4 gigabytes however a 64-bit system can reference 2 to the 64th power bytes of memory which equals to about 16 exabytes which is 4 billion times more memory than a 32-bit now that number is so huge that it's virtually unlimited because we will never need to use that amount of memory so in a computer in order for data or a program to run it needs to be loaded into Ram first so the data is stored on the slower hard drive and from the hard drive it's loaded into the faster Ram and once it's loaded into Ram the CPU can now access the data or run the program now in a 32-bit system since the maximum amount of memory that it can support is 4 gigabytes it may not be enough to hold all the data that th...
Comments
Post a Comment