LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   problem sharing internet... (https://www.linuxquestions.org/questions/fedora-35/problem-sharing-internet-359623/)

lingeek 09-02-2005 05:04 PM

problem sharing internet...
 
hi,
I am trying to setup my Fedora Core -4 PC as the server which is connected directly to the internet using a USB cable modem and I get the IP for it using DHCP. This PC has another DLINK ethernet card that I wanted it to use for networking

I have another PC running Debian which I wanted to share the internet with the one with FC4 and used NAT to do the job.

I've got a script after googling that does the job of IP forwarding and other things. After running the script and after connecting the other computer(Debian) to FC4, I can ping the FC4 from Debian and viceversa. But the problem is that I cannot connect to internet from Debian but can connect to internet using only IP addresses.

I've tried to resolve this issue by making the '/etc/resolv.conf' files in two computers identical but no use. I can connect perfectly fine from FC4 with the same set of nameservers. I tried other ways but I 've given up. I am sure that this problem is related to DNS but not sure exactly what's going wrong.

The static ip address of Debian PC is: 192.168.15.6 with gateway 192.168.15.1.

Can anyone please suggest what's going wrong.

comprookie2000 09-02-2005 06:42 PM

The static ip address of Debian PC is: 192.168.15.6 with gateway 192.168.15.1.
So the DLINK ethernet card's address is 192.168.15.1
try for the debian box;
/etc/resolv.conf
nameserver 192.168.15.1


All times are GMT -5. The time now is 02:08 AM.