Сконфигурировал DHCP сервер на Fedora 13 /etc/dhcpd.conf:
default-lease-time 21600;
max-lease-time 28800;
subnet 192.168.0.0 netmask 255.255.255.0{
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option ip-forwarding on;
option domain-name-servers 192.168.0.1;
range 192.168.0.100 192.168.0.130;
}Вроде всё прописал правельно а при выполнении его закуска пинет:
[root@Fedora ~]# /etc/init.d/dhcpd restart
Запускается dhcpd: [СБОЙ ]
Ошибки в месенджах:
Nov 15 14:47:40 Fedora dhcpd: No subnet declaration for eth0 (192.168.0.2).
Nov 15 14:47:40 Fedora dhcpd: ** Ignoring requests on eth0. If this is not what
Nov 15 14:47:40 Fedora dhcpd: you want, please write a subnet declaration
Nov 15 14:47:40 Fedora dhcpd: in your dhcpd.conf file for the network segment
Nov 15 14:47:40 Fedora dhcpd: to which interface eth0 is attached. **
Nov 15 14:47:40 Fedora dhcpd:
Nov 15 14:47:40 Fedora dhcpd:
Nov 15 14:47:40 Fedora dhcpd: Not configured to listen on any interfaces!
Nov 15 14:47:40 Fedora dhcpd:
Nov 15 14:47:40 Fedora dhcpd: This version of ISC DHCP is based on the release available
Nov 15 14:47:40 Fedora dhcpd: on ftp.isc.org. Features have been added and other changes
Nov 15 14:47:40 Fedora dhcpd: have been made to the base software release in order to make
Nov 15 14:47:40 Fedora dhcpd: it work better with this distribution.
Nov 15 14:47:40 Fedora dhcpd:
Nov 15 14:47:40 Fedora dhcpd: Please report for this software via the Red Hat Bugzilla site:
Nov 15 14:47:40 Fedora dhcpd: http://bugzilla.redhat.com
Nov 15 14:47:40 Fedora dhcpd:
Nov 15 14:47:40 Fedora dhcpd: exiting.Поск по инэту дал ответ что неверно сконфигурировнна сеть, хотя ifconfig говорит иначе:
eth0 Link encap:Ethernet HWaddr хх:хх:хх:хх:хх:хх
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::224:8cff:fed9:af8d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6338 errors:0 dropped:0 overruns:0 frame:0
TX packets:4696 errors:0 dropped:0 overruns:0 carrier:9
collisions:0 txqueuelen:1000
RX bytes:5244757 (5.0 MiB) TX bytes:597585 (583.5 KiB)
Interrupt:27
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:100 errors:0 dropped:0 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9705 (9.4 KiB) TX bytes:9705 (9.4 KiB)
В файле /etc/sysconfig/dhcpd всё тоже правельно:
#Command line options here
DHCPDARGS=eth0Так в чём же проблема???
Подскажите пожалуйсто)
#yum install LIVE


