Community discussions

MikroTik App
 
raypetriut
just joined
Topic Author
Posts: 1
Joined: Sat Aug 05, 2017 8:38 am

route a specified clinet to an interface with 2 different range ip addresses

Sat Aug 05, 2017 9:06 am

Hi
i have a wireless antenna for our office wan network . our central office said up to use this antenna output to a specified client network card . in this scenario we set this address in network card : 172.16.201.51 with gateway 172.16.201.1 and then we can ping our server with this ip : 172.16.1.20 . well i wont to change my ip address on client for many reasons and i want to use this antenna output in one client only also , so i connect my antenna output cable to my mikrotik 1100 router interface6 directly then bridge my lan interface (interface4) with antenna cable interface(6) , in this mode i can ping server IP 172.16.1.20 in all clients .
but the problems our office wan network is in layer 2 and in this mode some of my lan IP will conflict with other branches IP . so my only solution is route this antenna output IP to my specified client(fpr example client ip is 192.168.3.216) without using bridge and in this only client should ping our server ip : 172.16.1.20 , but i dont know how to do it , please help me how to do it our give me if you have better solution with example .
thanks
best regard
ray petriut
 
User avatar
pukkita
Trainer
Trainer
Posts: 3051
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: route a specified clinet to an interface with 2 different range ip addresses

Sat Aug 05, 2017 12:24 pm

Let's say the setup is this:
[HQ Router ether6] ----- Antenna (AP) ::::::::: Antenna (Station) ----- [Client PC ether]
1.- Set IP address on ether6: 192.168.3.1/24. ether3 shouldn't be neither slave of another ether port, or be inside any bridge.
2.- Set up antenas in transparent bridge mode.
3.- Set PC client:
- ip address 192.168.3.216/24 (255.255.255.0)
- Default gateway: 192.168.3.1

With this setup however, I assume:

- client doesn't have internet and will use the antenna link for all traffic: internet and HQ server access.
- All the rest of the network (specially 172.16.1.20) has RB1100 LAN IP (172.16.1.1?) as default gateway.

Is that the case?

Who is online

Users browsing this forum: Ahrefs [Bot], holvoetn, Paltri34 and 111 guests