I am trying to make a wireless system as below, please guide me how, as you see I want that whole system must be at the same ip range which my dhcp server give. Please help me one by one I am newbee.
Mode station
This is standard mode that does not support L2 bridging on station - attempts to put wireless interface in bridge will not produce expected results. On the other hand this mode can be considered the most efficient and therefore should be used if L2 bridging on station is not necessary - as in case of routed or MPLS switched network. This mode is supported for all wireless protocols.
so you need to change the wlan1 to station wds
For wlan2, I’m not sure but let me take atour on wiki
ap-bridge - Basic access point mode.
bridge - Same as ap-bridge, but limited to one associated client.
wds-slave - Same as ap-bridge, but scan for AP with the same ssid and establishes WDS link. If this link is lost or cannot be established, then continue scanning. If dfs-mode is radar-detect, then APs with enabled hide-ssid will not be found during scanning.
I have a question, Why do you want to have a bridge network like this while you can separate broadcast domain?
If the point is access users to Internet, in first router add some new rule (NAT) to allow the other users with different IP access the Internet.
Yes off course. That’s called “routing”. That’s what a router is made for.
Regarding the use of a routed network or bridge is more an issue of the traffic demand and available capacity of the routers.
In a broadcast domain all traffic goes to all nodes. Thus if many units in the same network produce a lot of traffic (Camera’s!) it is almost asking for delays in the network due capacity issues (collisions).
But for relative small networks with not so much traffic it is an easy way to make things work by using a fully bridged environment.
One of the disadvantages of bridging is also that bridged unit are transparent and for troubleshooting it is more difficult to find where things go wrong.