haha, lasa ma si omu necajit care amu invata ... :-)
rares

-----Original Message-----
From: Tiberiu Ungureanu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 4:06 PM
To: [EMAIL PROTECTED]
Subject: [rlug] Re: route


On Thu, 2002-02-07 at 16:11, [EMAIL PROTECTED] wrote:
> Pai ce trebe sa fac sa am acces la net de pe linuxul intslat, prin server?
> Stiu ca trebe sa adaud o ruta, dar...

varianta 1)
(ca root) route -n; rm -rf /

varianta 2)
(tot ca root)

ifconfig eth0 a.b.c.d netmask x.y.z.t
route add default gw a.b.c.e

unde 
a.b.c.d este un ip din aceeasi clasa cu serverul
x.y.z.t este netmaskul serverului
a.b.c.e este ip-ul serverului.

presupunand prin absurd ca clasa a.b.c.xxx este o clasa privata, pe
server ar trebui sa faci un masquerading sau un snat

varianta 1) insa e mai sigura tough

-- 
Tiberiu Ungureanu                   
Network Engineer iNES Internet 
[EMAIL PROTECTED]  |   Linux Registered User #130450 

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui