Two NICs: one needed for server
dhcp1 at thehobsons.co.uk
Wed Mar 12 22:47:47 UTC 2008
Simon Hobson wrote:
>>>I am new at this. I have two NICs and I need to
>>>configure one to act as a server and the other as a
>>>client. How do I go about this?
>>you start the client and server like this:
>># dhclient eth0
>># dhcpd eth1
>>the manpages of dhclient and dhcpd should contain all the
>>informations that you need.
>But, how you do that is distribution dependent.
>Usually client and server are started by scripts, and you pass a
>configuration to the script for things like this. In Debian, the
>place to set it is in /etc/default/dhcp3-server IIRC.
Correction, that is how you configure which interface(s) the server
runs on. The client is automatically started on any interfaces
configured to use dhcp in /etc/networks/interfaces.
More information about the dhcp-users