Hello! Here is part of my topology.
The problem I have is that the Linux can ping 192.168.1.1(gateway) and 192.168.7.1,
but not 192.168.7.70(gateway) while the switch can ping 192.168.7.1 but not 192.168.1.1 and 192.168.1.5. How to configure the openwrt to let the linux and the switch to communicate with each other?
I spent a lot of time searching but I could not find any useful info.
Thanks a lot!
You need to add a route to 192.168.1.0/24
via 192.168.7.1
on your upper level router.
And make sure that OpenWrt firewall allows forwarding between the interfaces.
What kind of access do you want to allow? Who is at either side of the router?
By the way, for sharing code here, you could just paste it as text, then formatting it with the Pre-formatted Text Preformatted text
tool in the tool bar.
Wow! Really helpful! Thank you!
My professor just randomly assigned this hw and I knew nothing about routing and firewall.
solved, thank you!
If your problem is solved, feel free to mark the relevant post as the solution; and edit the title to add "[SOLVED]" to the beginning (click the pencil behind the topic).
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.