router connectivity
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. |
@ Reply
Hi Syed,
What exactly the problem is when you say there is a problem? Also paste the routing table from both the routers. Also the neighbour list from both the routers and their interface configuration. |
the problem is connectivity itself, i am unable to access the router page of router B which is on 10's network from Router A which is on 192.
Router A - routing table. > route Usage: route add <IP address> <subnet mask> <[<gateway>] [<interface>]> route delete <IP address> <subnet mask> route show route --help > route show 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. |
@ Reply
Try this
echo 1 > /proc/sys/net/ipv4/ip_forward and then try to add a static route on router A on br0:0 interface to router B. |
Quote:
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. Destination Subnet Mask Gateway 10.0.0.0 255.0.0.0 192.168.1.2 |
All times are GMT -5. The time now is 01:31 AM. |