Re: [Linux-sunucu] adsl ve dhcp configuration !!!

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Umut D. (linuxlist@gmail.com)
Date: Wed 31 Aug 2005 - 19:51:12 EEST


Bu soru da linux-ag sorusu...

dhcp'yi tam konfigure etmemissiniz.

eth1'i statik olarak konfigure edeceksiniz. Ornegin bunun icin
10.0.1.0/24 <http://10.0.1.0/24> ya da
192.168.0.1/24<http://192.168.0.1/24>kullanablirsiniz. dhcp'yi de buna
gore konfigure etmeniz gerekecek.

man dhcpd.conf size epey ipucu verir. Daha basit olsun derseniz
webmin'in dhcp arabirimi fena degil, ama isiniz biter bitmez
webmin servisini durdurmaniz tavsiyesiyle.

bilgisayarlar bu ozel gruplarin birisinden ip aldiktan sonra geriye
NAT kurallarini ayarlamaniz kaliyor. Asagidaki komut
bende ise yariyor, eminim sizde de yarar

iptables -A POSTROUTING -o ppp0 -j MASQUERADE

Bu sadece temel cikis islemini halleder. Bunun disinda firewall
olarak da kullanabilmeniz icin eklemeniz gereken epey kural
olacak.

Clientler serbest internet erisimine sahip olmasin derseniz
o zaman squid kurup "ip_forwarding"'i tamamen iptal edebilirsiniz.

Ben bu isleri yaparken Google ile turkce/ingilizce cookbook
cozumler bulmustum. Aramanizi tavsiye ederim.

Onemli bir not: siz ADSL modemin ip dagitma ve forward ozelliginden
faydalanmak yerine linux bir pc kullanmayi tercih ettiginize gore
bu linux kutuyu dogru konfigure edin ki modemden daha islevsel
olsun, yoksa ADSL modem size daha fazla guvenlik saglayacaktir :)

Kolay gelsin.

redhat 9 eski kaldi. Keske daha guncel bir dagitim secseydiniz...

On 8/30/05, hasret turkeri <hasretturkeri@hotmail.com> wrote:
>
> selamlar
> redhat 9.0 kurulu serverım var. adsl ile bridge modda internet
> bağlantım var.
> benim yapmak istediğim şey serverın dhcp ile 5 pc den
> oluşan ağa ip dağıtabilmesi ve bu bilgisayarların
> internete server üzerinden erişebilmeleri.
> tam olarak ne yapacağım hakkında biraz araştırma
> yaptım.
> Genel dhcpd.conf konfigurasyonları uygulamaya
> çalıştığımda ve dhcp'yi çalıştırmak
> isteiğimde aşagıdaki gibi bi uyarı veriyor ve
> başlamıyor
> benim aklıma adslden ppp0 ile bağlantı
> yaptığım için genel konfigurasyonların
> dışında birşeyler yapmam gerektiği. ayrıca bi
> şey daha soracağım eth0'rı ppp0 kullanıyo benim
> network'e ip dağıtmak için kullanacağım eth1'i
> nasıl konfigure edeceğim.
> lütfen yardım edin
> ii çalışmalar.
>
> --------------------------------------------------------------
> Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl1
> Copyright 1995-2001 Internet Software Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/products/DHCP
> Wrote 0 leases to leases file.
>
> Not configured to listen on any interfaces!
>
> If you did not get this software from ftp.isc.org <http://ftp.isc.org>,
> please
> get the latest from ftp.isc.org <http://ftp.isc.org> and install that
> before
> requesting help.
>
> If you did get this software from ftp.isc.org <http://ftp.isc.org> and
> have not
> yet read the README, please read it before requesting help.
> If you intend to request help from the dhcp-server@isc.org
> mailing list, please read the section on the README about
> submitting bug reports and requests for help.
>
> Please do not under any circumstances send requests for
> help directly to the authors of this software - please
> send them to the appropriate mailing list as described in
> the README file.
>
> exiting.
>
> ------------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> Linux-sunucu mailing list
> Linux-sunucu@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-sunucu
>
>
>

_______________________________________________
Linux-sunucu mailing list
Linux-sunucu@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.