Guru,
Can you tell us the routing table that you have?
When you are connected to the internet, type in
to get the routing table and paste the output here
LM
Quote:
Originally posted by guruliving
Dear Linux Members,
I need your help regarding Internet Connection Sharing using Fedora core 2.6.11-1.1369-FC4.
I am already sharing my wireless LG RD2030 CDMA phone in my Win Xp Pro system and my client able to share the connection.
I tried to connect my wireless LG RD2030 CDMA phone through script based dialing in Fedora and I am able to connect and browse internet. The script is has been given by our ISP. Normally the phone is not deducted in fedora. The phone is connected to PC's USB port. I manually gave /dev/ttyUSB0 while running the script.
I assigned 192.168.0.1 to my Fedora server ip and subnetmask is 255.255.255.0
I assigned static IP 192.168.0.110 to 192.168.0.120 to my winxp client and subnet mask is 255.255.255.0 and default gateway is 192.168.0.1 and preferred DNS is 192.168.0.1. Both my client and fedora server can able to ping each other. But xpclients not able to share the internet connection.
I already tried everything but everyone on net saying different setting for setting NAT.
My setting is
ISP <--> LG RD2030 CDMA Phone <--> Fedora Core Linux Server <--> 1NIC <--> XP Clients
I used the setting as specified in fedoranews dot org website
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
service iptables save
echo "1" > /proc/sys/net/ipv4/ip_forward
and i changed the value
/etc/sysctl.conf changing net.ipv4.ip_forward = 0 to 1
Because I assigned static IP in both fedora server and xp client. I think the fedora server no need for running DHCP server. so I skip doing settting on DHCP server. I don't know weather i must run DNS server or not. If so guide me how to setup DNS server for my settings. And I need step by step approach to sharing Internet Connection And I am a beginner to linux.
Thank you and expecting your early reply,
K.Guru.
|