[Solved] Dumb AP uses wrong interface itself

My dumb AP has 3 interfaces: private network (main), guest network (separated) and IoT network (no wan access). On my router I have a static IP for the dumb AP in the private network. However, the dumb AP takes/receives an IP from the IoT pool and thus has no internet access (cannot update the opkg or ping). How can I solve this? I want the dumb AP to use my main private network so it also has internet access itself.

(Devices connected to the dumb AP have internet and work correctly, and I am able to SSH into the dumb AP).

reconfigure it to use the other network ?

it's IP have no relevance for the traffic flowing through it ...

1 Like

Can you tell me how? I have only very basic knowledge and mostly followed guides.

can't tell, since you haven't told as anything about your network ...

how are the three interfaces separated ? subnets ? VLANs ?

I solved it already but here is the information for others:

root@OpenWrt-AP:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.16.0.1      0.0.0.0         UG    0      0        0 br-IOT
10.20.30.0      0.0.0.0         255.255.255.0   U     0      0        0 br-GUEST
172.16.0.0      0.0.0.0         255.255.255.0   U     0      0        0 br-IOT
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan

root@OpenWrt-AP:~# route del default

root@OpenWrt-AP:~# ip route add default via 192.168.1.1

root@OpenWrt-AP:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 br-lan
10.20.30.0      0.0.0.0         255.255.255.0   U     0      0        0 br-GUEST
172.16.0.0      0.0.0.0         255.255.255.0   U     0      0        0 br-IOT
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan

Reboot the AP

If the guest and IoT networks are just bridges to a main router, they should not have IPs at all on the dumb AP. The only reason a truly dumb AP needs any IP is to log in and administer it. This would be one IP on a trusted network.

4 Likes

I see thanks. Can I leave it like this anyway (since it works) or should I invest time to fix this?

Really up to you, but as mk24 said, those additional IPs aren't needed for anything.

It is quite simple, just change the protocol of the iot and guest interfaces from static to unmanaged.

4 Likes

That was easy. Done!

1 Like

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

1 Like

be aware if the bridges have no IP address (i.e. they are unmanaged) then OpenWRT will not show any performance metrics. e.g. if you have a wireless AP connected to a bridge without that bridge having an IP ADDR you will not be able to see which wireless devices are connected to the AP or what are the wireless RX/TX data rates. Not sure if this is by design or someone has forgot to hook something in.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.