pot preveni, ca nimeni sa nu mai poata pune ip static, sau macar daca isi pune sa nu mai imi idea peste cap toata reteaua.(deocamdata e mica, dar in curand o sa fie in jur de 244 de calculatoare pe 15 switch-uri cu auto-management).
----- Original Message ---- From: lonely wolf <[EMAIL PROTECTED]> To: Stanciu Nicolae <[EMAIL PROTECTED]>; Romanian Linux Users Group <[email protected]> Sent: Friday, September 15, 2006 3:48:24 AM Subject: Re: [rlug] Dhcpd Problema On 09/15/2006 01:33 AM, Stanciu Nicolae wrote: > In urma cu cateva ore m-am trezit ca dhcpd-ul da urmatoarea eroare: > > > Sep 15 01:51:39 t13 dhcpd: DHCPACK on 10.13.0.12 to 00:0f:b0:09:6d:80 via > eth2 > Sep 15 01:51:39 t13 dhcpd: *DHCPDECLINE* on 10.13.0.12 from 00:0f:b0:09:6d:80 > via eth2 > Sep 15 01:51:49 t13 dhcpd: DHCPDISCOVER from 00:0f:b0:09:6d:80 via eth2 > Sep 15 01:51:49 t13 dhcpd: DHCPOFFER on 10.13.0.12 to 00:0f:b0:09:6d:80 via > eth2 > Sep 15 01:51:49 t13 dhcpd: DHCPREQUEST for 10.13.0.12 from 00:0f:b0:09:6d:80 > via eth2 > Sep 15 01:51:49 t13 dhcpd: DHCPACK on 10.13.0.12 to 00:0f:b0:09:6d:80 via > eth2 > Sep 15 01:51:49 t13 dhcpd: *DHCPDECLINE* on 10.13.0.12 from 00:0f:b0:09:6d:80 > via eth2 > Sep 15 01:51:59 t13 dhcpd: DHCPDISCOVER from 00:0f:b0:09:6d:80 via eth2 > Sep 15 01:51:59 t13 dhcpd: DHCPOFFER on 10.13.0.12 to 00:0f:b0:09:6d:80 via > eth2 > Sep 15 01:51:59 t13 dhcpd: DHCPREQUEST for 10.13.0.12 from 00:0f:b0:09:6d:80 > via eth2 > Sep 15 01:51:59 t13 dhcpd: DHCPACK on 10.13.0.12 to 00:0f:b0:09:6d:80 via > eth2 > Sep 15 01:51:59 t13 dhcpd: *DHCPDECLINE *on 10.13.0.12 from 00:0f:b0:09:6d:80 > via eth2 > Sep 15 01:52:09 t13 dhcpd: DHCPDISCOVER from 00:0f:b0:09:6d:80 via eth2 > Sep 15 01:52:09 t13 dhcpd: DHCPOFFER on 10.13.0.12 to 00:0f:b0:09:6d:80 via > eth2 > Sep 15 01:52:09 t13 dhcpd: DHCPREQUEST for 10.13.0.12 from 00:0f:b0:09:6d:80 > via eth2 > Sep 15 01:52:09 t13 dhcpd: DHCPACK on 10.13.0.12 to 00:0f:b0:09:6d:80 via > eth2 > Sep 15 01:52:09 t13 dhcpd: *DHCPDECLINE* on 10.13.0.12 from 00:0f:b0:09:6d:80 > via eth2 > ............... > pe reteaua interna nu face nimeni spoof pt mac, asta e sigur, ii cunosc pe > toti si sunt foarte putini deocamdata. > configurarea sistemului suna ceva de genu: > > dhcpd.conf > > t13:~# cat /etc/dhcpd.conf > # > # Sample configuration file for ISC dhcpd for Debian > # > # $Id: dhcpd.conf,v 1.4.2.2 2002/07/10 03:50:33 peloy Exp $ > # > > # option definitions common to all supported networks... > authoritative; > max-lease-time 3600; > option domain-name-servers 10.13.0.1, 81.180.223.1, 81.180.222.254; > option netbios-node-type 1; > > group { > option domain-name "**cenzurat"; > subnet 10.13.0.0 netmask 255.255.255.0{ > option subnet-mask 255.255.255.0; > option broadcast-address 10.13.0.255; > option routers 10.13.0.1; > > host t13-2 {#Stanciu (1) > hardware ethernet 00:11:5b:75:e6:ae; > fixed-address 10.13.0.2; > } > host t13-3 {#Stanciu1 (2) > hardware ethernet 00:01:6c:cd:17:57; > fixed-address 10.13.0.3; > } > host t13-4 {#Stanciu2 (3) > hardware ethernet 00:40:f4:ed:54:8a; > fixed-address 10.13.0.4; > } > host t13-5 {#Stanciu3 (4) > hardware ethernet 00:30:4f:23:63:32; > fixed-address 10.13.0.5; > } > host t13-6 {#Stanciu4 (5) > hardware ethernet 00:11:2f:ca:66:bf; > fixed-address 10.13.0.6; > } > > host t13-7 {#Switch1 (6) > hardware ethernet 00:11:3b:02:81:88; > fixed-address 10.13.0.7; > } > > host t13-8 {#Stanciu5 (7) > hardware ethernet 00:11:d8:03:23:7f; > fixed-address 10.13.0.9; > } > host t13-9 {#Stanciu21 (8) > hardware ethernet 00:02:44:6c:72:24; > fixed-address 10.13.0.10; > } > host t13-10 {#Stanciu22 (9) > hardware ethernet 00:40:d0:8f:14:32; > fixed-address 10.13.0.11; > } > host t13-11 {#Lefter Andrei (10) > hardware ethernet 00:0f:b0:09:6d:80; > fixed-address 10.13.0.12; > } > host t13-12 {#Sahlian Cristina (11) > hardware ethernet 00:50:fc:8c:34:07; > fixed-address 10.13.0.13; > } > host t13-13 {#Leonici (12) > hardware ethernet 00:04:61:4c:bf:58; > fixed-address 10.13.0.14; > } > host t13-14 {#Sticea Andrei (13) > hardware ethernet 00:13:8f:09:60:65; > fixed-address 10.13.0.15; > } > } > } > ifconfig: eth1--internet; eth2---local(lan) > eth1 Link encap:Ethernet HWaddr 00:04:75:FC:DD:97 > inet addr:10.0.0.13 Bcast:10.0.0.255 Mask:255.255.0.0 > inet6 addr: fe80::204:75ff:fefc:dd97/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:6422917 errors:0 dropped:0 overruns:1 frame:0 > TX packets:7967253 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:625932270 (596.9 MiB) TX bytes:4163695005 (3.8 GiB) > Interrupt:169 Base address:0xb800 > > eth2 Link encap:Ethernet HWaddr 00:04:75:FC:DA:EE > inet addr:10.13.0.1 Bcast:10.13.0.255 Mask:255.255.255.0 > inet6 addr: fe80::204:75ff:fefc:daee/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:7983334 errors:0 dropped:0 overruns:1 frame:0 > TX packets:6371553 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:4165305871 (3.8 GiB) TX bytes:623848240 (594.9 MiB) > Interrupt:201 Base address:0xb400 > ....... > > serverul de dhcpd lucreaza numai pe eth2: /usr/sbin/dhcpd -q eth2 > > cateodata merge bine, dar dupa un timp incepe sa nu mai aloce ip-dar numai pt > unele ip-uri, nu la toate mi se intampla asta. > puteti sa ma ajutati? > aparent masina aia cu .12 la coada ajunge la concluzia ca IP-ul oferit de catre server e deja utilizat de altcineva. poate nu ar fi rau sa verifici daca intr-adevar e free... faptul ca reteaua e mica si ii cunosti nu inseamna absolut deloc ca nu si-a pus nimeni un IP static fara sa iti ceara tie parerea _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
