WiFi issues on the zeroes

here’s another option for keeping wlan and eth apart config -wise…

.192 subnets. Lol One gateway / default route.

/192 subnet mask will give you 4 networks and 62 useable ips per network for machine addressable ips.

router
192.168.1.1
255.255.255.192

pi1
wlan0 192.168.1.66/192
eth0 192.168.1.132/192

pi2
wlan0 192.168.1.67 /192
eth0 192.168.1.133 /192

desktop Ubuntu /mac / iphone whatever
wlan0 192.168.1.68 /192
eth0 192.168.1.134 / 192

Having the /192 subnet mask gives you 4 networks in the reserved (private) ranges avail on ONE home router: 192.168.1.x
Net 1: 0-63
Net 2: 64-127
Net 3: 128-191
Net 4: 192-256

each net needs a gateway and broadcast so you’re wasting first and last ip of each net above. 62 left.

Example:
Net 1: Network 192.168.1.0, Brdcst: 192.168.1.63, ip range .1-.62 /192

Our router is on Net 1 @ 192.168.1.1 - this is our default route for each network no matter what machine we are configuring inside the lan or what subnet it’s on. All traffic hits this and then gets forwarded to the appropriate network and therefore interface, respectively.

Keep the Net 1 range for equipment that all your networks (net2 net3 etc aka wlan0, eth0, etc) need to access. This way it’s on the same network and port as the LAN port of router. anything not found gets forwarded to WAN by router. Use this network for your family, guests, etc so they arent on your network and cant access anything without any firewalling required!

Use net 2 range for wlan0 on all machines
Use net 3 range for eth0 on all machines
use net 4 range for wlan1/eth1 on all machines… for example…

whatever you do, be consistent and document your code with comments so future you remembers what’s going on.

Thoughts? seems like it’s way simpler and plays nice with things like HostAPd WIFIHotspot etc since no two nics in one machine are on same network ever.