[Dnsmasq-discuss] Re: Simple config question (I hope)

AJ Weber aweber at comcast.net
Thu Mar 1 18:01:57 GMT 2007


Boy, was I hoping that was the answer! ;)

Thanks again,
AJ

  ----- Original Message ----- 
  From: Simon Kelley 
  To: AJ Weber 
  Cc: 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20070301/7a440dd5/attachment.htm


More information about the Dnsmasq-discuss mailing list