Details on how the router works

Updated on technology 2024-02-09
4 answers
  1. Anonymous users2024-02-06

    A router is a network that connects multiple logically separated networks, and a logical network represents a single network or a subnet. When data is transferred from one subnet to another, it can be done through a router. Therefore, router has the function of judging network address and selecting path, it can establish flexible connection in multi-network interconnection environment, can connect various subnets with completely different data packets and media access methods, router only accepts the information of origin station or other routers, belongs to a kind of interconnection device of network layer.

    It doesn't care about the hardware devices used by the subnets, but it requires software to run that aligns with the network-layer protocols. Routers are divided into local routers and remote routers, and local routers are used to connect network transmission media, such as optical fiber, coaxial cable, and twisted pair; The remote router is used to connect the remote transmission medium, and requires the corresponding equipment, such as the ** line to be equipped with a modem, and the wireless to be through the wireless receiver and transmitter.

    Its working principle is as follows: (1) Workstation A sends the address of workstation B together with data information to Router 1 in the form of a data frame. (2) After Router 1 receives the data frame of Workstation A, it takes out the address from the header and calculates the best path to Workstation B according to the path table

    r1->r2->r5->b;and send the data frame to Router 2. (3) Router 2 repeats the work of Router 1 and gives the data frame ** to Router 5. (4) Router 5 also takes out the destination address, finds that it is on the network segment connected to the router, and then directly hands the data frame to workstation B.

    5) Workstation B receives the data frame of Workstation A, and a communication process is declared to be over.

    In fact, in addition to the main function of routing mentioned above, the router also has a network traffic control function. 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, the algorithm of multiple protocols to be completed in one router is bound to reduce the performance of the router.

    As a result, we thought that routers that support multiple protocols would have relatively low performance. When you buy a router, you need to select the router with the network protocol you need based on your actual situation.

    In recent years, there have been switching router products, which are not really new technologies, but in order to improve communication capabilities, the principle of the switch is combined into the router to make the data transmission capacity faster and better.

  2. Anonymous users2024-02-05

    The router is the transit data.

    Through the routing table.

    Make a data**!

  3. Anonymous users2024-02-04

    The devices in the network communicate with each other mainly using their IP addresses, and the router can only use the specific IP address to ** data. An IP address consists of two parts: a network address and a host address. In the Internet, subnet masks are used to determine the network address and host address.

    The subnet mask is 32 bits like the IP address, and the two are one-to-one, and the "1" in the subnet mask corresponds to the network address in the IP address. <

    Demo model: Huawei router WS5200 System version: embedded Linux Take Huawei router WS5200 and embedded Linux as an example

    The devices in the network communicate with each other mainly using their IP addresses, and the router can only use the specific IP address to ** data. An IP address consists of two parts: a network address and a host address. In the Internet, subnet masks are used to determine the network address and host address.

    The subnet mask is 32 bits like the IP address, and the two are one-to-one, and the "1" in the subnet mask corresponds to the network address in the IP address.

    0" corresponds to the host address, and the network address and host address constitute a complete IP address. In the same network, the IP addresses must be the same. Communication between computers can only be done between IP addresses with the same network address, and if you want to communicate with computers in other network segments, you must go through the router**.

    IP addresses of different network addresses cannot communicate directly, even if they are very close together. Multiple ports of a router can be connected to multiple network segments, and the network address of the IP address of each port must be the same as the network address of the connected network segment. The network address of different ports is different, and the corresponding network segment is also different, so that the host in each network segment can send data to the router through the IP address of its own network segment.

  4. Anonymous users2024-02-03

    Hello, I'm glad to answer for you, the working principle of the router: the router is a device connected to the LAN and WAN in the Internet, and it will automatically select and set the route according to the situation of the channel, and send signals in the order of the best path. Routers are used to connect multiple logically separated networks, which represent a single network or a subnet.

    When data is transferred from one subnet to another, it can be done through the router's routing function.

Related questions
10 answers2024-02-09

I don't know what you mean by the network cable is the landlord's? It's really hard for you. >>>More

7 answers2024-02-09

There are two situations, first: your computer is poisoned by ARP, as soon as you start the Internet virus, trick other computers into sending data packets to your machine, and your computer throws away these packets, their computer will not be able to get on, use 360 to kill the virus. >>>More

7 answers2024-02-09

To put it simply, the router is used for automatic dialing, as long as your router has a few jacks, it will work, if there are only 2 jacks (one is ** line, one is network cable) then it is terrible. >>>More

11 answers2024-02-09

VPN: The Access 101 permit IP defines security federation and key exchange policies. >>>More

9 answers2024-02-09

First, network interconnection, routers support a variety of LAN and WAN interfaces, mainly used to interconnect LAN and WAN, to achieve different networks to communicate with each other; >>>More