Community discussions

MikroTik App
 
irfanazher
just joined
Topic Author
Posts: 2
Joined: Fri May 27, 2005 8:10 pm
Location: Pakistan
Contact:

Problem in routing traffic from wireless network to ethnet

Fri May 27, 2005 8:43 pm

I am unable to understand the problem in routing traffic from wireless network to ethernet network.
Here are some details of the scenario
I am using the private network of 192.168.0.0/24 on wireless Network and a private network of 10.0.0.0/8 on ethernet network.
Configuration of Wireless Interface are
IP = 192.168.0.1
SSID = test
default-farwordng = on
frequency = 2142
band=2.4GHz-B


Ethernet Interface Configuration
Ip = 10.1.1.1
GW = 10.1.1.254

Ip routes are

# DST-ADDRESS G GATEWAY DISTANCE INTERFACE
0 S 0.0.0.0/0 r 10.1.1.254 1 ether2
1 DC 192.168.0.0/24 r 0.0.0.0 0 wlan2
2 DC 10.0.0.0/8 r 0.0.0.0 0 ether2

The problem is that the packets of the wireless clients are not being forwarded to default Gateway. when i try to connect from wireless clients I can ping to ethernet interface of the router but cannot ping to default gateway, more ping to gateway from the router is successful but not from the wireless clients.

Please help me in solving this problem
 
User avatar
tneumann
Member
Member
Posts: 394
Joined: Sat Apr 16, 2005 6:38 pm
Location: Germany

Fri May 27, 2005 9:30 pm

Does your default gateway (10.1.1.254) have the necessary route to the
wireless network 192.168.0.0/24 pointing to your MikroTik router?

--Tom
 
hitek146
Member Candidate
Member Candidate
Posts: 161
Joined: Sat Apr 02, 2005 11:41 am

Sat May 28, 2005 12:21 am

Yes, packets with a source address of 192.x.x.x(in your case) would have a path to your gateway, based on your default route, but your gateway doesn't know what to do with packets it receives from the outside that need to be sent to the 192.x.x.x subnet. You will need a route in the gateway router that sends packets intended for 192.168.0.0/24 to 10.1.1.1..... Conversely, you could just set up masquerading between the 192.168.0.1 interface and the 10.1.1.1 interface....

Hitek
 
User avatar
djape
Member
Member
Posts: 469
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Sat May 28, 2005 2:06 am

Well, if you followed /setup you're IP ADDRESS should look like this:
10.1.1.1/24 (24 is for not to broadcast whole subnet) network 10.1.1.0 broadcast 10.1.1.255 ether2
192.168.0.1/24 network 192.168.0.0 broadcast 192.168.0.255 wlan2
Then route should look like this:
Destination 0.0.0.0/0 Gateway 10.1.1.254 ether2
192.168.0.0/24 Pref. Source 192.168.0.1 wlan2
10.1.1.0/24 Pref. Source 10.1.1.1 ether2

Please, check you configuration one more time and consult the manual...

Cheers...
I drink like a pirate and smoke like a hippie...
 
irfanazher
just joined
Topic Author
Posts: 2
Joined: Fri May 27, 2005 8:10 pm
Location: Pakistan
Contact:

Sat May 28, 2005 3:36 pm

Thanks you all your help !

Yes I forgot to inculde a return path on my default gateway

Thanks a lot

Who is online

Users browsing this forum: Google [Bot] and 63 guests