Community discussions

MikroTik App
 
User avatar
mambotech
Member Candidate
Member Candidate
Topic Author
Posts: 112
Joined: Thu Jun 08, 2006 6:20 pm

Client unable to ping remote gateway

Sat Oct 14, 2006 6:22 pm

Hi,

I have just installed one of the Mikrotik CPE units and for some unknown reason the client PC is not able to browse the internet. This is the configuration:

Wlan=station mode ip address=192.168.2.26 gateway=192.168.2.7
ether1 ipaddress = 192.168.10.1 dhcp-server enabled
Client PC ipaddress=192.168.10.2 gateway=192.168.10.1

Standard Nat rule set 0 chain=src-nat out-interface=wlan1 action=masquerade

The problem I am facing is.

1. I can ping the remote gateway 192.168.2.7 from the router when connect via telnet to the wlan interface.

2. I can ping the remote gateway 192.168.2.7 from the router when connect via telnet to the ether1 interface.

3. I can ping the wlan interface 192.168.2.26 from the client PC

4.I cannot ping the remote gateway 192.168.2.7 from the client PC.

5.I cannot ping the client from the router either. The client has been allocated an ipaddress from the router of 192.168.10.2.

Can anyone tell me what I have missed.


Thanks Mark
 
User avatar
BrianHiggins
Forum Veteran
Forum Veteran
Posts: 720
Joined: Mon Jan 16, 2006 6:07 am
Location: Norwalk, CT
Contact:

Sat Oct 14, 2006 7:12 pm

sounds like you nat rule isn't working correctly...
 
User avatar
mambotech
Member Candidate
Member Candidate
Topic Author
Posts: 112
Joined: Thu Jun 08, 2006 6:20 pm

Nat Rule

Sat Oct 14, 2006 7:19 pm

Hi Forepoint,

Is there any other way of fixing this problem. I have even added a static route to the AP that the client connects to. I can ping from the main AP all the way back to the 192.168.10.1 address.

Thanks Mark
 
User avatar
BrianHiggins
Forum Veteran
Forum Veteran
Posts: 720
Joined: Mon Jan 16, 2006 6:07 am
Location: Norwalk, CT
Contact:

Sat Oct 14, 2006 7:51 pm

do you have a software firewall turned on at the client machine?

try another client to rule out problems with it.
 
User avatar
mambotech
Member Candidate
Member Candidate
Topic Author
Posts: 112
Joined: Thu Jun 08, 2006 6:20 pm

ping

Sat Oct 14, 2006 7:59 pm

Forepoint the client can ping the wlan interface 192.168.2.26 ????
 
User avatar
BrianHiggins
Forum Veteran
Forum Veteran
Posts: 720
Joined: Mon Jan 16, 2006 6:07 am
Location: Norwalk, CT
Contact:

Sat Oct 14, 2006 8:02 pm

if you can ping wlan1, but not the AP, it sounds like your NAT rule isn't working...

also, with having NAT in place, you will not be able to ping the client from the host AP...
 
User avatar
mambotech
Member Candidate
Member Candidate
Topic Author
Posts: 112
Joined: Thu Jun 08, 2006 6:20 pm

Nat

Sat Oct 14, 2006 10:21 pm

Forepoint,

If I remove nat what else can I setup. I have static routes


Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 192.168.2.0/24 192.168.2.26 wlan1
1 ADC 192.168.10.0/24 192.168.10.1 ether1
2 A S 0.0.0.0/0 r 192.168.2.7 wlan1
[mark@MikroTik] >
 
User avatar
BrianHiggins
Forum Veteran
Forum Veteran
Posts: 720
Joined: Mon Jan 16, 2006 6:07 am
Location: Norwalk, CT
Contact:

Mon Oct 16, 2006 1:39 am

why remove nat? you don't need access from the AP all the way to the PC do you?
 
User avatar
mambotech
Member Candidate
Member Candidate
Topic Author
Posts: 112
Joined: Thu Jun 08, 2006 6:20 pm

Nat

Mon Oct 16, 2006 1:49 am

Forepoint,

I have disabled nat and the PC is now getting an ipaddress from the Network DHCP server .....and I can ping the PC's ipaddress now. I am just waiting for the user to tell me if they can browse.

I agree Nat would be good but it's not working correctly.

Mark