Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i got 2 routers, one is on 192 and the other one is 10. there seems to be a problem when i am accessing 10 network from 192 although, when i do the opposite it works correctly.
router configured with 192 is Huawei 510
router configured with 10 is Dlink - DIR 618
i have even tried to open 2nd interface on Huawei 510 even then it doesnt seem to work.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
119.155.16.1 * 255.255.255.255 UH 0 0 0 ppp_0_10
3_1
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
10.0.0.0 * 255.0.0.0 U 0 0 0 br0
default 119.155.16.1 0.0.0.0 UG 0 0 0 ppp_0_10
3_1
>
the above router is configured on 192. however the 2nd interface was turned on deliberately so that Router B can have access to router A. -
the interesting thing is the 2nd interface on Router A is br0:0
- i am unable to set gateway on br0:0
lol there is no sysctl.conf for ip_forwarding :P
-- on router B the configuration is set, able to ping 192 as well as 10.
and then try to add a static route on router A on br0:0 interface to router B.
thanks very much able to fix the issue, how ever forwarding packets plays a crucial role,
the next thing i did was by adding a static route in 192.168.1.1 to destination 10.0.0.0 and gateway set to 192.168.1.2[other router which is on 10]
thanks you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.