Urgent!!! Newbie questions regarding wireless connection.

I would like to setup the network as follow:

PC1 ---- (ether1 – bridge1 – wlan1) ---- router ---- PC2 (or internet)
RouterBoard 133c3

Basically I would like to use the RB so that the PC1 can have wireless feature, and then it can connect with a generic wireless router which connects to PC2 or the internet depending on the situation. I expect this should be a very simple setup but I’ve tried for a week and I still couldn’t make it. So far the following setup should be the closest to the solution I’ve been trying:

wlan1 - has been set so that it can talk to the router. The “R” flag is on.
bridge1 - basic setting. 2 ports have been added to bridge1, one for ether1 and one for wlan1

I’ve used wireshark on both the PC1 end and the PC2 end to test the traffic. When I run wireshark on the PC2 and ping from PC1, wireshark showed me that PC2 has received an ARP request from the router, which originally from PC1, and it also replied the ARP request back to the router. However, the result from the ping operation on PC1 is time out. I then switch the situation by running wireshark on PC1 and ping from PC2 this time, but the same result comes out.

I have no clue how to fix this, nor what may cause the problem. Could somebody please kindly suggest something so that I may move on? Thank you very much.

Horace

Don’t know wireshark, but as soon as you put an interface into the same bridge, all traffic is forwarded between them, as though you are on the same physical LAN cable. Should work fine. Be sure to be in the same ip range and ping PC 1 with command prompt from PC 2 and the other way round. If ping, every thing ok.

Thank you Egate. That’s what I think too, but I just can’t ping from one side to the other (both direction). Did I miss out anything for the configuration? Again, I’ve set the wlan1 interface in station mode; band, frequency and ssid matched with my other router; add bridge1 and two ports for both ether1 and wlan1, and that’s all.

Horace

Any suggestions?

You can’t bridge a station.

If that’s the case, then how can I connect the router board to my router?

use it in station mode and route.

How to do the routing then? Below is my configuration but it’s not working. Is there anything wrong?

IP:
Address: 192.168.1.70
Network: 192.168.1.0
Broadcast: 192.168.1.255
Interface: wlan1

Route:
Destination: 192.168.10.0/24
Gateway: 192.168.1.70
Check Gateway: ping
Scope: 255
Target Scope: 10
Pref. Source: 192.168.1.70
Type: unicast
Interface: wlan1

The regular router IP: 192.168.10.1

Please help! Thank you very much.

Basic Routing.

First, make sure you delete your bridge and any other configuration.

  1. Add an IP address to wlan1 on the same subnet as the router you are connected to.

  2. Add an IP address to ether1 on a completely different subnet

  3. Add a last resort route 0.0.0.0/0 uses gateway (IP of your wireless router)

  4. Setup DHCP ip dhcp server setup

  5. Add a simple firewall rule ip firewall nat add chain=srcnat action=masquerade

How to setup the Dhcp server? I followed the doc but it’s not working:

/ip pool add name=dhcp-pool ranges=192.168.1.2-192.168.1.254
/ip dhcp-server network add address=192.168.1.0/24 gateway=192.168.1.1
/ip dhcp-server add interface=wlan1 address-pool=dhcp-pool

192.168.1.0/24 is the subnet the ether1 and PC1 is in
10.0.0.0/24 is the subnet the wlan1, the router, and PC2 is in

Here is the network setup:

PC1 ---- (ether1 – wlan1) ---- router ---- PC2

From PC1, I can only ping up to ether1
From routerboard, I can ping up to PC1 and router
From PC2, I can only ping up to wlan1

What did I get wrong?

use WDS and to bridge properly with the wireless card

bridge1 should have wlan1 and ethe1 as ports
Set Wireless to Station WDS
WDS tab set to dynamic and bridge1

no routing required.

Erik