-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi klondike On 21/02/2014 3:29 pm, klondike wrote: > > In an ideal world, it would be possible to tune the reply depending on > the network the request came from to avoid unnecessary routing accross > VLANs, for example if a request is sent for router.lan from the > 10.10.0.0/16 network the reply would be 10.10.0.1 but if it is sent from > 10.60.0.0/16 the reply would be 10.60.0.1 this would provide the > possibility of having the servers listening on trunk lines with tagged > VLANs on the switch so routing would be unnecessary to access them. > If you use 802.1q vlan and bring the these directly to the router (running dnsmasq) and assign the two different networks to the interfaces, dnsmasq will just do this correctly.
dhcp-range=10.10.0.1,10.10.255.254,4h dhcp-range=10.60.0.1,10.60.255.254,4h These lines will just find the correct interface and supply the correct DHCP records. Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlMG5AEACgkQfgQf7OYYFPWnlACgsl08zXLGtFZq4g/zxbJA6n4o 57IAniMZbV1Lea8527OxMQcpyu0LwNn0 =AWom -----END PGP SIGNATURE----- _______________________________________________ Dnsmasq-discuss mailing list [email protected] http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
