Setting up DCHP on FC1

Jacques Dimanche jbd at sysads.com
Fri Oct 8 03:02:39 UTC 2004


usmany at excite.com wrote:

>Hi guys,
>
>Guys, I wanted setting up dhcp on FC1 box. I did everything regarding parameter settings all in /etc/dhcpd.conf file, but when I started it, its prompted me with error message saying " Not configured to listen to any interface".
>
>To my understanding, is like no interface assigned for that purpose, right?
>
>I have just eth0 in use for my internet access connect to the hub which is also accessing internet through linkstar modem/gateway...
>
>How can I make it work that way without me installing another ethernet card... must I add 1 more interface card for that purpose or not?
>
>Please help me do the right thing.
>
>Thanks
>  
>
What does your dhcpd.conf file look like and what are your ethernet 
settings.  Your subnet configuration must match one of the interfaces 
that you want it to listen to.  For example say I have 2 ethernets that 
has one public and one private subnet.  The public ip is 
xxx.xxx.xxx.xxx/27 and the private ip is 192.168.0.1/24.

In my dhcpd.conf file, I have the following configuration:

subnet 192.168.0.0  netmask 255.255.255.0 {
        authoritative;
        range 192.168.0.2  192.168.0.254;
        option routers 192.168.0.1;
        option domain-name "somedomain.com";
        option domain-name-servvers 192.168.0.1;
        default-lease-time 43200;
        max-lease-time 86400;
}

When I start the dhpcd server, it will bind to and listen on the private 
ip interface.  Doesn't matter if you only have 1 ethernet, just make 
sure that your subnet declaration matches the NETWORK address that your 
ethernet address is assigned. 


-- 
Sincerely Yours,

Jacques B. Dimanche
VP for Research and Development

Tridel Technologies, Inc.
7th Floor Hanston Building
Emerald Ave., Ortigas Center
Pasig City, 1605

Tel: (632) 634-5140
Fax: (632) 634-5139

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3158 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041008/3b029abe/attachment-0001.bin>


More information about the fedora-list mailing list