Re: Configuring 2 Machines to Connect to Internet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hello Folks:
> I have the following problem. I will be grateful to this list if
> they throw some light.
>
> I have two machines, both running LINUX one running MANDRAKE 9.1
> and one running RED HAT 9.0. The one running MANDRAKE is connected  to
> the internet via DSL Modem. (I have a dynamic IP when I connect  to
> Internet).
> I have a hub with which I have connected the Red Hat 9 machine.
> I want to run internet on this Red Hat 9 Machine also. I have a
> zero knowledge about how to do that.
> I gave some wild tries like this:
>
> On the Mandrake Machine I assigned an
> IP 192.168.0.1,
> Gateway also 192.168.0.1
>
> Red hat machine 192.168.0.2 (via the option statically assign
> IP)
> and a subnet mask of 255.255.255.0
> gateway I put IP of Mandrake Machine a 192.168.0.1
>
> I was able to ping 0.1 with 0.2 but was not able to Internet on
> 0.2
>
> I may be wrong and I am ignorant. If someone can tell me how to
> configure what all to write, I will be really thankful.
>
> PS: If you can refer me some pointers, that will also be
> appreciated
>
> Thanks
> Rohit

You need to do some kind of ip masquerade..

check here:
http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/index.html

basically what you are going to be doing is letting your mandrake know
what to do with the packages that the rh9 computer is going to be
recieving and requesting. Of course, I'm no expert, so most likely some
one can help you better.

Rigo





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux