[Dnsmasq-discuss] Re: Simple config question (I hope)
Simon Kelley
simon at thekelleys.org.uk
Thu Mar 1 18:56:47 GMT 2007
AJ Weber wrote:
> Unfortunately, it doesn't seem to be working.
>
> It will serve DHCP to the eth0 interface just fine. However, no action
> from the eth2 interface.
>
> It does not seem "to just work". :(
>
> How do I go about troubleshooting this?
Check the logs: if there's errors, that will help diagnose the problem,
if there's no DHCP transactions logged for eth2, then you probably have
an iptables/firewall rule which is blocking DHCP broadcasts from eth2.
Cheers,
Simon.
>
> Thanks,
> AJ
>
> ----- Original Message -----
> *From:* AJ Weber <mailto:aweber at comcast.net>
> *To:* Simon Kelley <mailto:simon at thekelleys.org.uk>
> *Cc:* dnsmasq-discuss at lists.thekelleys.org.uk
> <mailto:dnsmasq-discuss at lists.thekelleys.org.uk>
> *Sent:* Thursday, March 01, 2007 1:01 PM
> *Subject:* [Dnsmasq-discuss] Re: Simple config question (I hope)
>
> Boy, was I hoping that was the answer! ;)
>
> Thanks again,
> AJ
>
>
> ----- Original Message -----
> *From:* Simon Kelley <mailto:simon at thekelleys.org.uk>
> *To:* AJ Weber <mailto:aweber at comcast.net>
> *Cc:* dnsmasq-discuss at lists.thekelleys.org.uk
> <mailto:dnsmasq-discuss at lists.thekelleys.org.uk>
> *Sent:* Thursday, March 01, 2007 12:43 PM
> *Subject:* Re: Simple config question (I hope)
>
> AJ Weber wrote:
> > I have three NICs/interfaces in my server (eth0-2). (IPCop
> Question
> > coming)
> >
> > I want to serve DHCP to eth0 and eth2 ONLY.
> >
> > Thus, I've added the "except-interface=eth1" to the config.
> That's
> > probably what I want.
>
> If you don't want to serve DNS on eth1 either, that's fine. If
> you want
> DNS on eth1 (but not DHCP) then do
>
> no-dhcp-interface=eth1
>
> instead.
>
> >
> > However, I want to serve 198.162.1.x addresses via DHCP to
> eth0. I
> > want to serve 192.168.2.x addresses to eth2. (These
> interfaces have
> > a static address in that range already.)
> >
> > I see I can enter two different dhcp-range's into the config.
>
> Yes, do that.
>
> > How do
> > I tell it to serve the .1 subnet to eth0 and the .2 subnet to
> eth2?
>
> There's no need, it all just works automagically.
> >
> > The network-id thing is messing with my head. Do I need to
> use that?
>
> No, it will just work.
>
>
> Cheers,
>
> Simon.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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