Re: lug-bg: DIALUP SERVE HOWTO
- Subject: Re: lug-bg: DIALUP SERVE HOWTO
- From: borj@xxxxxxxxx (Boris Jordanov)
- Date: Thu, 10 Jan 2002 16:20:25 +0200
On Tue, 8 Jan 2002 01:59:58 -0800 (PST)
Maxim Mavrudiev wrote:
> bez NAT nqma li da stane?
> samo ako gi svurja v mreja? i po-to4no kakvo zna4i
> tova? dve LAN carti i edin cabel li :)
>
Ami grubo kazano - da. Q&D primer - imash edna mashina kojato ima njakakva vruzka kum druga mreza (inet naprimer) i edin ili poveche (shto ne i cjala organizacia) koito stojat zad tvojata mashina. Pri NAT mashinite ot tvojata vutreshna mreza, koito iskat da se connectnat kum mashini ot vunshnata za teb mreza, izlizat prez tochno tazi _samotna_ mashina kojato e mezdu dvete mrezi. Tja pravi NAT, toest, s pomoshta na NAT mehanizma, paketite na tvoite vutreshni mashini stigat do NAT box-a, tam se pravi malko magia i izlizat kum vunshnata mreza, no veche sus IP adresa na NAT mashinata, otivat do kudeto trjabva, vrushta se otgovor, NAT box-a go magesva i ti go vrushta na mashinata ot vutreshnata mreza. Ta v tvoja sluchai moze i s edin kabel. Toj obache trjabva da e cross cable (oburnat) a ne normalen, prav ethernet cable. Ako imash hub ili switch - slagash si normalni kabeli. Nastroivash si mashinata kojato pravi dialup da pravi i NAT, slagash na ethernet interfeisite na dvete mas!
hini IP-ta, naprimer na mashinata s modema 192.168.1.1, na drugata 192.168.1.2 Na vutreshnata mashina nastroivash default gateway da e 192.168.1.1 i si pochti gotov. Za da ti e po-interesno, predlagam sam da otkriesh kakvo se pravi v detaili :)
P.S. Tova ne e edinstvenia vid NAT, nito edinstvenoto reshenie na zadachata ti, samo burz primer
Take care
Boris Jordanov (borj) <borj@xxxxxxxxx>
ICQ 10751645
PGP-key-fingerprint:------------------------------
CB23 8B52 5FBC F36A 1B61 F1ED 2831 E52D AAFF 7B08
--------------------------------------------------
Public-key:---------------------------------------
http://borj.freeshell.org/borj.asc
--------------------------------------------------
To err is human...
to really foul up requires the root password.
<HR>
<UL>
<LI>application/pgp-signature \\\\\\\\\ \\\\: stored
</UL>
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|