[Dnsmasq-discuss] dnsmasq as nameserver for a separated router lan port (vlan2ports="3 4 5")

Simon Kelley simon at thekelleys.org.uk
Wed Jan 4 21:40:18 GMT 2012


On 31/12/11 07:36, go4unkwn at hushmail.com wrote:
> hello
> 
> I use TomatoUSB 1.28 (VPN Version) on a Linksys WRT54G v3.1.
> This router creates a dmz, so that i can isolate file- and 
> webservbers from a local private network.
> 
> Now i want create to separate subnets behind the Linksys router. 
> let's say
> 
> subnet 1 (vlan0): router 10.0.0.1 / dhcp range 10.0.0.100, 
> 10.0.0.115 / dns server (dnsmasq) 10.0.0.1
> 
> subnet 2 (vlan2). router 10.0.1.1 / dhcp range 10.0.1.100, 
> 10.0.1.115 / dns server (dnsmasq) 10.0.1.1
> 
> Can I use "the same" dnsmasq as dns server in both subnets?

Yes, one dnsmasq server will do both networks, and in most cases it will
get the router and dns server addresses correct automatically without
any need for explicit configuration. Just supply a dhcp-range config
line for each network and dnsmasq will do the rest.

Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list