[Dnsmasq-discuss] Serving Addresses on Multiple Subnets

John Stowers john.stowers at gmail.com
Thu Feb 7 16:37:48 GMT 2013


>
> The trick to do it is to use "up" lines for the second and subsequent
> addresses, so:
>
> iface eth1 inet static
>         address 192.168.1.1
>         netmask 255.255.255.0
>         network 192.168.1.0
>         broadcast 192.168.1.255
>         up ip addr add 192.168.21.2/24 dev eth1
>         up ip addr add 192.168.22.2/24 dev eth1
>

Great, this seemed to work. Thanks for your help!

It is a minor annoyance that this cannot be accomplished in the dnsmasq
config file - I was hoping to keep the configuration/association of
cameras/ports in just one place.

Might that be possible in the future?

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130207/0c1b716c/attachment.html>


More information about the Dnsmasq-discuss mailing list