Hello,
I have a problem to set up Archer C2 as wifi client.
Main network is UniFi, Cloud MAX router ad U6+ ap. VLAN 2 for SSID "Bridge" ip 192.168.1.x
Now for openwrt I checked all possible tutorials and in any way I can't make it working, dhcp from main network never work on lan ports of openwrt.
On openwrt:
- Interface LAN ip 192.168.1.10, DHCP off
- Wireless connected in client wds to unifi network "Bridge" I have access to openwrt from unifi network at ip 192.168.1.10, zone set to "lan"
- Switch, now there is maybe a problem with vlan? so default setting is vlan 1 and 2, 1 is untagged, 2 is off, vlan support is "on", then I have access to openwrt interface, but no dhcp on lan ports, with static ip on computer no access to internet and network outside openwrt. When I set only vlan 2, no access to openwrt, lan outside and internet, same when I switch off vlan support in openwrt.
No idea how to solve this, did any of you had this problem, or set it up to work with unifi wifi?
I just need connect second building to current network. Unable to use cable so I need to do it on wifi.
Does this mean that the C2 is connecting wirelessly to the upstream network?
WDS doesn't usually work across different ecosystems.
Yes C2 is connecting to upstream network
is there any other way to do it, not with WDS?
If you can use ethernet, that's the best option. But in your case, if you need to connect to the upstream wirelessly, you can either use:
- Routed client - this works well if the downstream network doesn't need to be on the same subnet as the upstream wifi to which the router is connecting. The downstream devices can (optionally) reach those on the upstream network, but not vice versa (although that is actually possible, too, if desired). You can also create firewall rules to prevent the downstream network from reaching the upstream.
- relayd - this is a bit of a hack, but will allow the downstream devices to be on the same subnet as the upstream.
I did try relayd, problem is the same, no dhcp on lan ports, no network access, no internet. But when I added wifi network in ap mode and connect to this wifi network then all is fine (but still lan ports don't work).
That suggests a config issue. The ethernet ports and the wifi AP are nominally all connected to the same bridge, so they should 'just work' if everything is properly configured.
So... with relayd, reset to defaults and follow the tutorial exactly (only making the necessary adaptations if the assumptions in that tutorial are different than your actual environment). If it still doesn't work, post your configs for review. (I probably won't be the one to help with relayd -- I haven't ever needed it, so never used it).