dhcp.conf
Kod: Zaznacz cały
option domain-name "adasdasd";
option domain-name-servers dns.tpnet.pl;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.10;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}
Kod: Zaznacz cały
eth1 Link encap:Ethernet HWaddr 00:0D:B9:02:80:91
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20d:b9ff:fe02:8091/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7651 errors:0 dropped:0 overruns:0 frame:0
TX packets:10299 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:918346 (896.8 KiB) TX bytes:1647733 (1.5 MiB)
Interrupt:9 Base address:0x4000
Kod: Zaznacz cały
INTERFACES="eth1"
Kod: Zaznacz cały
/etc/init.d/dhcp start
Starting DHCP server: dhcpd failed to start - check syslog for diagnostics.
Dzięki z góry