Re: DHCP

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

 



antonio montagnani wrote:

Rodolfo J. Paiz wrote/ha scritto, On/il 25/03/2004 07:03:


Read the man page on dhcpd.conf for more detail and to verify syntax, but I think this should do it:


option          domain-name-servers             192.168.0.1;

Cheers,


Tnx for advice...I tried immediately, but it didn't work.The system is not broadcasting any DNS, i.e. the other computers on the network stop surfing the net as soon as remove DNS from their TCP/IP page, hoping to get automatically from gateway. I guess I shall have to study manual ;-)

option domain-name-servers 192.168.0.1;
ddns-update-style interim;
ignore client-updates;

subnet 192.168.0.0 netmask 255.255.255.0 {
   ddns-updates on;
   # --- default gateway
   option routers 192.168.0.1;
   option subnet-mask 255.255.255.0;
   range dynamic-bootp 192.168.0.128 192.168.0.254;
   default-lease-time 21600;
   max-lease-time 43200;
   }

Any hint??

1) The option domain-name-servers should be defined in the subnet block
2) Unless you are running DNS on your default gateway machine, I believe that you need to have a different DNS server.


My dhcpd.conf looks like this:

subnet 192.168.0.0 netmask 255.255.255.0 {
 option routers 192.168.0.1;
 max-lease-time 604800;
 default-lease-time 604800;
 range 192.168.0.20 192.168.0.30;
 option domain-name-servers xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx;
}

Where the xxx.xxx.xxx.xxx are replaced with the correct DNS addresses.

HTH..




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

  Powered by Linux