konfiguracja DHCP z dwoma podsieciami
: 12 marca 2007, 19:10
/etc/dhcp.conf
dhcp sie nie uruchamia a syslog pokazuje
probowalem roznych kombinacji ale nie bardzo mi sie to udaje
Kod: Zaznacz cały
subnet 192.168.0.0, 192.168.3.0
netmask 255.255.255.0 {
option domain-name "access_point";
option domain-name-servers 192.168.0.0, 192.168.3.0, 194.204.159.1;
option broadcast-address 192.168.0.255, 192.168.3.255;
option routers 192.168.3.1, 192.168.0.1;
}
host user1 {hardware ethernet 00:4f:62:02:b3:00;fixed-address 192.168.3.251;}
host user2 {hardware ethernet 00:4f:62:02:b3:11;fixed-address 192.168.0.250;}
Kod: Zaznacz cały
Mar 12 18:48:48 server dhcpd: /etc/dhcpd.conf line 2: Expecting netmask
Mar 12 18:48:48 server dhcpd: subnet 192.168.0.0,
Mar 12 18:48:48 server dhcpd: ^
Mar 12 18:48:48 server dhcpd: Configuration file errors encountered -- exiting
Mar 12 18:48:48 server dhcpd: exiting.
Mar 12 18:49:26 server dhcpd: /etc/dhcpd.conf line 2: Expecting netmask
Mar 12 18:49:26 server dhcpd: subnet 192.168.0.0 192.
Mar 12 18:49:26 server dhcpd: ^
Mar 12 18:49:26 server dhcpd: Configuration file errors encountered -- exiting
Mar 12 18:49:26 server dhcpd: exiting.
Mar 12 18:49:58 server dhcpd: /etc/dhcpd.conf line 3: Expecting netmask
Mar 12 18:49:58 server dhcpd: subnet
Mar 12 18:49:58 server dhcpd: ^
Mar 12 18:49:58 server dhcpd: Configuration file errors encountered -- exiting
Mar 12 18:49:58 server dhcpd: exiting.
Mar 12 18:53:42 server dhcpd: /etc/dhcpd.conf line 2: Expecting netmask
Mar 12 18:53:42 server dhcpd: subnet 192.168.0.0,
Mar 12 18:53:42 server dhcpd: ^
Mar 12 18:53:42 server dhcpd: Configuration file errors encountered -- exiting
Mar 12 18:53:42 server dhcpd: exiting.
Mar 12 18:54:18 server dhcpd: /etc/dhcpd.conf line 15: semicolon expected.
Mar 12 18:54:18 server dhcpd: option broadcast-address 192.168.0.255,
Mar 12 18:54:18 server dhcpd: ^
Mar 12 18:54:18 server dhcpd: Configuration file errors encountered -- exiting
Mar 12 18:54:18 server dhcpd: exiting.
Mar 12 18:54:47 server dhcpd: /etc/dhcpd.conf line 2: Expecting netmask
Mar 12 18:54:47 server dhcpd: subnet 192.168.0.0 ,
Mar 12 18:54:47 server dhcpd: ^
Mar 12 18:54:47 server dhcpd: Configuration file errors encountered -- exiting
Mar 12 18:54:47 server dhcpd: exiting.
Mar 12 18:55:40 server dhcpd: /etc/dhcpd.conf line 3: Expecting netmask
Mar 12 18:55:40 server dhcpd: subnet
Mar 12 18:55:40 server dhcpd: ^
Mar 12 18:55:40 server dhcpd: Configuration file errors encountered -- exiting
Mar 12 18:55:40 server dhcpd: exiting.