Wifi IP's
Code: Select all
gateway = 192.168.2.1
IP range = 192.168.2.100 - 192.168.2.200.
Code: Select all
[me@MikroTik] /interface> print
# NAME TYPE
0 R ether1-Input ether
1 R ether2 ether
2 R ether3 ether
3 ether4 ether
4 ether5 ether
5 R pppoe-out2 pppoe-out
Code: Select all
[me@MikroTik] /ip address> print
# ADDRESS NETWORK INTERFACE
0 192.168.1.1/24 192.168.1.0 ether3
1 192.168.2.1/24 192.168.2.0 ether2
2 D 106.51.173.162/32 106.51.128.1 pppoe-out2
I have configured private IP's for 10 systems manually from 192.168.2.2 to 192.168.2.11.
Gateway for LAN is 192.168.2.1
Things I can do:
I can have a ethernet cable between mikrotkik router and Wifi modem. So 1st port of Mikrotik router would have connected to internet, 2nd to LAN system and 3rd port to Wifi.
Note:
I have two broadband connection.
First broadband connection is connected to Mikrotik router for LAN network.
Second broadband connection is connected to Wifi router for Wifi network. So both the network are independent.
Goal is to make LAN server(192.168.2.10) to be accessible for Wifi network. How can I do this?
I tried with NAT rule as in thinking of ping 192.168.2.10 from Wifi network's laptop will not find within Wifi network and go for LAN network with following rule in mikrotik router
Code: Select all
0 ;;; allow wifi to use lan network
chain=dstnat action=accept src-address=192.168.1.0/24 dst-address=192.168.2.0/24
in-interface=ether3