Page 1 of 1

help me to configure, please..

Posted: Fri Mar 11, 2016 12:10 pm
by opstina
Hi,


We have changed our way of connection, until now we had ADSL to Mikrotik Router, now we have fiber connection but we still want to keep mikrotik as main router,


Our Isp has send to us ip's but i never configured connection "With STATIC WAN" and ips for block lan..



Our ips are like this :

WAN blok: 109.92.137.88/30
Telekom port: 109.92.139.53
Our port: 109.92.137.97
Subnet mask: 255.255.255.252

LAN blok: 79.101.40.56/30
Subnet mask: 255.255.255.252

can someone help me to configure it? please.



Thanks in advance

Re: help me to configure, please..

Posted: Sat Mar 12, 2016 6:53 am
by shailparmar
First we add ip address to the wan interface
 /ip address add 
 address: your address / subnet 
 interface: your wan interface
Then we add gateway
/ip route add distance=1 gateway=your gateway

Re: help me to configure, please..

Posted: Sat Mar 12, 2016 9:01 am
by Splash
I think you need to double check your IP information provided to you by your ISP. The IP address ranges don't look correct as they are not in the same network address range based on your subnet mask. I'm guessing they are providing you with a point to point IP Address which routes your local public IP /30 to your device.
WAN blok: 109.92.137.88/30
Telekom port: 109.92.139.53
Our port: 109.92.137.97
Subnet mask: 255.255.255.252

LAN blok: 79.101.40.56/30
Subnet mask: 255.255.255.252
Since they provide you with a /30 (2 usable IP's, they expect you to use one for a firewall and the other for your local gateway device.) You would need to bind one of these to your router and use it to SRC-NAT for all your LAN traffic.