[Dnsmasq-discuss] domain per interface

/dev/rob0 rob0 at gmx.co.uk
Sat Mar 15 19:49:07 GMT 2008


I don't see how (if it is possible) to set a domain value per
interface. I'm serving DHCP on a wired LAN and an insecure wireless
segment. I want wired hosts to be "$HOST.lan.example.net." and the
wireless ones, "$HOST.wifi.example.net."

Am I missing something?

Here's the deal: I want an extra layer of protection for my nfsd. The
exports(5) file lists "*.lan.example.net." for access to shares. The
wireless hosts should not be allowed NFS. (Yes, it's firewalled also,
but the more layers the better IMO. At least I rest better. :) )

Maybe this does it:
    http://tools.ietf.org/html/rfc2132#section-3.17
dnsmasq.conf :
...
dhcp-range=wifi,192.168.3.127,192.168.3.192,255.255.255.0,12h
dhcp-option=wifi,15,wifi.example.net
...

(where 192.168.3.1 is the wireless interface IP address)
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header



More information about the Dnsmasq-discuss mailing list