Results 1 to 2 of 2
Hi guys, Ive recently installed RH 7.3 one one of our two home computers. Much to the dismay of my parnter i havent been able to get shared internet working. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-15-2004 #1
- Join Date
- Jul 2004
shared internet - cant ping (insert confusion)
Ive recently installed RH 7.3 one one of our two home computers. Much to the dismay of my parnter i havent been able to get shared internet working. I dont know much about linux and am getting a little confused with the vast config files etc.
If i tell you what i want can you help? For now i just want to be able to share the servers net connection with the client. The whole domainname and config in linux is getting me a bit sidetracked too. I dont really care what it is as long as they are connected to a workgroup Mythical.
Where im at right now is, the server can use the internet fine with ppp0, and can ping the client by name and ip.
The client cant access the internet, can ping the server by ip, but cant ping it by name.
Running Redhat 7.3
Uses: Ethernet card (eth0) for network and modem (ppp0) for dialup internet
Internal IP: 192.168.0.1
Uses: Ethernet card for network
Internal IP: 192.168.0.2
Im sure there'll be more you need me to tell you. If we assume no other settings have been made, (the ones i made have probably been wrong) can you point me along from here?
Hope you can help before the mrs screws my neck!
- 07-18-2004 #2
- Join Date
- Jul 2004
- Jakarta - Indonesia
in your linux server (Xeres)...
you should type this command
#command to forward the packet
echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat - A POSTROUTING -s 192.168.1.2 -j MASQUERADE
then you also should set Client's gateway to your Linux Box (192.168.0.1)
for enabling the internet domain names...
you should set the DNS Search Order in Linux or in Client
#set DNS Search Order in Linux
echo "nameserver ip_dns_server" > /etc/resolv.conf
##set DNS in Win98
start - control panel - network - lan connection, - properties - TCP/IP - Properties, under the Gateway, there is a DNS Setting... just fill the DNS, with your IP DNS Server