What are the main devices for interconnecting LAN and WAN?
The main device that realizes the interconnection between LAN and WAN is the "router". A router is a hardware device that connects two or more networks. It acts as a gateway between networks. It is a dedicated intelligent network device that reads the address in each data packet and then decides how to transmit it.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
Routers are used to interconnect LAN and WAN.
A router is a hardware device that connects two or more networks. It acts as a gateway between networks. It reads the address in each data packet and then decides how to transmit it. Dedicated intelligent network equipment. It can understand different protocols, such as the Ethernet protocol used by a local area network and the TCP/IP protocol used by the Internet. In this way, the router can analyze the destination addresses of data packets from various types of networks, convert the addresses of non-TCP/IP networks into TCP/IP addresses, or vice versa; and then classify each data packet according to the selected routing algorithm. Deliver the best route to the specified location. So the router can connect non-TCP/IP networks to the Internet.
Function
The most important function of the router can be understood as the transfer of information. Therefore, we call this process the addressing process. Because the router is between different networks, it is not necessarily the final receiving address of the information. So in a router, there usually is a routing table. According to the final address of the information transmitted by the transmitting website, find the next forwarding address and which network it should be. In fact, to put it in a nutshell, it is like a courier company sending emails. The mail does not arrive at the final destination instantly. Instead, it is sorted at different substations and continuously approaches the final address, thereby realizing the mail delivery process. The router addressing process has a similar principle. Through the final address, a match is made in the routing table, and the next forwarding address is determined algorithmically. This address may be an intermediate address or the final destination address. [4]
The function of a router is to transmit data between different subnets. The specific functions are as follows:
(1) Realize the interconnection of IP, TCP, UDP, ICMP and other networks.
(2) Process the data. It can send and receive data packets and has various functions such as packet filtering, multiplexing, encryption, compression and protection wall of data.
(3) Select the next transmission destination of the data packet based on the information in the routing table.
(4) Exchange topology information between the external gateway protocol and other autonomous domains.
(5) Implement network management and system support functions.
Connecting different networks
From the perspective of filtering network traffic, the role of routers is very similar to switches and bridges. However, unlike switches that work at the network data link layer and physically divide network segments, routers use specialized software protocols to logically divide the entire network. For example, a router that supports the IP protocol can divide the network into multiple subnet segments, and only network traffic directed to special IP addresses can pass through the router. For each received packet, the router recalculates its checksum and writes a new physical address. Therefore, using a router to forward and filter data tends to be slower than a switch that only looks at the physical address of the packet. However, for those networks with complex structures, using routers can improve the overall efficiency of the network. Another obvious advantage of the router is that it can automatically filter network broadcasts. Generally speaking, the entire installation process of adding a router to the network is much more complicated than a plug-and-play switch.
Information transmission
Some routers only support a single protocol, but most routers can support the transmission of multiple protocols, that is, multi-protocol routers. Since each protocol has its own rules, completing the algorithms of multiple protocols in one router will inevitably reduce the performance of the router. The main job of the router is to find an optimal transmission path for each data frame passing through the router, and to effectively transmit the data to the destination site. It can be seen that the strategy for selecting the best path, that is, the routing algorithm, is the key to the router. In order to complete this work, data related to various transmission paths - a routing table (Routing Table) - is saved in the router for use in routing selection. The path table stores subnet identification information, the number of routers on the network, and the name of the next router. The path table can be fixed and set by the system administrator.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What are the main devices for interconnecting LAN and WAN?. 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

AI Hentai Generator
Generate AI Hentai for free.

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



What should I do if win11 cannot connect to the LAN printer? Many users' win11 systems cannot connect to the shared printer normally when using the LAN printer function. This problem may occur because the connection steps or a certain functional service are not turned on. Today, the editor has brought you a variety of solutions. Many friends do not know how to operate in detail. The editor below has compiled tips for solving the problem of Win11 computers not being able to connect to shared printers. If you are interested, follow the editor to read below. Look! Tips for solving the problem that win11 computer cannot connect to a shared printer 1. First, press the Win+X key combination on the keyboard, or right-click the Windows start icon on the taskbar, and select Run from the hidden menu item that opens; 2. Run window

How to view all IP addresses on the LAN using cmd: 1. Press the "Win+R" shortcut key to open the "Run" window; 2. After entering "CMD" in the "Run" window, press the Enter key; 3. In the open "Command" In the "Prompt" interface, enter the command "arp -a" and press the Enter key; 4. From the returned results, you can see the IP addresses of all computers in the local LAN that communicate with the machine.

People who configure routers often use the default IP address of the router as the gateway. Changing it to another IP address is both confusing and troublesome. Don’t believe it yet, people who often do network maintenance set IP addresses, and input “192.168” very smoothly. But this is not the root cause.

EasyTier is an open source, free, decentralized intranet penetration remote networking tool. It is an easy-to-use and feature-rich remote networking solution, suitable for remote office collaboration, game connection and other scenarios. The following is a brief introduction to how to use EasyTier remote networking. Download the easytier-gui program and install it. Download address: https://github.com/EasyTier/EasyTier Just set it up as shown above on the computer that needs to be networked. Virtual IPv4 address: required. For example, computer A is 10.10.10.1, B is 10.10.10.2, and C is 10.10.10.3. It cannot be repeated. (Such IP segments are available: 10.

How to solve the problem that other computers in the LAN cannot be found in the Win11 network? The method is very simple. Users can go to Change Advanced Sharing Settings under Network and Internet Settings under the Control Panel, and then select Start Network Discovery to perform the operation. Let this site carefully introduce to users the solution to the problem that other computers on the LAN cannot be found in the Win11 network. Solution to the problem that other computers on the LAN cannot be found in the Win11 network 1. First, we open the control panel. 2. Then enter the network and internet settings. 3. Then open the Network and Sharing Center. 6. There is also a check mark in the guest options below to enable network discovery. It should be noted that both sides of the LAN must be turned on. If one side

Many users share files with other computers through the LAN, but some Windows 10 users report that they cannot see other computers in the LAN. What should they do? You first open the advanced sharing settings and select "Enable network discovery" and "Turn on file and printer sharing." Later, open the service panel, find the Server service item, and right-click to start it. Then open the Programs and Functions panel, choose to turn on or off Windows features, and check "SMB1.0/CIFS shared file support". What to do if you can't see other computers in Windows 10 LAN: 1. First, right-click the "This PC" logo and select the "Properties" menu item in the pop-up menu; 2. Then, in the opened Network and Sharing Center window,

1. Right-click the [Windows] button in the lower left corner of the desktop, select the [Run] item from its right-click menu to open the [Run] window, or directly press [Windows+R] to quickly open the [Run] window. 2. From the opened [Run] window, enter the command [regedit] and press Enter to open the registry editing interface. 3. Expand the [[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanWorkstationParameters]] item in turn, right-click the mouse in the blank space on the right, and select the [New]-[DWORD Value (32-bit)] item from the right-click menu. 4. Then create a new

lan is the abbreviation of "Local Area Network", which means local area network; the coverage area of a local area network is generally within a few kilometers, and can realize file management, application software sharing, printer sharing and other functions. During use, by maintaining the local area network Network security can effectively protect data security and ensure the normal and stable operation of the local area network.