Is karto atsiprasau kad mazai info daviau. Ateityje pasistengsiu placiau ;) Siaip galiu nupasakot ka padariau: Numatyta kad ETH0 - lan'as su IP 192.168.10.1, ETH1 eina i telekomo modema kurio IP 192.168.2.250. Reikia DHCP bei interneto lan'e. Pradziai :) ifcfg-eth0 GATEWAY=192.168.2.1 BOOTPROTO=none PEERDNS=yes IPV6INIT=no TYPE=Ethernet HWADDR=00:10:22:FE:00:C8 DEVICE=eth0 NETMASK=255.255.255.0 BROADCAST=192.168.10.255 IPADDR=192.168.10.1 NETWORK=192.168.10.0 ONBOOT=yes USERCTL=no ifcfg-eth1 GATEWAY=192.168.2.250 PEERDNS=yes IPV6INIT=no HWADDR=00:E0:4C:C9:B7:BD BROADCAST=192.168.2.255 USERCTL=no BOOTPROTO=none TYPE=Ethernet DEVICE=eth1 NETMASK=255.255.255.0 IPADDR=192.168.2.1 NETWORK=192.168.2.0 ONBOOT=yes DHCP.conf: ddns-update-style none; ignore client-updates; DHCPARGS=eth0 subnet 192.168.10.0 netmask 255.255.255.0 { # --- default gateway option routers 192.168.10.1; option subnet-mask 255.255.255.0; # option nis-domain "domain.org"; option domain-name "namas.lt"; option domain-name-servers 212.59.0.1; option time-offset -18000; # Eastern Standard Time # option ntp-servers 192.168.1.1; # option netbios-name-servers 192.168.1.1; # --- Selects point-to-point node (default is hybrid). Don't change this unless # -- you understand Netbios very well # option netbios-node-type 2; range 192.168.10.100 192.168.10.254; default-lease-time 21600; max-lease-time 43200; # we want the nameserver to appear at a fixed address # host name_server { next-server ns1.telecom.lt; hardware ethernet 12:34:56:78:AB:CD; fixed-address 212.59.0.1; } } Na ir niekaip neina. Serve internetas eina. Pingas is klientu neina iki servo eina, bet iki modemo ne.... Aciu "Robertas" <robertas@tabakas.lt> wrote in message news:g2l9hr$gnm$1@trimpas.omnitel.net... > ssh wrote: >> Sveiki, >> Reikia pagalbos paleidziant LAN'a ant Centos 5. Visa beda tame kad >> niekaip >> nepavyksta paleisti DHCP serviso ant Eth0 taip kad vietiniai kompai > /etc/sysconfig paziurek ar yra failas dhcpd, jame turetu nusirodyti ant > kokio interfeiso startuoja dhcpd >> pasijungtu ir pasigautu adresus... Tarkime Eth0 IP 192.168.1.1, subnet >> 255.255.255.0. Koks turi buti gateway? Tas pats 1.1? > Kadangi tu nenurodei savo gateway tai neesu telepatas ir negaliu pilnai > i sita klausima atsakyti, nurodau tik dhcpd optiona kuris isduoda > klientams tavo gateway "option routers 192.168.1.254;" (ip turi buti > tavo gw) >>Ka ir kur dar butinai >> reiktu nustatyti kad veiktu? >> Pingas is servo i serva(192.168.1.1) eina. Duotu adresu Webminas >> atsidaro. >> Pajungus kita kompa i tinkla pingas iki jo neina. Taip pat ir is jo i >> serva >> nenueina :/ > dhcpd startavo ? ps ax | grep dhcpd, kompas gavo ip is tavo dhcpd servo > ? gal statinis ip ant kompo uzdetas is kito potinklio ? Gal managinami > switchai ? >> >> PS kodel instalinus defaultiskai Webminas jungiasi ne per SSL? >> >> > p.s. klausimus galetum formuluoti aiskiau ir pateikti daugiau info.