Community discussions

MikroTik App
 
jhaycutexp
just joined
Topic Author
Posts: 4
Joined: Wed Dec 21, 2016 4:39 am

2 sets of IP on same Interface how to access them??

Wed Dec 21, 2016 5:06 am

Hi guys,

I am very new to Mikrotik.. just started studying and been reading alot of materials and testing with my HAPlite

My question is how can I access an IP from an MT LAN address to another LAN(non mikrotik e.g. TPlink on my case)

Everything is going as planned.. I was able to access internet on both LAN and Wifi.. but the thing sirs is
when I am on the LAN side of the network.. I cant access machines connected to the TP Link Router.. in my case the CCTV of our house..

But when I am connected to the LAN of the TPlink router.. I can easily access the Mikrotik Router.. and easily ping clients on the MT Network

Heres my current setup..

What I am trying to achieve sir is to be able to access the CCTV even if I am not connected to the TPlink Router.. cause thats the only
way I can access the CCTV ip.. which is 10.10.10.1.. I cant even ping them..

But if I add the IP of the wifi on the IP>ROutes.. I can ping the TP link router.. but cant access/ping
the cctv ip.. no route to host.. thats the error..

Can you please enlighten me.. I am trying to absorb if I should NAT.. this.. but then theres forward.. I tried them..
but I have no success.. maybe theres something wrong with my configuration and network..

I know HapLite have a wifi capability.. but I opt not to use it..

also, theres availalbe slots on the MT router.. but also I opted not to use it.. I know its
easier if I just used the other ports on MT.. but I wanted to know if my setup is possible..

Thanks






[img]
123.jpg
[/img]
You do not have the required permissions to view the files attached to this post.
 
asghari
Trainer
Trainer
Posts: 41
Joined: Thu Feb 07, 2013 4:49 pm
Contact:

Re: 2 sets of IP on same Interface how to access them??

Wed Dec 21, 2016 3:45 pm

I think you have some miss configuration on the both side.
did you have default gateway on Mikrotik router?
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: 2 sets of IP on same Interface how to access them??

Wed Dec 21, 2016 3:56 pm

It looks like exactly the same problem as in this thread to me.
 
User avatar
acruhl
Member
Member
Posts: 371
Joined: Fri Jul 03, 2015 7:22 pm

Re: 2 sets of IP on same Interface how to access them??

Wed Dec 21, 2016 6:32 pm

On the Mikrotik:

ip route add dst-address=10.10.10.0/24 gateway=192.168.3.2

Better yet, bridge the TP link wifi to the switch and get rid of the 10.10.10.0/24 subnet and dhcp server on the TP-link.

Also note that the TP link is not an access point. It's a router.

This is a classic situation where separating duties is appropriate. Wifi is really just a layer 2 activity and should be treated as such. Any wifi router can be used as a "real" access point, simply set a static IP within the subnet you want it in, disable the DHCP server, and don't plug into the "WAN" port. There you go, an instant access point.