This article is a mirror article of machine translation, please click here to jump to the original article.

View: 1476|Reply: 0

[Router] Network - Devices under the main route and sub-route are interconnected

[Copy link]
Posted on 2025-3-9 20:10:50 | | | |
Requirements: The devices under the main route A (ikuai) and the sub-route B (openwrt) can communicate with each other, and by default, the devices under the sub-route B can access the devices under the main route A, but the settings under the main route A cannot access the devices under the subroute B.

The network topology diagram is as follows:



Main route A

To set up the routing table, take the IKuai router as an example, add the network settings -> static route -> static route ->, as shown in the following figure:




Forward 192.168.2.0/24 traffic to the 192.168.1.2 gateway, where 192.168.1.2 is the address of subroute B.

Sub-route B

You need to set Accept Forwarding, Network -> Firewall -> General Settings -> Forwarding -> Accept, as shown in the following figure



In this way, the devices under the main route A can also access the devices under the subroute B, and the interoperability is realized.





Previous:Webmaster's self-media account
Next:Double Precision (FP64), Single Precision (P32, TF32), Half Precision (FP16, BF16)
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com