Community discussions

MikroTik App
 
n4yeem
newbie
Topic Author
Posts: 27
Joined: Wed Dec 18, 2013 8:26 pm
Contact:

What is wrong with HAP Lite

Sat Dec 19, 2015 9:36 pm

I have bought a new hap lite for r&d purposes. First I tried to remove the default setting which cost me a lot of time to fix as hap lite comes with RouterOS 6.25.. it didn't boot after i tried to reset it..so i have to do a netinstall to get it working again. anyway long story short... i have configured it but i cannot use the internet when i assign a IP on my laptop. i can ping the gateway Ether4 (192.168.1.254). Ether1 is connected via pppoe. and i can ping google from the mikrotik but cannot get internet in my laptop. i have attached a picture with it so that the experts can look in to it..i am not an expert but i have knowledge how to configure a mikrotik with basic settings. i can't find the reason why i cant use the internet in my laptop? I look forward to all of your expert opinion.
testmtk.jpg
You do not have the required permissions to view the files attached to this post.
 
rjscomms
Member Candidate
Member Candidate
Posts: 132
Joined: Fri Jan 28, 2011 12:22 pm

Re: What is wrong with HAP Lite

Sat Dec 19, 2015 11:33 pm

Hello,

try adding ether1-Wan as Out-interface under ip->firewall->NAT
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 3097
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: What is wrong with HAP Lite

Sun Dec 20, 2015 4:43 am

Try this instead of your NAT rule.
/ip firewall nat
add action=masquerade chain=srcnat out-interface=Wan-1-out to-addresses=0.0.0.0
Do you have any firewall rules ? Try to disable them for test if above rule does not help.
 
rjscomms
Member Candidate
Member Candidate
Posts: 132
Joined: Fri Jan 28, 2011 12:22 pm

Re: What is wrong with HAP Lite

Sun Dec 20, 2015 5:33 am

Apologies, it should be Wan-1-out as bartoszp stated, since that is your pppoe interface name.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Sun Dec 20, 2015 8:02 am

I would like to see how the dns server and dhcp server and stuff around are set. Sure the masquerade should be corrected but I don't believe it is the reason. Can you ping to the 8.8.8.8 ip address from your pc?
 
n4yeem
newbie
Topic Author
Posts: 27
Joined: Wed Dec 18, 2013 8:26 pm
Contact:

Re: What is wrong with HAP Lite

Sun Dec 20, 2015 8:14 pm

Hello,

try adding ether1-Wan as Out-interface under ip->firewall->NAT
Thanks man...it worked. I have assigned a Wan as out interface on ip-->firewall-->nat. Thank you once again. But i still couldn't find a good reason why it didn't work with the default 0.0.0.0/0 masquerade. :?
 
n4yeem
newbie
Topic Author
Posts: 27
Joined: Wed Dec 18, 2013 8:26 pm
Contact:

Re:

Sun Dec 20, 2015 8:16 pm

I would like to see how the dns server and dhcp server and stuff around are set. Sure the masquerade should be corrected but I don't believe it is the reason. Can you ping to the 8.8.8.8 ip address from your pc?
Problem solved. I have added out interface on the ip>firewall>nat.

But i am still confused why the default 0.0.0.0/0 masquerade didn't worked..any ideas on that
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 3097
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: What is wrong with HAP Lite

Sun Dec 20, 2015 9:51 pm

We do not see all this rule on the screenshot.
Maybe there was 192.168.1.254 as source set instead of 192.168.1.0/24 subnet.
It explains why router have been able to ping "the world" but devices on LAN not.
 
n4yeem
newbie
Topic Author
Posts: 27
Joined: Wed Dec 18, 2013 8:26 pm
Contact:

Re: What is wrong with HAP Lite

Tue Dec 22, 2015 9:34 am

We do not see all this rule on the screenshot.
Maybe there was 192.168.1.254 as source set instead of 192.168.1.0/24 subnet.
It explains why router have been able to ping "the world" but devices on LAN not.
No..It was set correctly with 192.168.1.0/24 subnet.I am still confused why it didn't work... :?
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 3097
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: What is wrong with HAP Lite

Tue Dec 22, 2015 11:47 am

I should be easier to analyze the problem if you will send all your configuration. Just export it. Remeber to remove all usernames and passwords.