[Dnsmasq-discuss] Serving multiple networks
Simon Kelley
simon at thekelleys.org.uk
Wed May 17 11:21:42 BST 2006
Sven Herzberg wrote:
> Hi guys,
>
> I have a machine with four network connections:
>
> ppp0: ADSL connection for most of my work
> eth0: used for ppp0
> eth1: wired lan at home
> eth2: network connection to an SDSL connection (used for some
> connections that need to be quick)
> ath0: wireless lan connection
>
> Right now, everything works very smoothly (until I started to add the
> wireless device).
>
> I had used dnsmasq to serve as a DNS and DHCP server on eth1 (serving a
> 192.168.1.0 network). Now I'd like to add a 192.168.2.0 network to be
> served at ath0.
>
> Can I do this with the same dnsmasq process?
Yes.
>
> How does the configuration look like?
Just add a dhcp-range line for the second network.
>
> Would I need two processes with different config files?
>
No.
> Can two processes of dnsmasq coexist peacefully?
Yes, if you set the "bind-interfaces" option, but you don't need two
processes to do what you want.
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list