Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
ARP nie trzyma hostów - wpuszcza jak chce :( http://forum.freesco.pl/viewtopic.php?f=22&t=13784 |
Strona 1 z 1 |
Autor: | xmaster [ poniedziałek, 9 października 2006, 18:37 ] |
Tytuł: | ARP nie trzyma hostów - wpuszcza jak chce :( |
Witam mam dziwny problem konf serwera: ARP - wpisane wszystkie IP w sieci (od 10.0.0.2-10.0.0.254) - "wolne IP" z przypisanymi 00:00:..... DHCP - z wpisami statycznymi - z wyciętą linijką przydzielającą IP "dowolnie z jakiegos zakresu" - iprange plik hosts z opisanymi wszystkimi IP-kami - te nieprzydzielone opisane są jako "nieprzydzielone44" gdzie "44" to IP takiego nieporzydzielonego. teraz jak wydam polecenie Cytuj: arp to otrzymuje taki wynik (dlugie)Cytuj: serwer:/etc # arp Address HWtype HWaddress Flags Mask Iface nieprzydzielone83 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone77 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone137 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone58 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone73 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone194 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone160 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone127 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone84 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone55 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone155 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone104 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone226 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone141 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone168 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone156 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone254 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone249 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone224 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone195 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone125 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone216 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone252 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone248 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone126 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone238 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone229 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone183 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone86 ether 00:00:00:00:00:00 CM eth0 tuchos34 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone67 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone203 ether 00:00:00:00:00:00 CM eth0 VIP10 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone152 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone91 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone177 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone119 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone110 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone62 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone90 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone174 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone251 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone241 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone61 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone79 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone154 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone122 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone234 ether 00:00:00:00:00:00 CM eth0 VIP2 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone51 ether 00:00:00:00:00:00 CM eth0 abt113.internetdsl.tpne ether 00:0B:23:4F:58:99 C eth1 nieprzydzielone179 ether 00:00:00:00:00:00 CM eth0 VIP13 ether 00:00:00:00:00:00 CM eth0 VIP14 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone140 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone49 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone173 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone164 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone85 ether 00:00:00:00:00:00 CM eth0 admin-PD33 ether 00:0F:EA:4F:F4:04 CM eth0 ala29 ether 00:30:4F:21:59:70 CM eth0 robert24 ether 00:0F:3D:38:7C:01 CM eth0 nieprzydzielone101 ether 00:00:00:00:00:00 CM eth0 marcin23 ether 00:0C:6E:00:2B:F8 CM eth0 nieprzydzielone158 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone190 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone93 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone231 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone206 ether 00:00:00:00:00:00 CM eth0 grzesiek39 ether 00:02:A5:7B:B8:88 CM eth0 nieprzydzielone109 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone117 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone247 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone172 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone232 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone205 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone113 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone124 ether 00:00:00:00:00:00 CM eth0 VIP20 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone161 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone191 ether 00:00:00:00:00:00 CM eth0 tadeusz26 ether 00:00:00:00:00:00 CM eth0 VIP3 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone98 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone169 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone148 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone214 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone116 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone50 ether 00:00:00:00:00:00 CM eth0 admin-PD31 ether 00:90:4B:AA:A9:B3 CM eth0 tomek40 ether 00:00:24:C8:AD:3E CM eth0 kuba28 ether 00:0E:18:DA:55:0C CM eth0 nieprzydzielone142 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone46 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone43 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone200 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone240 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone74 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone105 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone114 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone138 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone139 ether 00:00:00:00:00:00 CM eth0 VIP8 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone239 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone213 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone227 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone59 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone185 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone53 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone66 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone159 ether 00:00:00:00:00:00 CM eth0 VIP7 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone103 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone228 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone128 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone222 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone210 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone253 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone212 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone143 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone236 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone102 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone108 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone76 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone198 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone100 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone70 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone92 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone204 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone54 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone87 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone197 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone225 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone186 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone81 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone242 ether 00:00:00:00:00:00 CM eth0 admin-HK22 ether 00:0A:E4:5D:C5:ED CM eth0 nieprzydzielone193 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone211 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone146 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone60 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone56 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone230 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone106 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone120 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone244 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone192 ether 00:00:00:00:00:00 CM eth0 nie_wiem36 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone115 ether 00:00:00:00:00:00 CM eth0 VIP11 ether 00:00:00:00:00:00 CM eth0 VIP19 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone111 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone182 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone64 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone223 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone180 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone47 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone217 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone235 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone196 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone107 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone132 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone99 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone151 ether 00:00:00:00:00:00 CM eth0 VIP9 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone145 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone134 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone170 ether 00:00:00:00:00:00 CM eth0 adam25 ether 00:50:8D:ED:16:67 CM eth0 nieprzydzielone71 ether 00:00:00:00:00:00 CM eth0 VIP18 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone215 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone187 ether 00:00:00:00:00:00 CM eth0 admin-HK21 ether 00:40:96:36:E5:E1 CM eth0 nieprzydzielone89 ether 00:00:00:00:00:00 CM eth0 przemek35 ether 00:0D:F3:04:D8:6C CM eth0 admin-PD30 ether 00:12:79:BE:DF:76 CM eth0 nieprzydzielone165 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone163 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone63 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone80 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone150 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone189 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone121 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone237 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone201 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone188 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone184 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone94 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone153 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone144 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone112 ether 00:00:00:00:00:00 CM eth0 VIP12 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone48 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone219 ether 00:00:00:00:00:00 CM eth0 10.0.0.52 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone65 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone118 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone123 ether 00:00:00:00:00:00 CM eth0 marta38 ether 00:0F:3D:38:7C:CC CM eth0 nieprzydzielone175 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone202 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone171 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone41 ether 00:00:00:00:00:00 CM eth0 VIP6 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone207 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone166 ether 00:00:00:00:00:00 CM eth0 VIP15 ether 00:00:00:00:00:00 CM eth0 rajek27 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone97 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone246 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone129 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone130 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone218 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone133 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone176 ether 00:00:00:00:00:00 CM eth0 VIP4 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone69 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone45 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone68 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone162 ether 00:00:00:00:00:00 CM eth0 VIP17 ether 00:00:00:00:00:00 CM eth0 admin-PD32 ether 00:02:2D:5F:5A:45 CM eth0 nieprzydzielone82 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone88 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone209 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone42 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone96 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone243 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone167 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone233 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone131 ether 00:00:00:00:00:00 CM eth0 VIP5 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone95 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone199 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone149 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone44 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone136 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone245 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone157 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone75 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone147 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone135 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone250 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone72 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone178 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone78 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone181 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone57 ether 00:00:00:00:00:00 CM eth0 jacek37 ether 00:30:4F:39:2A:37 CM eth0 VIP16 ether 00:00:00:00:00:00 CM eth0 nieprzydzielone208 ether 00:00:00:00:00:00 CM eth0 czy powinien wyświetlać wszystkie IP?? chyba zgłupłem czy jak?? dalej - wpisanie komendy "niceshaper -stats" daje takie wyniki Cytuj: serwer:/etc # niceshaper stats
HOST DOWNLOAD ( UTILIZE ) UPLOAD ( UTILIZE ) localhost 9.1kbps - ( 0.0kbps ) VIP7 220.0kbps - ( 0.1kbps ) 12.0kbps - ( 0.1kbps ) VIP12 220.0kbps - ( 0.3kbps ) 12.0kbps - ( 0.2kbps ) VIP20 220.0kbps - ( 0.0kbps ) 12.0kbps - ( 0.0kbps ) admin-HK21 220.0kbps - ( 7.9kbps ) 12.0kbps - ( 0.3kbps ) adam25 220.0kbps - ( 14.7kbps ) 11.2kbps - ( 13.0kbps ) jacek37 220.0kbps - ( 0.0kbps ) 12.0kbps - ( 0.0kbps ) dodam ze klasa "VIP" to stara numeracja IP jak bylo bez DHCP teraz ta klasa czyli od 10.0.0.2-10.0.0.20 jest wolna czyli nie przydzielona i w /etc/ethers mam tam dopisane 00:00:00... do IP-ka wiec dla czego ich wpuszcza???? chce w ten sposob zmusic userow do przejscia na DHCP - ale jak widac dziwnym trafem maja wpisane IP na sztywno (a nie pokrywa sie to IP z przydzialem DHCP ") i ich wpuszcza pomocy |
Autor: | -MW- [ poniedziałek, 9 października 2006, 19:24 ] |
Tytuł: | |
za duzo literek w pliku hosts: Cytuj: 10.0.0.10 nieprzydzielone44
maxymalnie 15 znakow |
Autor: | xmaster [ poniedziałek, 9 października 2006, 20:12 ] |
Tytuł: | |
zmieniłem na max 15 - tzn dalem mniej ale....na razie to samo hmmmm czy to mozliwe zeby niceshaper pokazywal niepodlaczonych juz uzytkownikow?? i czy ARP nie powinien wyswietlac tylko hostow podpietych?? oczywiscie po zmianach wpisywalem ponownie arp -f |
Autor: | Terminator [ poniedziałek, 9 października 2006, 20:47 ] |
Tytuł: | |
Jesli masz statyczne arp (a Ty masz-bo wpisujesz userów do ethers) to wyświatla wszystkich ktorych masz w pliku. Zrezygnuj z arp,a powiązania bedzie pilnował iptables (musisz ustawic, szukaj "iptables -m mac") to jesli wykonasz "arp" to pokaże tyko tych podłączonych. Troche dziwne że tych nieprzydzielonych masz na eth0 ![]() wpis taki w ethers: 192.168.1.2 12:23.... a tych co nie maja miec dostępu to 192.168.1.5 0 192.168.1.6 0 itd i działa. Co do DHCP to nie pomoge bo nie mam zainstalowanego. |
Autor: | marask [ wtorek, 10 października 2006, 16:16 ] |
Tytuł: | |
skoro jak sam mówisz: Cytuj: (dlugie)
to czemu czegoś nie zrobisz,żeby skrócić? |
Autor: | qrak [ wtorek, 10 października 2006, 16:26 ] |
Tytuł: | |
Lepiej wpisać w ethers tylko adresy mac klientów a resztę załatwić iptables. #wycinamy wolne IP $i -I INPUT -m iprange --src-range 192.168.0.11-192.168.0.254 -j DROP |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |