Community discussions

MikroTik App
 
rubence
just joined
Topic Author
Posts: 24
Joined: Mon Jan 24, 2011 10:06 am

ping between different network within same ether and from different ether

Wed Oct 07, 2015 7:21 am

Hello all,

I've following Network

WAN0 IP address X.X.X.X is connected with interent

LAN0 ip address 192.168.0.1 is used to connect with some ip cameras using ip block 192.168.0. 0/24
LAN0 ip address 192.168.1.1 is used as some windows machines ( using ip block 192.168.1.0/24) internet gateway.
LAN1 ip address 192.168.2.1 is used as some windows machines ( using ip block 192.168.2.0/24) internet gateway

I want from both network windows stations can connect with IP block 192.168.0.0/24 in LAN Speed. how can i ping ip 192.168.0.2 from these two network 192.168.1.2 and 192.168.2.2


regards
 
Van9018
Long time Member
Long time Member
Posts: 558
Joined: Mon Jun 16, 2014 6:26 pm
Location: Canada - Abbotsford

Re: ping between different network within same ether and from different ether

Wed Oct 07, 2015 8:33 pm

Should work automatically.

Eth1=WAN, IP: x.x.x.x
Eth2=LAN, IP: 192.168.0.1/24
Eth3=LAN, IP: 192.168.1.1/24
Eth4=LAN, IP: 192.168.2.1/24

From default config, you'd have to edit interface Eth3 and Eth4 and set master-port to none.

Then set the interface IPs via IP > Addresses
Then set DHCP Server stuff for each lan interface

If you go to IP > Route, you'll notice routes have automatically been created for the LAN networks. Routes are how the Mikrotik decides to send packets.
 
rubence
just joined
Topic Author
Posts: 24
Joined: Mon Jan 24, 2011 10:06 am

Re: ping between different network within same ether and from different ether

Wed Oct 07, 2015 10:22 pm

thanks for ur reply

no its nt working by default

[abc@MikroTik] > /ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE

1 ADC 192.168.199.0/24 192.168.199.1 ether1 0
2 ADC 192.168.230.0/24 192.168.230.1 ether2 0

[abc@MikroTik] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE

1 ;;; IP Camera IP BLOCK
192.168.199.1/24 192.168.199.0 ether1
2 ;;; LAN 1 IP Block
192.168.230.1/24 192.168.230.0 ether2

Still ip 192.168.230.2/24 gateway 192.168.230.1 can not ping IP 192.168.199.2 connected with ether1
 
Van9018
Long time Member
Long time Member
Posts: 558
Joined: Mon Jun 16, 2014 6:26 pm
Location: Canada - Abbotsford

Re: ping between different network within same ether and from different ether

Thu Oct 08, 2015 5:57 am

Settings look correct.

192.168.199.2 blocking PING requests?
Test by going to Tools > Ping, select Ether2, try pinging it. Should reply.

Try same ping again, but with no interface selected. This makes the Mikrtoik use routing logic. Should reply.

Next go to Tools > Torch, select "Protocol" then on the right side, Protocol = ICMP
Ping repeatedly from 230.2 to 199.2 (ping 192.168.199.2 -t)

In Torch, select Ether2 interface. Click Start. You should see pings being received by 230.2, destined to 199.2 Click Stop, select Ether1, click start. You should see the ping coming back from 230.2, destined to 199.2.

Also from 230.2, ping 199.1. Works?
 
rubence
just joined
Topic Author
Posts: 24
Joined: Mon Jan 24, 2011 10:06 am

Re: ping between different network within same ether and from different ether

Tue Oct 13, 2015 6:00 pm

no . 199.2 is not blocking ping request.

i can ping both network from router without selecting any interface
i can not ping ether1 network by selecting ether2 interface and vice-versa

btw i've multiple ip configuration in both interface . is it the cause of problem ??

Who is online

Users browsing this forum: carcuevas, holvoetn, neskiask, Zan and 112 guests