Next Previous Contents

2. Kalwdiwnontas to susthma

Analoga me to an xrhsimopoieite hub h oxi, h diktyakh sas topologia 8a diaferei ligaki. Edw kaluptw monaxa thn sundesh me kalwdio RJ45 (ayto poy moiazei me thlefwniko kalwdio poy paxyne, epeidh phre anabolika), kai oxi thn sundesh me lepto omoajoniko. Me to lepto omoajoniko mporeite na syndesete pollous H/Y xwris na xreiastei hub, alla prepei na prosexete ton termatismo twn syndesewn, klp. An hdh gnwrizete apo diktuwsh, oi odhgies aytes 8a sas fanoun se megalo ba8mo perittes.

2.1 Me hub

An dia8etete hub, to diktyo sas 8a moiazei m' ayto edw.

Syndeste thn karta diktuoy eth0 toy H/Y sas me to kalwdiako (cable) modem, h to koyti ths sundeshs ADSL, xrhsimopoiwntas to kalwdio poy sas edwse o texnikos ths sundeshs kata thn egkatastash poy ekane. (H, ena kalwdio poy gnwrizete oti 8a doylecei m' ayth th sundesh.) Ayto to bhma xreiazetai prosoxh, epeidh merikes fores sta cable modems aresei h sundesh me crossover, kai merikes fores h katey8eian sundesh me kalwdio. To kalwdio poy sas dinei h etairia sundeshs, einai ayto akribws poy xreiazeste.

Syndeste thn karta diktuoy eth1 toy H/Y sas me to hub, katey8eian me kalwdio. Kante to idio kai gia toys alloys H/Y sas.

2.2 Xwris hub

Akomh ki an den exete hub, panta mporeite na syndesete enan H/Y epanw ston H/Y sas poy exei Linux, me kalwdio crossover. H topologia sas 8a moiazei me aythn edw.

Syndeste thn karta diktuoy eth0 me to cable modem, h to koyti ths sundeshs ADSL, xrhsimopoiwntas to kalwdio ths syskeyasias twn syndesewn. Syndeste thn karta diktuoy eth1 me ton allon H/Y, xrhsimopoiwntas kalwdio crossover.

2.3 Me mono mia karta diktuoy

Ayto to sthsimo den to synistw. M' ayton ton tropo, to eswteriko kai to ejwteriko sas diktyo briskontai epanw sto idio kommati diktuoy, kai ara einai pio epidektika se cracking ( = zhmies apo kakoboyloys hackers). Sthn pragmatikothta, o kindynos aytos einai pi8anotata ashmantos, alla yparktos. Analoga ti 8a sas tuxei.

O pyrhnas toy Linux perilambanei yposthrijh gia to "IP aliasing", h opoia epitrepei se mia karta diktuoy tupoy ethernet na yposthrizei duo diey8unseis IP taytoxrona. (Ayto to xarakthristiko einai sumfyto stoys pyrhnes poy briskontai stis dianomes ths RedHat kai ths Mandrake.) Gia na ry8misete mia gateway me mono mia karta ethernet, antikatasthste se ola ta efejhs paradeigmata to eth1 me to eth0:0.

Se susthma monhs kartas diktuoy, den synistatai na trejete enan DHCP server.

Syndeste oloys toys H/Y sas kai to cable modem sas (h to koyti ths sundeshs ADSL) sto hub. Stayrwste ta daxtyla sas, kai synexizoyme.


Next Previous Contents