[K12OSN] dhcp question

Christopher K. Johnson ckjohnson at gwi.net
Mon Feb 23 21:32:07 UTC 2004


Steve Wright wrote:

>On Tue, 2004-02-24 at 05:18, Aaron Leininger wrote:
>  
>
>>I thought you all might be able to help me out with something...
>>
>>I am helping to advise a computer club at my school. I am setting up a linux
>>server to do some things for them and to demonstrate some of the features of
>>linux. One of the things I am demonstrating is DHCP. I am running 2 network
>>cards on the server. 1 of them (eth0 at this point) is set to grab an
>>address off of the school network and I was hoping to install a dhcp server
>>and run it on the 2nd nic(eth1). The system says both cards are working
>>properly and are started. eth0 is grabbing an address off of the school
>>network fine and is working a-ok. I got dhcp server installed and the
>>service starts and stops fine but it isn't generating addresses. Is there
>>some way to tell the dhcp server which nic it is supposed to be serving
>>addresses through? I did some research online and found only basic setup
>>references.
>>
>>    
>>
>
>Yep, in the manual (/me resists the temptation) it says ;
>
>"The names of the network interfaces on which dhcpd  should  listen  for
>broadcasts  may  be specified on the command line."
>  
>
FWIW - the best way to set that argument for dhcpd is to edit 
/etc/sysconfig/dhcpd and change the line there to read:
DHCPDARGS=eth1

Chris

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021






More information about the K12OSN mailing list