Kod: Zaznacz cały
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.199;
default-lease-time 86400;
option routers 192.168.0.1;
option domain-name "guid.pl";
option domain-name-servers 88.156.80.130;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
}
host admin {
hardware ethernet tutaj_mac_admin;
fixed-address 192.168.0.2;
}
host mama {
hardware ethernet tutaj_mac_mama;
fixed-address 192.168.0.3;
}
Kod: Zaznacz cały
# The loopback network interface
auto lo
iface lo inet loopback
#Siec LAN
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
#Wyjście na świat
auto eth1
iface eth1 inet dhcp
Kod: Zaznacz cały
invoke-rc.d dhcp start
Kod: Zaznacz cały
Dec 29 20:19:57 System dhcpd: No subnet declaration for eth1 (tutaj_było_moje_ip zew).
Dec 29 20:19:57 System dhcpd: Please write a subnet declaration in your dhcpd.conf file for the
Dec 29 20:19:57 System dhcpd: network segment to which interface eth1 is attached.
Dec 29 20:19:57 System dhcpd: exiting.
W każdym razie ja wywnioskowałem, że burczy coś na temat braku ustawień dla interfejsu eth1, aczkolwiek ja tylko chce mieć DHCP wewnątrz sieci. Po co miałbym mieć go na eth1, skoro to mi ISP przydziela dane.