Re: DHCP Troubleshooting

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

 



I tried changing the range to 192.168.1.10 - 192.168.1.254.  Same result:

[root@localhost yum.repos.d]# vi /etc/cobbler/dhcp.template (Did the change)
[root@localhost yum.repos.d]# cobbler sync
Shutting down dhcpd:                                       [  OK  ]
Starting dhcpd:                                            [  OK  ]
[root@localhost yum.repos.d]# tail /var/log/messages
Jun  2 14:55:05 localhost dhcpd: Sending on   LPF/eth0/00:0e:a6:65:57:99/192.168.1/24
Jun  2 14:55:05 localhost dhcpd: Sending on   Socket/fallback/fallback-net
Jun  2 14:55:48 localhost dhcpd: DHCPDISCOVER from 00:16:ec:cc:d1:f6 via eth0
Jun  2 14:55:49 localhost dhcpd: DHCPOFFER on 192.168.1.253 to 00:16:ec:cc:d1:f6 via eth0
Jun  2 14:55:50 localhost dhcpd: DHCPDISCOVER from 00:16:ec:cc:d1:f6 via eth0
Jun  2 14:55:50 localhost dhcpd: DHCPOFFER on 192.168.1.253 to 00:16:ec:cc:d1:f6 via eth0
Jun  2 14:55:54 localhost dhcpd: DHCPDISCOVER from 00:16:ec:cc:d1:f6 via eth0
Jun  2 14:55:54 localhost dhcpd: DHCPOFFER on 192.168.1.253 to 00:16:ec:cc:d1:f6 via eth0
Jun  2 14:56:02 localhost dhcpd: DHCPDISCOVER from 00:16:ec:cc:d1:f6 via eth0
Jun  2 14:56:02 localhost dhcpd: DHCPOFFER on 192.168.1.253 to 00:16:ec:cc:d1:f6 via eth0

The client asks, DHCP offers, and the client asks again....weird right?

Ole




Pablo Iranzo Gómez wrote:
	It looks like that :)

	Mine is:
# ******************************************************************
# Cobbler managed dhcpd.conf file
#
# generated from cobbler dhcp.conf template ($date)
#
# ******************************************************************
#option
host-name=concat("equipo-",substring(binary-to-ascii(10,8,".",leased-address),9,3));

set vendorclass = option vendor-class-identifier;
ddns-update-style interim;
use-host-decl-names on;
allow unknown-clients;
default-lease-time 14400;
max-lease-time 28800;
authoritative;
#if $omapi_enabled
omapi-port $omapi_port;
#end if
option wpad-url    code 252 = text;
option wpad-url "http://1.1.3.1/wpad.dat ";
allow booting;
allow bootp;
ignore client-updates;
filename                "/pxelinux.0";
default-lease-time      21600;
max-lease-time          43200;
next-server             $next_server;
option domain-name "";

subnet 1.1.1.0 netmask 255.255.255.0 {
  option domain-name-servers 1.1.1.1;
  range 1.1.1.3 1.1.1.254;
  option broadcast-address 1.1.1.255;
  option routers 1.1.1.1;
  option netbios-name-servers 1.1.1.1;
  option netbios-node-type 8;
  option ntp-servers 1.1.1.1;
}


$insert_cobbler_system_definitions
�

------------------------------------------------

Change ranges and test on yours just to be sure :)







_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux