Community discussions

MikroTik App
 
sjobbe
just joined
Topic Author
Posts: 20
Joined: Mon Jan 03, 2011 11:40 am

Internet not working. Trying to create a gateway

Fri Apr 22, 2011 9:50 pm

I'm trying to create a wireless AP/gateway. I have one public IP from ISP in ether2.
RouterOS: 4.17
RouterBOARD: 493G

What am I doing wrong?

Image

I have 3 wlan-adapters in it.
DHCP works but no routing is happening. What is unreachable in this case (see pic)?

Also I'm able to connect with WinBOX from 192.168.10.x but not from the three other address ranges/interfaces (192.168.11.x, 192.168.12.x and 192.168.13.x). Why is this?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Internet not working. Trying to create a gateway

Fri Apr 22, 2011 10:22 pm

Screenshots are poor in conveying all the necessary information, but at a guess I would say that the routes are unreachable because the interfaces are down. Wireless interfaces are down when no one is associated with them.

If you need further help start by posting the output of "/ip address print detail", "/interface print detail", and "/ip route print detail".
 
sjobbe
just joined
Topic Author
Posts: 20
Joined: Mon Jan 03, 2011 11:40 am

Re: Internet not working. Trying to create a gateway

Sat Apr 23, 2011 9:03 am

I have reset the router to "factory settings".
What do I need to do in order to get it working like this:

192.168.11.x (ether3) --> NAT --> PublicIP (ether2)

I also noticed that the green led by the other (other than ether1) interfaces is not active. Only te orange one is blinking. Normal?
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Re: Internet not working. Trying to create a gateway

Sat Apr 23, 2011 12:39 pm

I have reset the router to "factory settings".
What do I need to do in order to get it working like this:

192.168.11.x (ether3) --> NAT --> PublicIP (ether2)

I also noticed that the green led by the other (other than ether1) interfaces is not active. Only te orange one is blinking. Normal?
Simply two things:

* You need a route of 0.0.0.0/0 to ether 2, the default gateway there. I wonder it is not set up automatically.
* You need to set up source nat from ether3 to ether2 address groups.
 
sjobbe
just joined
Topic Author
Posts: 20
Joined: Mon Jan 03, 2011 11:40 am

Re: Internet not working. Trying to create a gateway

Sat Apr 23, 2011 2:27 pm

I figured it out.

This is what I received from our ISP:

our IP: x.33.31.45
GW: x.33.31.17
255.255.255.240

Is that even possible? Netmask /28 is only for 16 IP-addresses. How is it that the GW is then 28 IP:s "away".

I put netmask /26 and it started working. Is this right or should I contact the ISP?
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Re: Internet not working. Trying to create a gateway

Sat Apr 23, 2011 2:48 pm

I figured it out.

This is what I received from our ISP:

our IP: x.33.31.45
GW: x.33.31.17
255.255.255.240

Is that even possible? Netmask /28 is only for 16 IP-addresses. How is it that the GW is then 28 IP:s "away".

I put netmask /26 and it started working. Is this right or should I contact the ISP?
You should definitely contact the ISP. Looks like some screwed up subnetting. Remember, quite a lot of ISP run around with people extremely clueless. One of my employees is by now famous at his ISP for telling them when their router fails.... because his internet is down. And they are too stupid to watch their own router.

Could be either some clueless person at the ISP, or a simple mistake. I would definitely clear that up.
 
sjobbe
just joined
Topic Author
Posts: 20
Joined: Mon Jan 03, 2011 11:40 am

Re: Internet not working. Trying to create a gateway

Sat Apr 23, 2011 3:46 pm

Tanks! I'll contact them next week.

I have one more question: how do I configure ether3 with wlan1 so that they are in the same network and receiving the same DHCP? Bridging?