Internet through LAN
Hi everyone
I have installed Mandrake10 on 5 computers, one of them has a modem and connects to internet directly, i cant get others (clients) on Internet. The machine that goes on internet has static IP 192.168.1.3, the others have IP 192.168.1.50 and so on...and they have for GateWay 192.168.1.3 but cant access the Internet. I am novice at Linux with XP worked just fine i didn't had to do much. But now don't know what to configure or how??????? Please help!! |
I don't know much about mandrake, but the command I use on the clients is:
Code:
# route add default gw 192.168.1.3 |
doesn't work
thanks, but still doesn't work
what should be written at resolv.conf? |
resolv.conf
hello bajte
You are right. You need the Primary DNS address of your ISP listed in the /etc/resolv.conf a entry in resolv.conf like the following will work nameserver xxx.xxx.xxx.xxx You need that in all the units attached to your internet server. I suggest that you also make your internet server an IP masquarade unit that also has ipchains or iptables running to help with security. Good Luck |
hehe... to my knowledge, resolv.conf has to do with DNSs...
before trying anything else, check what you can and cannot do: - can you ping other computers on the LAN? if yes, your IP is set right - can you ping your router's IP? if yes, that's a good start - can you ping an IP on the WAN (internet)? eg. your internet provider's nameserver if yes, your gateway is set right - can you ping a website using the domain name? if yes, your DNS is set right - can you access a website? if no, then probably a port is blocked s-where. sorry if that's a little basic way of doing and explaining things, but you have to see "until where" you can go on the network. I can't really help you with manually configuring your box, cuz I've always preferred to set up a DHCP server that does it all once you've identified your problem, check for tutorials on the net. c ya |
Mandrake 10 has a gui tool for this in the control panel. It allows to to share the connection and it's pretty easy. You can set up the firewall as well...
I have done it here temporarily at times, but a better solution for me was to get an old pentium 166 or whatever and set it up with smoothwall. It dials, routes, dhcp, ids, web proxy, etc... and it runs non stop and allows all the other boxes to reboot, dual boot, whatever without disturbing the connection. And all the PC's can control the smoothie box through a web interface. It's cool... but as I say, you can use mandrake on the main box too. The gui tool should be easy enough for you to use without too much hassle. |
Thanks
Thanks a lot to all of you, everything is OK now.
|
All times are GMT -5. The time now is 01:33 AM. |