View Single Post

  #3 (permalink)  
Old 01-04-2008
Chris Davies
 
Posts: n/a
Default Re: Running a DHCP server on multihomed Linux

Suk <sukesh@zoom.co.uk> wrote:
> Im using the DHCP server shipped with openSUSE and want to be able to
> configure it so that the DHCP server listens on both interfaces and is
> able to issue appropriate IP's to each network. Is it possible to do
> this?


On 4 Jan, 14:28, Davide Bianchi replied:
> Sure it is, just read the man page of dhcpd and configure it
> accordly.


Suk <sukesh@zoom.co.uk> wrote:
> Thanks but if you don't know the answer then please dont post a reply


man dhcpd says, variously, the following:

(a) In the section "COMMAND LINE",

The names of the network interfaces on which dhcpd should listen
for broadcasts may be specified on the command line. [...] If
no interface names are specified on the command line dhcpd will
identify all network interfaces which are up [...] and listen for
DHCP broadcasts on each interface.


(b) In the section CONFIGURATION,

The syntax of the dhcpd.conf(5) file is discussed separately. This
section should be used as an overview of the configuration process,
and the dhcpd.conf(5) documentation should be consulted for detailed
reference information.


The referenced man page for dhcpd.conf says:

Declarations are used to describe the topology of the network, to
describe clients on the network, to provide addresses that can be
assigned to clients, or to apply a group of parameters to a group
of declarations.


On my Debian box (admittedly not openSUSE, about which I have no
information) there's even an example file under /usr/share/doc/ that
includes the sort of thing you need.


Seems pretty clear to me.
Chris
Reply With Quote