NIC on DHCP Server
dhcp1 at thehobsons.co.uk
Tue Jan 15 07:40:37 UTC 2008
stephane lepain wrote:
>On the top of my first problem, I have two nics on my dhcp server. Do I
>have to have them static or working as client with dhcp server. Does it
>really matter? Right now I have on static and another one working as a
>client. Putting the two on static srews the dhcp server.
Not enough information really ...
Are these on one network, or two different networks ? Do you want to
issue leases to clients via both, or only via one ?
In general, ANY interface that is to have a DHCP Server running on it
should have a static address - other interfaces can by configured by
DHCP (but not via itself normally). A common situation would be a
home router setup - you offer DHCP service to your internal network,
but receive the outside configuration via DHCP from your ISP.
You can configure the DHCP server to only listen on certain
interfaces by listing them on the command line - eg "dhcpd eth1
eth2". Many Linux Distributions have a config file where you can set
such config options, eg on Debian you would put a line
'INTERFACES="eth1 eth2"' in /etc/default/dhcp3-server
More information about the dhcp-users