[Dnsmasq-discuss] multi-homed server with same hostname on 2 subnets
Craig Yoshioka
craigyk at me.com
Sat Jul 21 20:49:38 BST 2012
Sorry, typo the lines should have been:
> dhcp-host=eth0,myserver,192.168.0.10
> dhcp-host=eth1,myserver,192.168.1.10
On Jul 21, 2012, at 12:44 PM, Craig Yoshioka <craigyk at me.com> wrote:
>
> Hi,
>
> I have a server using two interfaces for different subnets, with the same hostname on both. The subnets are:
> 192.168.0.0/24
> 192.168.1.0/24
>
> I've gotten each interface to get the correct IP from dnsmasq using:
> dhcp-host=eth0,myserver,192.168.0.10
> dhcp-host=eth0,myserver,192.168.1.10
>
> but when dnsmasq is asked to resolve the address of myserver it always answers with 192.168.1.10 regardless of what subnet the request came from.
>
> What's the proper way to setup this up?
>
> Thanks,
> -Craig
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list