Re: Setting up DCHP on FC1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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, 

Below is what i have on my dhcpd.conf:

# DHCP Deamon configuration file

authoritative;

max-lease-time 90400;
default-lease-time 99900;
ddns-update-style interim;
ddns-ttl 7200;

subnet 192.168.1.0 netmask 255.255.255.0 {
	option subnet-mask 255.255.255.0;
	# option broadcast-address 192.168.1.255;

	# don't let clients modify their own records
	ignore client-updates;

	ddns-updates on;
	ddns-domainname "dan.net.";
	ddns-rev-domainname "in-addr.arpa.";

	option domain-name "dan.net";
	option domain-name-servers 192.168.1.3, 192.168.1.4;	option routers 192.168.1.1;

	range 192.168.1.21 192.168.1.60;

I have above setting on 1 of the dhcp server and is working fine, i copied it to use on another as same, but is telling me "No interface to listen". I wanted using it somewhere not within my network.

If I want to add another interface card, will that assign it there?

Thanks

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux