What is the difference between router and switch
Five major differences between routers and switches:
1. The switch uses a network cable to access the Internet, but everyone dials up separately when accessing the Internet, and each uses its own broadband. Influence. Routers have one more virtual dial-up function than switches. Computers that access the Internet through the same router share a broadband account, and everyone has to interact with each other when accessing the Internet.
2. The switch works at the relay layer, and the switch is addressed according to the MAC address. The router works at the network layer. According to IP address addressing, the router can handle the TCP/IP protocol, but the switch cannot.
3. The switch can form a LAN with multiple computers connected to it. If there is a proxy server, it can also achieve simultaneous Internet access and all computers in the LAN share its bandwidth rate, but the switch does not have the automatic function of the router. The function of identifying the sending and arriving addresses of data packets.
(Study recommendation: java quick start)
The router can automatically identify the address where the data packet is sent and arrived. The router is equivalent to the police on the road, responsible for traffic guidance and Guiding.
4. To give a few examples, the router is a small post office, with just one address (IP), responsible for sending and receiving in one place (personal computer, a certain server, so you need this thing to access the Internet at home), and the switch is a provincial The large postal center here is responsible for contacting various small places from one address.
To put it simply, the router is responsible for accessing the network, the switch is only responsible for distribution, the router is to find a way for you to access the Internet, the switch is only responsible for opening the door, and if there is no route on the switch, you will not be able to access the Internet.
5. The router provides firewall services. The router only forwards data packets with specific addresses and does not transmit data packets that do not support routing protocols and data packets with unknown destination networks, thereby preventing broadcast storms.
The above is the detailed content of What is the difference between router and switch. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











The sys of the router means system operating status indication, and the full name is System; the router uses the sys indicator light to inform the user of the operating status of the device. If the router is faulty or restarting, the indicator light will flash; the indicator light of the router can be divided into power Indicator light, sys system indicator light, LAN indicator light and WAN indicator light.

Can. However, you need to pay attention to some issues: 1. Placing the router upside down may have a certain impact on heat dissipation, causing heat to accumulate at the bottom of the router, affecting the heat dissipation effect. Long-term overheating may reduce the performance of the router and adversely affect its lifespan. ; 2. Placing the router upside down may affect the operation and management of the device, and the indicator lights and interfaces may be blocked or inconvenient to operate; 3. Placing the router upside down may also have a certain impact on network security, and the default user name and password may cause This information is more susceptible to prying eyes.

Students who know computers all know that if our computer wants to connect to the network, it must have an IP address. This IP address can be manually configured, such as 172.16.19.20; it can also be automatically obtained by the DHCP server of the computer network card, such as 192.168.1.100 etc. These IP addresses are what we often call IPV4 addresses, and the corresponding IPV6 is also a type of IP address. What is IPV6 IPV6 is a new IP address that emerged in response to the exhaustion of IPV4 address resources. Its full name is "Internet Protocol Version 6", and its Chinese name is the sixth generation of Internet Protocol. The number of IPv6 addresses is theoretically 2^128

In routers, sn stands for "Serial Number", which means "serial number" and refers to the factory number of the router. The router serial number (SN) and physical address are both hardware identifiers, which are unique; the router will be under warranty only if the router's serial number is kept intact. The router serial number SN can be seen directly in the manual and on the back of the router.

The first light is on, indicating that the router is powered on. Which port is plugged in, the light of which port is on, and flashing means data is being transmitted. Wireless routers usually have three indicator lights: SYS, LAN and WAN. When the wireless router is powered on, the SYS light will light up. When the wireless router is connected to the network modem, the WAN light will light up. The LAN light corresponds to each interface of the wireless router. As long as the network cable is inserted into the corresponding interface, the corresponding LAN light will light up. 1. If it keeps flashing, it means it is transmitted by data, and the router settings should be normal. 2. If you have always been able to access the Internet, but you can't get online recently; it is probably a problem with the external line, that is, a problem with the operator (usually there is a problem with the line, causing the data signal to attenuate too much, although the line is good)

The difference between gateway WiFi and router WiFi is mainly reflected in three aspects: function, number of terminals that support Internet access, and WiFi signal coverage. Gateway WiFi is a combination of optical modem and router. It has more functions, but it supports fewer Internet devices and the WiFi signal coverage is not as good as router WiFi.

Placing the router upside down may have some effects on the network, including reduced signal coverage, blocked signal transmission, poor temperature and heat dissipation, and reduced network speed. Detailed introduction: 1. The signal coverage is reduced. Routers are usually designed to radiate signals outward in a horizontal direction. Therefore, placing the router upside down may cause the signal coverage to be reduced, which may cause signal in some areas. Weakening, thus affecting the stability and speed of the connection; 2. Signal transmission is blocked. Placing the router upside down may cause signal transmission to be blocked, etc.

The impact of turning off dhcp on the router: 1. The client cannot automatically obtain an IP address; 2. The IP address needs to be configured manually; 3. It may cause network connection problems; 4. It affects the communication of network devices; 5. IP address conflicts; 6. Unable to proceed Dynamic address allocation; 7. Network isolation cannot be performed; 8. Traffic control cannot be performed; 9. Access control cannot be performed. It is recommended that before turning off the DHCP service, carefully consider whether it really needs to be turned off, or keep the DHCP service to ensure that the client can automatically obtain the correct IP address.