Gateway and Router:
Gateway and Router are also very important links in the nodes. His main tasks are:
· The function of translating two different domains (network);
· The function of making routes.
Just now, we knew that in the same network, information can be communicated directly between two IPs, so what if it is not in the same network? For example, if in the icon above, the IP of PC1 is 192.168.0.1 and the IP of PC2 is 192.168.1.1, and there is no communication protocol used between the two. When communication is simply TCP/IP, since it is located in different network segments, "there is no direct connection between the two" under normal conditions, you must assist through the translator (Router)! The function of this translator is not only that, it can also translate communication protocols of different operating systems, etc. However, here we will only briefly discuss one of its functions. Router is responsible for communicating the packet connections of two or multiple different network segments! So, if your network is very thin, since the host and router need to be in the same domain, haha, at this time, you need a lot of routers to connect between different networks, otherwise how to connect to different networks~? Linux can also be used as a Router at present! Let’s explain this when we mention Router later!
Okay, let’s discuss what is “routing” in addition to different networks? The route is to "let your data packets find the next IP address to go through the route table." Let’s simply explain it by the network architecture we are connected to. Assuming that the IP of my worker is 140.116.44.125, then if my packet is to be transmitted to 140.116.44.202, since we are connected to a C Class domain, 125 <--> 202 can be directly passed! But what if my information packet is sent to (202.1.237.21)? At this time, my 125 will first determine which computer my route table (route table) is, and then it will transmit the data packet to the gateway host. The gateway host will judge where the next node of the data packet will be transmitted to by judging its own route table! ? This transmission will finally reach this machine!
Therefore, route table is very important, and your gateway is very important! Because all your non-network packets are sent out via gateway, if you set the gateway wrong, hehe! Then naturally, you will not be able to correctly transmit your data! This is the most likely place to be misleading among network parameters currently being set. Article entry: talent Editor in charge: talent Editor in charge: talent
Gateway and Router are also very important links in the nodes. His main tasks are:
· The function of translating two different domains (network);
· The function of making routes.
Just now, we knew that in the same network, information can be communicated directly between two IPs, so what if it is not in the same network? For example, if in the icon above, the IP of PC1 is 192.168.0.1 and the IP of PC2 is 192.168.1.1, and there is no communication protocol used between the two. When communication is simply TCP/IP, since it is located in different network segments, "there is no direct connection between the two" under normal conditions, you must assist through the translator (Router)! The function of this translator is not only that, it can also translate communication protocols of different operating systems, etc. However, here we will only briefly discuss one of its functions. Router is responsible for communicating the packet connections of two or multiple different network segments! So, if your network is very thin, since the host and router need to be in the same domain, haha, at this time, you need a lot of routers to connect between different networks, otherwise how to connect to different networks~? Linux can also be used as a Router at present! Let’s explain this when we mention Router later!
Okay, let’s discuss what is “routing” in addition to different networks? The route is to "let your data packets find the next IP address to go through the route table." Let’s simply explain it by the network architecture we are connected to. Assuming that the IP of my worker is 140.116.44.125, then if my packet is to be transmitted to 140.116.44.202, since we are connected to a C Class domain, 125 <--> 202 can be directly passed! But what if my information packet is sent to (202.1.237.21)? At this time, my 125 will first determine which computer my route table (route table) is, and then it will transmit the data packet to the gateway host. The gateway host will judge where the next node of the data packet will be transmitted to by judging its own route table! ? This transmission will finally reach this machine!
Therefore, route table is very important, and your gateway is very important! Because all your non-network packets are sent out via gateway, if you set the gateway wrong, hehe! Then naturally, you will not be able to correctly transmit your data! This is the most likely place to be misleading among network parameters currently being set. Article entry: talent Editor in charge: talent Editor in charge: talent