Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
Problem z DHCP http://forum.freesco.pl/viewtopic.php?f=35&t=980 |
Strona 1 z 2 |
Autor: | Anonymous [ wtorek, 3 grudnia 2002, 19:00 ] |
Tytuł: | Problem z DHCP |
Witam Jestem raczkujacym Adminem i mam problem tego typu: W sieci mam 3 kompy i server jest 4 server jest podpiety do UPlinka na hubie poprzez skrosowana skretke. Trzy kompy sie widza i luz ale jest problem z serverem wszystko jest skonfigurowane pod neo+ (jeszcze nie jest podpieta poniewarz chcemy aby to wszystko hulalo zanim nas podlaczom). Fressco jest skonfigorowane tak jak jest w opisie nic nie jest pominiete. Problem jest tego typu ze dhcp nie dziala jak nalezy nie przyznaje nam nr.IP. Na trzeciej konsoli we fressco wyswietla sie DHCP: Dhcpdiscover from "nr.mac mojej sieciowki" via eth1 DHCP: DHCPOFFER on "adres IP jaki jest przyznany w pliku dhcp.conf" to "nr.mac mojej siecowki" via eth1 Adres IP w windowsie na moim kompie jest wogole jais z palca wyssany, jak w programie winipcfg likam odnow wszystko to wysakuje server dhcp nie jest dostepny. Zainstalowalem program iptraf na frescco, i w opcji IP trafic monitor widze: UPD (93 bytes) from 169.254.147.178:44145 to 255.255.255.255:16128 on eth1 Adres IP 169.254.147.178 to ten ktory widze w windowsie a 255.255.255.255 to server dhcp tez z windowsa. Nie wiem co robic sformatowale juz dysk z windowsem, fresco ustawialem juz kilka razy i nic nie pomaga prosze doradzcie mi cos albo naprowadzcie w czym moze tkwic blad. Z gory dzieki ![]() |
Autor: | Anonymous [ środa, 4 grudnia 2002, 08:12 ] |
Tytuł: | |
a dobrze wpisales wszystko w pliku dhcpd.conf ? jakie masz wpisane hosty czy dla kazdego kompa sa inne? jesli tak to zmien na wszystkie takie samu u mnie to pomoglo... |
Autor: | Anonymous [ środa, 4 grudnia 2002, 18:58 ] |
Tytuł: | |
Czy ktos ma inne pomysly? bo ostatnia rada nic nie pomogla, ale dzieki za checi. |
Autor: | Anonymous [ środa, 4 grudnia 2002, 19:37 ] |
Tytuł: | |
169.254.147.178 Takie IP wymysla sobie windows ![]() a tak na serio to sprawdz czy nie masz literowek, czy wszystko dobrze wpisales jak mozesz to wklej konfig bedzie latwiec cos powiedziec . ![]() |
Autor: | Anonymous [ środa, 4 grudnia 2002, 20:34 ] |
Tytuł: | |
Nie wiem o ktory plik conf Ci chodzilo wiec wkleilem DHCP i SYSTEM. I zauwazylem ze ze sa jaies ustawienia eth2 ale ja nic nie ustawialem i nie wiem z kad to sie wzielo. # Static DHCP leases # #This file lists optional static dhcp leases. You must edit the version #of this file in /mnt/router/etc not /etc. All lines beginning with # #are comments and are ignored. # #sample: # #host elo1 { #fixed-address 192.168.0.2; #hardware ethernet 00:c0:f0:5b:44:44; #} #host elo2 { #fixed-addres 192.168.0.3; #hardware ethernet 00:e0:7d:86:1e:1b: #} #host elo3 { #fixed-address 192.168.0.4; #hardware ethernet 00:c1:26:11:38:32; #} # [System] ROUTER=ethernet # 0.dialup/leased/ethernet/bridge HOSTNAME=router #711.Router name DOMAIN=Luzmaryja #712.(Local) domain name ENAMSQ=y # 11.Enable NAT and firewall ENABRG=n # 12.Enable bridging mode? DONT TOUCH!!! BIGMEM=n # 13.If 16+MB RAM start ppp bsd compression SAVERS=0,0 # 14.Savers - screen(min),hdd(x5 sec) 0 -off SWPSIZE=16 # 15.Swap size in Kb on boot device. 0 - off LOGSIZE=50000,5000 # 16.System_log,logins_log sizes (bytes) DEFISP= # 6.Default dialup ISP # [Services] # y - worldwide/s - local/n - disable ENADNS=s #411.Enable caching DNS server LOGDNS=n #412.Enable debug info ENADHCP=s #421.Enable DHCP server WINSADDR= #422. WINS address (for DHCP server) LIZTIME=604800,604800 #423. default-lease-time,max-lease-time ENAWWW=s #431.Enable Public HTTP Server WWWPORT=80 #432. on port ENAWWA=n #441.Enable Time Server and control via HTTP WWAPORT=82 #442. on port TIMADDR=www.clock.org #443.Host timeserver address, empty - disable TIMZONE=+0400 #444. Offset to UTC (-1200 -:- +1200) ENALPD=n #451.Enable Print Server LPPORT1=515 #452. on port LPDEV1=lp1 #453. on output device LPPORT2=516 #454.Second lp server on port, empty - disable LPDEV2=lp2 #455. on output device ENATEL=s # 46.Enable telnet server # [Security] TRUSTLN=p #211.Trust local nets y/n/p{artual} TRUSTMD=y #212.Modem links have access to local networks RINGS=2,7 #220.Rings before answer at login,nologin time MonTIM="" #221.Nologin times for modem users TueTIM="" #222 WedTIM="" #223 ThuTIM="" #224 FriTIM="" #225 SatTIM="" #226 SunTIM="" #227 # [Modems] MODEM0= # 51.1st modem MSPEED0= # 52.port's speed MINIT0="" # 53.init string MTU0= #541.Maximum Transmit Unit MRU0= #542.Maximum Receive Unit MADDR0=192.168.168.2 # 55.ppp link remote addr (for dialin purpose) MODEM1= # 61 MSPEED1= # 62 MINIT1="" # 63 MTU1= #641 MRU1= #642 MADDR1=192.168.168.3 # 65.I said for dialin purpose. # [leased line router] ADRTYPE=dynamic #921.if ISP supplies us with dynamic IP, then: LOCAL=127.0.0.2 #922.fake local side ppp IP addr REMOTE=127.0.0.3 #923.fake remote addr # [ethernet/leased/printer/ras router] GATEWAY= #911.Default gateway, if exist. DNSADDR=194.204.159.1 #912.Primary DNS address for ethernet connection DNSADDR1=192.204.152.34 #913.Secondary DNS address for ethernet connection PROXY="" #914.HTTP proxy addr[:port] # [Hardware] IO0=0x #811.1st ethernet card I/O address IRQ0=10 #812.IRQ line IO1=0x #821 IRQ1=9 #822 IO2=0 #831 IRQ2=0 #832 # [Networks] USEDHCP0=y #720.Use DHCP client to config this interface INTNAME0=eth0 #721.Interface name (eth0|arc0e|arc0) DHCPLOG=y #722.Enable DHCP client messages in the log DHCPDNS=y #723 Enable auto configuration of DNS via DHCP IPADDR0=192.168.0.1 #724.IP adress of this interface NETMASK0=255.255.255.0 #725.Network mask NETWORK0=192.168.0.0 # Network address BRDCAST0=192.168.0.255 # Broadcast address #726.IP pool, empty disables DHCP on this interface IPRANGE0="" INTNAME1=eth1 #731.Interface name (eth1|eth0:1|arc0e|arc0 etc) IPADDR1=192.168.0.1 #732. Second network NETMASK1=255.255.255.0 NETWORK1=192.168.0.0 BRDCAST1=192.168.0.255 IPRANGE1="192.168.0.2 192.168.0.4" INTNAME2=eth2 #74x. Third network IPADDR2=172.16.0.1 NETMASK2=255.255.255.0 NETWORK2=172.16.0.0 BRDCAST2=172.16.0.255 IPRANGE2="" PPPOE=y Z góry dzieki za pomoc ![]() |
Autor: | Anonymous [ środa, 4 grudnia 2002, 21:02 ] |
Tytuł: | |
seetz pisze: Nie wiem o ktory plik conf Ci chodzilo wiec wkleilem DHCP i SYSTEM. I zauwazylem ze ze sa jaies ustawienia eth2 ale ja nic nie ustawialem i nie wiem z kad to sie wzielo.
# Static DHCP leases # #This file lists optional static dhcp leases. You must edit the version #of this file in /mnt/router/etc not /etc. All lines beginning with # #are comments and are ignored. # #sample: # #host elo1 { #fixed-address 192.168.0.2; #hardware ethernet 00:c0:f0:5b:44:44; #} #host elo2 { #fixed-addres 192.168.0.3; #hardware ethernet 00:e0:7d:86:1e:1b: #} #host elo3 { #fixed-address 192.168.0.4; #hardware ethernet 00:c1:26:11:38:32; #} Znaczek '#' oznacza komentarz Jak wpiszesz cale definicje dla hostow bez '#' to juz bedzie lepiej ![]() |
Autor: | Anonymous [ środa, 4 grudnia 2002, 21:56 ] |
Tytuł: | |
UPPSSSSSSSS ![]() |
Autor: | Anonymous [ czwartek, 5 grudnia 2002, 00:41 ] |
Tytuł: | |
# - buhahahaha ![]() seetz pisze: DOMAIN=Luzmaryja #712.(Local) domain name
Fajna domena ![]() |
Autor: | Anonymous [ czwartek, 5 grudnia 2002, 09:15 ] |
Tytuł: | |
A czy cos oprocz # jest zwalone w tych configach? bo dalej nie chce chodzic. Pozdrowienia dla wszystkich i z góry dzieki ELO |
Autor: | nufel [ wtorek, 10 grudnia 2002, 12:35 ] |
Tytuł: | |
jeżeli masz jedną kartę sieciową to ustawienie powinno być eth0 |
Autor: | Anonymous [ środa, 11 grudnia 2002, 20:46 ] |
Tytuł: | |
MAM 2 Karty sieciowe. |
Autor: | nufel [ czwartek, 12 grudnia 2002, 20:49 ] |
Tytuł: | |
No to mamy problem ![]() |
Autor: | Anonymous [ piątek, 13 grudnia 2002, 23:22 ] |
Tytuł: | |
Czy moze mi ktos podac jak powinny wygladac te configi? Z gory dzieki eloo ![]() |
Autor: | Anonymous [ niedziela, 15 grudnia 2002, 12:28 ] |
Tytuł: | |
Mialem ostatnioten sam problem po zrobieniu nowej duskietki. 2 dni kombinowania. I efekt? Blad w dhcpd.conf. Proste, ale wkurzajace. dla uproszczenia sytuacji, wyedytuj dhcp w setupie zgodnie z instrukcją instalacji 6. Ustawienia serwera DHCP 42 [enter] #DHCP server s [enter] #421 Enable DHCP server? [enter] #422 WINS address? [enter] #423 Default-lease-time, max-lease-time (sec)? y [enter] #424 Do you want do create/edit static dhcp leases? # Static DHCP leases # #This file lists optional static dhcp leases. You must edit the version #of this file in /mnt/router/etc not /etc. All lines beginning with # #are comments and are ignored. # #sample: # #host elo1 { #fixed-address 192.168.0.2; #hardware ethernet 00:c0:f0:5b:44:44; #} #host elo2 { #fixed-addres 192.168.0.3; #hardware ethernet 00:e0:7d:86:1e:1b: #} #host elo3 { #fixed-address 192.168.0.4; #hardware ethernet 00:c1:26:11:38:32; #} host Dario { fixed-address 192.168.0.2; hardware ethernet 00:00:00:00:00:00; } host Gelo { fixed-address 192.168.0.3; hardware ethernet 00:02:44:30:20:e8; } host Adrianna { fixed-address 192.168.0.4; hardware ethernet 00:c0:26:ee:9c:f2; } itd. ( u mnie zakres IP 192.168.0.2 192.168.0.20 i chodzi) sprawdź dokładnie każdy wpis. Bład = brak statystycznych IP. Powodzenia ![]() P.S. Jestem totalna lama w Linuxie. Ale postępowanie zgodnie z instrukcja instalacji zawsze daje 100 % efekt. Neo+ bryka mi od samego poczatku, a wszystkie przerwy leza tylko po stronie tepsy. |
Autor: | nufel [ niedziela, 15 grudnia 2002, 14:33 ] |
Tytuł: | |
Witam ostatnio odkryłem gdzie leży problem w moim DHCP, a mianowicie w ustawieniu maski podsieci. mam adres IP 192.168.118.1 a maskę miałem 255.255.255.0 waliło się bałwan jestem nie zmieniłem na 255.255.0.0 i poszło od pierwszego kopa. pozdrowienia. |
Autor: | Anonymous [ wtorek, 17 grudnia 2002, 20:07 ] |
Tytuł: | |
Witam wszystkich tak oto wygladaja moje konfigi czy znawu cos zwalilem ciagle moje kompy nie odbieraja nr IP. Siec mi dziala wszystko jest oki kabel do servera sprawdzony dziala, i ciagle na 3 konsoli sa te wpisy o ktorych mowilem wczesniaj z gory dzieki za wskazowki i pomoc ELO # [System] ROUTER=ethernet # 0.dialup/leased/ethernet/bridge HOSTNAME=router #711.Router name DOMAIN=Luzmaryja #712.(Local) domain name ENAMSQ=y # 11.Enable NAT and firewall ENABRG=n # 12.Enable bridging mode? DONT TOUCH!!! BIGMEM=n # 13.If 16+MB RAM start ppp bsd compression SAVERS=0,0 # 14.Savers - screen(min),hdd(x5 sec) 0 -off SWPSIZE=16 # 15.Swap size in Kb on boot device. 0 - off LOGSIZE=50000,5000 # 16.System_log,logins_log sizes (bytes) DEFISP= # 6.Default dialup ISP # [Services] # y - worldwide/s - local/n - disable ENADNS=s #411.Enable caching DNS server LOGDNS=n #412.Enable debug info ENADHCP=s #421.Enable DHCP server WINSADDR= #422. WINS address (for DHCP server) LIZTIME=604800,604800 #423. default-lease-time,max-lease-time ENAWWW=n #431.Enable Public HTTP Server WWWPORT=80 #432. on port ENAWWA=n #441.Enable Time Server and control via HTTP WWAPORT=82 #442. on port TIMADDR=www.clock.org #443.Host timeserver address, empty - disable TIMZONE=+0400 #444. Offset to UTC (-1200 -:- +1200) ENALPD=n #451.Enable Print Server LPPORT1=515 #452. on port LPDEV1=lp1 #453. on output device LPPORT2=516 #454.Second lp server on port, empty - disable LPDEV2=lp2 #455. on output device ENATEL=s # 46.Enable telnet server # [Security] TRUSTLN=p #211.Trust local nets y/n/p{artual} TRUSTMD=y #212.Modem links have access to local networks RINGS=2,7 #220.Rings before answer at login,nologin time MonTIM="" #221.Nologin times for modem users TueTIM="" #222 WedTIM="" #223 ThuTIM="" #224 FriTIM="" #225 SatTIM="" #226 SunTIM="" #227 # [Modems] MODEM0= # 51.1st modem MSPEED0= # 52.port's speed MINIT0="" # 53.init string MTU0= #541.Maximum Transmit Unit MRU0= #542.Maximum Receive Unit MADDR0=192.168.168.2 # 55.ppp link remote addr (for dialin purpose) MODEM1= # 61 MSPEED1= # 62 MINIT1="" # 63 MTU1= #641 MRU1= #642 MADDR1=192.168.168.3 # 65.I said for dialin purpose. # [leased line router] ADRTYPE=dynamic #921.if ISP supplies us with dynamic IP, then: LOCAL=127.0.0.2 #922.fake local side ppp IP addr REMOTE=127.0.0.3 #923.fake remote addr # [ethernet/leased/printer/ras router] GATEWAY= #911.Default gateway, if exist. DNSADDR=194.204.159.1 #912.Primary DNS address for ethernet connection DNSADDR1=192.204.152.34 #913.Secondary DNS address for ethernet connection PROXY="" #914.HTTP proxy addr[:port] # [Hardware] IO0=6000 #811.1st ethernet card I/O address IRQ0=10 #812.IRQ line IO1=6100 #821 IRQ1=9 #822 IO2=0 #831 IRQ2=0 #832 # [Networks] USEDHCP0=y #720.Use DHCP client to config this interface INTNAME0=eth0 #721.Interface name (eth0|arc0e|arc0) DHCPLOG=y #722.Enable DHCP client messages in the log DHCPDNS=y #723 Enable auto configuration of DNS via DHCP IPADDR0= #724.IP adress of this interface NETMASK0= #725.Network mask NETWORK0= # Network address BRDCAST0= # Broadcast address #726.IP pool, empty disables DHCP on this interface IPRANGE0="" INTNAME1=eth1 #731.Interface name (eth1|eth0:1|arc0e|arc0 etc) IPADDR1=192.168.118.1 #732. Second network NETMASK1=255.255.0.0 NETWORK1=192.168.0.0 BRDCAST1=192.168.255.255 IPRANGE1="192.168.118.2 192.168.118.4" INTNAME2=eth2 #74x. Third network IPADDR2= NETMASK2= NETWORK2= BRDCAST2= IPRANGE2="" PPPOE=y # Static DHCP leases # #This file lists optional static dhcp leases. You must edit the version #of this file in /mnt/router/etc not /etc. All lines beginning with # #are comments and are ignored. # #sample: # host win98 { fixed-address 192.168.118.2; hardware ethernet 00:c0:f0:5b:44:44; } host win98 { fixed-address 192.168.118.3; hardware ethernet 00:e0:7d:86:1e:1b; } host win98 { fixed-address 192.168.118.4; hardware ethernet 00:c1:26:11:38:32; } |
Autor: | Anonymous [ wtorek, 17 grudnia 2002, 20:22 ] |
Tytuł: | |
seetz pisze: host win98 {
fixed-address 192.168.118.2; hardware ethernet 00:c0:f0:5b:44:44; } host win98 { fixed-address 192.168.118.3; hardware ethernet 00:e0:7d:86:1e:1b; } host win98 { fixed-address 192.168.118.4; hardware ethernet 00:c1:26:11:38:32; } Ej, moze zmien nazwe win98 na nazwe odpowiadajaca kompom (gosia, marcin, blabla) |
Autor: | Bolo_B [ wtorek, 17 grudnia 2002, 20:49 ] |
Tytuł: | |
Ta nazwa nie ma najmniejszego znaczenia bo kiedyś jak 1 raz wpisałem to tak samo i działą bez problemu, jednak dla porządku i ładu w configach freesco przydało by sie powpisywaćkonkretne nazwy userów ![]() ![]() |
Autor: | nufel [ środa, 18 grudnia 2002, 00:56 ] |
Tytuł: | |
Witaj Seetz nie chciałbym szukać dziury w całym, tymbardziej że wielkim znawcą tematu nie jestem, ale jak pisałeś: "MAM 2 Karty sieciowe." to brak Ci drugiego "IPRANGE" poza tym nie wiem jak to się ma do freesco ale w windzie czesem to gdzie włożysz kartę robi kolosalne znaczenie. Dlatego proponuję ustaw eth0 i eth1 i dla każdej karty inny zakres IP. pozdrawiam |
Autor: | Anonymous [ czwartek, 19 grudnia 2002, 02:57 ] |
Tytuł: | |
A tak propo, czy sewer DHCP jest aktywny?? ![]() |
Strona 1 z 2 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |