Page 1 of 1

help in setting up mikrotik

Posted: Tue Jul 07, 2009 2:21 pm
by clarkstyx
I was able to setup mikrotik but still I cant connect, here's what i did, i set the ip address on ether1(WAN)as 192.168.2.1/24,ether2 as 192.168.1.1/24 ,default gateway(ip add of my router) 192.168.2.1,dns server=dns of my ISP, is there anything i missed?

Re: help in setting up mikrotik

Posted: Wed Jul 08, 2009 9:59 am
by thermant
Uh, you forgot to input your public IP... :)

You should set the IP for the interface that you're getting your internet connection from (your "public" interface) to the IP address given by your ISP. Also, have you done the NAT masquerading?

IMHO, the easiest way would be to connect to the webbox and set the defaults from there. You can then tweak the firewall, add more NAT, etc from the winbox after you can connect to the internet.

Here's how:
Open your browser, go to your router's IP (I assume it would be 192.168.1.1). Enter user ID and password, then after you got in, go to the "Firewall" section. Or if your webbox is showing an auto config kinda page, click "Advanced" first.

In the firewall section, select the correct interface for your public connection, then click all three checkboxes underneath it. Click apply. All done.

Also, your main gateway is NOT your router's IP. :) It's the gateway for your public IP, and these numbers should be given to you by your ISP. The first 3 numbers of these IPs should be the same, only the last number is different. It should be something similar to this: IP is aaa.bbb.ccc.254, and gateway is aaa.bbb.ccc.253.

Hope this helps.

If anyone think I'm doing something wrong, feel free to correct me.

-T-

Re: help in setting up mikrotik

Posted: Sat Jul 11, 2009 8:06 pm
by clarkstyx
Uh, you forgot to input your public IP... :)

You should set the IP for the interface that you're getting your internet connection from (your "public" interface) to the IP address given by your ISP. Also, have you done the NAT masquerading?

IMHO, the easiest way would be to connect to the webbox and set the defaults from there. You can then tweak the firewall, add more NAT, etc from the winbox after you can connect to the internet.

Here's how:
Open your browser, go to your router's IP (I assume it would be 192.168.1.1). Enter user ID and password, then after you got in, go to the "Firewall" section. Or if your webbox is showing an auto config kinda page, click "Advanced" first.

In the firewall section, select the correct interface for your public connection, then click all three checkboxes underneath it. Click apply. All done.

Also, your main gateway is NOT your router's IP. :) It's the gateway for your public IP, and these numbers should be given to you by your ISP. The first 3 numbers of these IPs should be the same, only the last number is different. It should be something similar to this: IP is aaa.bbb.ccc.254, and gateway is aaa.bbb.ccc.253.

Hope this helps.

If anyone think I'm doing something wrong, feel free to correct me.

-T-
thanks for the response, I have another question, since I will be connecting the mikrotik to a dsl router,would it it ok if I dont assign IP address on the WAN interface? instead set it up as a DHCP client so it will get the public IP from my dsl router? or is it really mandatory to assign IP address to WAN interface?