I have a (possibly?) peculiar set up:
- A virtual host running:
|--- A virtual server running DNSMasq
- A ISP provided router, with DHCP/DNS disabled
- A Wireless Access Point (actually, an aftermarket router) with a single Ethernet cable connected to one of the LAN ports (as opposed to the WAN port).
These are all connected via an unmanaged switch. I'm using 10.10.0.0/16 for my network, and all of my permanent hosts have statically assigned IP addresses via the DNSMasq server. My DNSMasq config also allows unknown hosts to get an IP address, in the range 10.10.99.0-10.10.99.50.
Everything works well, and all clients (static and dynamic) can see the network, and the internet. My Wifi access point doesn't support multiple SSIDs (unless I flash OpenWRT which is a last resort option).
What I want is for those hosts dynamically assigned an IP to ONLY have internet access (ie nothing on the LAN).
1) is this possible?
2) is this worth it (ie can clients just reconfigure themselves to get LAN access anyway?)
3) what would the approach be?
I think I have a sound theoretical approach involving vlans, bridges (on the DNSMasq server maybe) and DNSMasq assigning IPs on a different subnet, but I'm struggling to actually put it all together.
Any tips?
- A virtual host running:
|--- A virtual server running DNSMasq
- A ISP provided router, with DHCP/DNS disabled
- A Wireless Access Point (actually, an aftermarket router) with a single Ethernet cable connected to one of the LAN ports (as opposed to the WAN port).
These are all connected via an unmanaged switch. I'm using 10.10.0.0/16 for my network, and all of my permanent hosts have statically assigned IP addresses via the DNSMasq server. My DNSMasq config also allows unknown hosts to get an IP address, in the range 10.10.99.0-10.10.99.50.
Everything works well, and all clients (static and dynamic) can see the network, and the internet. My Wifi access point doesn't support multiple SSIDs (unless I flash OpenWRT which is a last resort option).
What I want is for those hosts dynamically assigned an IP to ONLY have internet access (ie nothing on the LAN).
1) is this possible?
2) is this worth it (ie can clients just reconfigure themselves to get LAN access anyway?)
3) what would the approach be?
I think I have a sound theoretical approach involving vlans, bridges (on the DNSMasq server maybe) and DNSMasq assigning IPs on a different subnet, but I'm struggling to actually put it all together.
Any tips?