LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Two machines and internet access (https://www.linuxquestions.org/questions/linux-networking-3/two-machines-and-internet-access-149724/)

cyclic 02-23-2004 06:31 PM

Two machines and internet access
 
Hi

This has me a little confused. I have two machines networked successfully (Fedora) and can connect to the internet (dial-up) from the main machine. If I try to connect from machine two it is unable to resolve names if the main machine is running Fedora. If I then switch the main machine back to windows, I can connect to the internet with machine two.

I can ping both ways using Fedora on both but just can't get through the main machine (main dial-up connection) when using Fedora on both. Machine number two is configured to look for the gateway that being the main machine.

I don't want to use windoze, so I would appreciate a pointer!

qwijibow 02-23-2004 07:15 PM

so what you are saying is you want to install a router on Fedora ?

firestarter is a good GUI, it is primarily designed as a firewall, but it also functions as a router.

cyclic 02-24-2004 03:42 AM

The machines are networked ok, so is it a case of using a router for the second machine to utilise the internet connection of the main machine?

tmakobu 02-24-2004 06:20 AM

Yeah, or you can eneble IP masquarade. Read the IP masquarade HOWTO on ldp.org

fdr 02-25-2004 02:22 AM

Cli_man posted this in another thread which solved a similar problem for me.

Im not sure yet if it was the masquerading line or the one that clears the default iptables rules that did it

http://www.linuxforum.com/linux_tutorials/5/1.php



:Pengy: Seems like a LOT of people run into this scenario, maybe the link or its contents are worthy of a sticky somewhere....

cyclic 02-25-2004 03:38 AM

Thanks, I found that tutorial but still had problems and noticed that my ip_forward line still showed "0". I changed it to "1" and all is working fine!


All times are GMT -5. The time now is 07:33 AM.