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 

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to