Community discussions

MikroTik App
 
shantidev
just joined
Topic Author
Posts: 7
Joined: Thu Feb 27, 2014 10:27 pm

Unable to ping between subnets in RB433AH

Sun Mar 02, 2014 8:16 am

Hi,

I have a simple setup on RB433AH with Mikrotik v5.26. I believe for this board ether1 comes preconfigured with default IP 192.168.88.1/24 (http://wiki.mikrotik.com/wiki/Manual:De ... igurations).

I have created two more subnets one on ether2 (192.168.0.1/24 with 192.168.0.1 as gateway) and second on ether3 (192.168.1.1/24 with 192.168.1.1 as gateway). I have also added two DCHP servers one for ether2 and another for ether3.

When I connect any host to ether2 and/or ether3, the host is able to get IP address.

I am able to ping the ether2 gateway (192.168.0.1) from a host connected to ether2 (eg 192.168.0.10). Similarly, I am able to ping the ether3 gateway (192.168.1.1) from a host connected to ether3 (eg 192.168.1.15).

However, I am unable to ping ether2 gateway (192.168.0.1) from a host connected to ether3 (eg 192.168.1.15). Similarly, I am unable to ping ether3 gateway (192.168.1.1) from a host connected to ether2 (eg 192.168.0.10).

Moreover, the hosts connected to ether2 and ether3 can not ping ether1 gateway (192.168.88.1).

So my first question is: when we have multiple subsets each with their own gateways, how can we add a route so that hosts in these subnets can reach each other? In my IP route, I see the autogenerated routers for ether2 and ether3 as follows:

# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADC 192.168.88.0/24 192.168.88.1 ether1 0
1 ADC 192.168.0.0/24 192.168.0.1 ether2 0
2 ADC 192.168.1.0/24 192.168.1.1. ether3 0

When I try to add a new route with DST-Address (192.168.0.0/24) with gateway as ether1, it shows unreachable with Flag S (note that for this static route that I add the route does not get activated).

I am new to Mikrotik and even to routers. So my fundamental question is when we want hosts in two different subnets to be able to reach each other, what should be we do. Then how can we achieve this in MikroTik especially in RB433AH.

When I tried making ether2 as the master port of ether3, then I can ping ether3 hosts from ether2 hosts but not the reverse. I did this as part of my learning and experimention phase.

Your help and guidance is greatly appreciated.

Thank you.
 
questor
just joined
Posts: 2
Joined: Thu Feb 27, 2014 8:19 am

Re: Unable to ping between subnets in RB433AH

Sun Mar 02, 2014 10:52 am

Hi,

I have the opposite issue. I have 4 subnets and I do not want the routing between the subnets. I can ping between the subnets.

http://forum.mikrotik.com/viewtopic.php?f=13&t=82365

"funny" here is I got a similar output (/ip route print) as you but got a different behavior. Nobody could tell me why. I thought what I want is not exotic - 4 separated Subnets/VLANs that are using one common gateway (DSL-Router) to the internet.

Frank
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Unable to ping between subnets in RB433AH

Sun Mar 02, 2014 11:55 am

Check your dhcp server settings. That could be your dhcp server issuing the incorrect gateway for those subnets.
/ip dhcp-server network