Re: [LINUX:3640] Re: Gateway

Baris Cenberci (Baris.Cenberci@raksnet.com.tr)
Thu, 18 Dec 1997 13:26:34 +0000


Selami.Aksoy@FliPPeR.BiTaV.Org.TR wrote:
>
> On Wed, 17 Dec 1997, Baris Cenberci wrote:
>
> Merhaba hocam..
> Size geCenlerde bir mail atmIStIm ama cevap vermediniz. Veya elinize
> olamSladI. Bir de burdan sorayIm.. Belki siz veya bir baSkasInIn bir fikri
> vardIr..
> Simdi elimizde bir bnc network var.. 32 iplik bir subnet. Burdaki
> makinelerden 2 tanesi server. Birisi aix birisi linux..
> Fakat baGlantInIn bnc olmasIndan dolayI pclerin baGlantIlarInda bir sorun
> olduGu zaman server olarak kullandIGImIz makineler de gidiyor.. Bunun iCin
> linux'e 2 tane ethernet kartI takIp onu bridge olarak kullanmayI dUSUndUk.
> AynI network iCinde olduGu zaman bridge oluyordu yanlIS bilmiyorsam..
> Ama ben Simdiye kadar bir linux'u bu Sekilde kullanmadIm..
> Tabi ki linux'un saGIndaki ve solundaki aynI subnet'e ait ait paketler
> birbirine gitmiyor doGal olarak. Bunu halledebilmem iCin iki taraftaki ip
> lerin hepsini "route add -host 194.27.16.8 dev eth1", "route add -host
> 194.27.16.6 dev eth0" Seklinde eklemem gerekiyordu. GerCi bunu denemedim
> ama bu Sekilde CalISacaGInI dUSUnUyorum.. Tabi bUtUn makineleri tek tek
> eklemek zor geldi.. Onun iCin buraya bir 32 ip lik sunbet daha aldIk ve
> linux'u router olarak kullanmaya baSladIk.. Simdi size soracaGIm 2. 32 lik
> ipyi almadan bu iSi nasIl halledebiliriz?
>
> Linux makinenin eth0 194.27.16.7 eth1 Su anda baSka ama linux'u biridge
> olarak kullanabilirsek 194.26.16.8 olur herhalde..
>
> Network 194.27.16.0 netmask 255.255.255.224
> Gateway 194.27.16.12
>
> ---
> SaygIlar, Sevgiler
>
> SeLaMi.

Selamlar... Mail ya gelmedi ya da gozumden kacti su anda cunku 666
unread message gozukuyor... <:{O*

Linux kernel'i IP bridging destekliyor (diyor dokumanlar) Hala
experimental gozukse bile, cikali 2 seneyi geciyor olmali... Yani
oldukca iyi bir zaman suresi... Configure.help dosyasinda yazan:

Bridging (EXPERIMENTAL)
CONFIG_BRIDGE
If you say Y here, then your Linux box will be able to act as an
ethernet bridge, which means that the different ethernet segments it
is connected to will appear as one ethernet to the
participants. Several such bridges can work together to create even
larger networks of ethernets using the IEEE802.1 spanning tree
algorithm. As this is a standard, Linux bridges will interwork
properly with other third party bridge products. In order to use
this, you'll need the bridge configuration tools available via ftp
(user: anonymous) from shadow.cabi.net. Note that if your box acts
^^^^^^^^^^^^^^^
as a bridge, it probably contains several ethernet devices, but the
kernel is not able to recognize more than one at boot time without
help; for details read the Multiple-Ethernet-mini-HOWTO, available
via ftp (user: anonymous) in
sunsite.unc.edu:/pub/Linux/docs/HOWTO/mini. The Bridging code is
still in test. If unsure, say N.

Ben kendim denemedim simdiye kadar... Ama herhangi bir problem olursa
yardimci olmaya cailsirim...

Saygilar, sevgiler...

-- 
B.C.
=={:{)* 
e-mail: Baris.Cenberci@raksnet.com.tr