---"Eng ler ...(admin)" <[EMAIL PROTECTED]> wrote:
>
> i have this kind of network :
> 
>       
>       
>       -----------
>       |          |--- Modem 56K --> Internet
>       |Windows NT|
>       ----------- --- 3Com 3c509 (122.0.0.151)
>                               |
>                               |
>                           -------
>                           | HUB |
>                           |     |---- Linux BOX (122.0.0.155)
>                           -------     (3c509)         
> 
> The Question :
> --------------
> How do i config my linux box (RedHat 5.1) so that it can access
internet
> too ??
> 
> I can ping from 122.0.0.155 to 122.0.0.151 
> And i can ping from 122.0.0.151 to internet ...
> But ping from 122.0.0.155 to internet doest work !
> 
> i config the network for my linux box like this :
> ifconfig eth0 122.0.0.155 netmask 255.255.255.0 up
> route add -net 122.0.0.0 netmask 255.255.255.0 eth0
> 
> did i need to add any gateway ??
> 
> Please HELP !!!
> 
> thanks 
> 

If your IP addresses (122.x.x.x) are valid (asigned by your ISP) then
you have to activate IP Forwarding on the NT machine (see your docs)
and define on the linux box the default gateway pointing to the NT,
e.g. "route add default gw 122.0.0.151".

If 122.x.x.x are not valid Internet addresses, then you need to
implement something like a Proxy server, Masquerading, etc... and
better use the Linux box as an access server to the net (IMHO).


===
*****************************************
*  Renzo Alejandro Granados             *
*  Linux NetAdmin                       *
*  Bogota-Colombia                      *
*  http://members.xoom.com/renzoal      *
*  http://www.nettaxi.com/citizens/renzo*
*****************************************



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to