السلام عليكم ورحمة الله وبركاته ارجو الافاده
dhcp server root@mustafa-sr1:/home/mustafa-sr1# vim /etc/dhcp3/dhcpd.conf root@mustafa-sr1:/home/mustafa-sr1# /etc/init.d/dhcp3-server restart
- Stopping DHCP server dhcpd3 [fail]
- Starting DHCP server dhcpd3 * check syslog for diagnostics.
default-lease-time 600; max-lease-time 7200;
option subnet-mask 255.255.255.0; option broadcast-address 10.0.0.255; option routers 10.0.0.138; subnet 10.0.0.0 netmask 255.255.255.0 { range 10.0.0.10 10.0.0.200; host server1 { hardware ethernet 00:15:00:24:5c:b0; fixed-address 10.0.0.11; } }
on syslog
Feb 5 22:22:15 mustafa-sr1 dhcpd: Wrote 0 deleted host decls to leases file. Feb 5 22:22:15 mustafa-sr1 dhcpd: Wrote 0 new dynamic host decls to leases file. Feb 5 22:22:15 mustafa-sr1 dhcpd: Wrote 0 leases to leases file. Feb 5 22:22:15 mustafa-sr1 dhcpd: Feb 5 22:22:15 mustafa-sr1 dhcpd: No subnet declaration for eth0:138 (0.0.0.0). Feb 5 22:22:15 mustafa-sr1 dhcpd: Ignoring requests on eth0:138. If this is not what Feb 5 22:22:15 mustafa-sr1 dhcpd: you want, please write a subnet declaration Feb 5 22:22:15 mustafa-sr1 dhcpd: in your dhcpd.conf file for the network segment Feb 5 22:22:15 mustafa-sr1 dhcpd: to which interface eth0:138 is attached. Feb 5 22:22:15 mustafa-sr1 dhcpd: Feb 5 22:22:15 mustafa-sr1 dhcpd: Feb 5 22:22:15 mustafa-sr1 dhcpd: Not configured to listen on any interfaces! http://255.255.255.0/ ‎255.255.255.0 Like · · Unfollow Post · Share · 28 minutes ago Mustafa Ibrahim on restart root@mustafa-sr1:/home/mustafa-sr1# /etc/init.d/dhcp3-server restart
- Stopping DHCP server dhcpd3 [fail]
- Starting DHCP server dhcpd3 * check syslog for diagnostics.