Click to See Complete Forum and Search --> : Gateway,dns porbs....


pelle
04-13-2001, 05:16 AM
Hey !

Its like this I have a windows machine with winroute to share internet with my other computers. Its easy and so. just fill in a gateway and dns and its done.

It works nice on my other windows-computer.
On my other comp, the linuxbox, well I not sure were to fill in the gateway and dns from the winroute-computer so that the internet works.(The linuxbox is a client)

Also do I have to change something in netscape ?
Can someone please help me with this ??

Thanks
//Pelle

bdg1983
04-13-2001, 07:11 AM
You didn't mention what distro you are using so it's kinda hard to tell you which config tools to use and most distros have different ones. That would make it easier for you via config tools.

Edit your /etc/resolv.conf as this

domain yourispdomainname
nameserver xxx.xxx.xxx.xxx # isp dns 1
nameserver xxx.xxx.xxx.xxx # isp dns 2

Next you have to add your windows machine gateway address to eth0. Problem is, I can't remember the commandline syntax to add the gateway. ifup eth0 gw xxx.xxx.xxx.xxx ??? That is incorrect, but either search around in the Networking forum (where this topic actually should have been posted) or wait for someone else to reply.

pelle
04-13-2001, 08:43 AM
Thanks !
Oh sorry forgot that
Im using red hat 6.2...
Also another problem my make command doenst work when I typ it it says that it doesnt exist??, whats wrong
Thanks !
//Pelle

bdg1983
04-13-2001, 08:53 AM
You probably don't have the make package installed. Been asked quite a few times here and searching the main forums will find you the answer.

pelle
04-13-2001, 08:57 AM
is it this command :
route add default gw xxx.xxx.xxx.xxx eth0

DMR
04-13-2001, 04:12 PM
is it this command :
route add default gw xxx.xxx.xxx.xxx eth0
Yes, where xxx.xxx.xxx.xxx is the IP of your Win box.
You might also have to do:
route add -net xxx.xxx.xxx.0 netmask 255.255.255.0 eth0
where xxx.xxx.xxx.0 is the address of the network both machines are on