How to configure Internet Connection Sharing in Fedora 4
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Could you please provide additional information, like:
-how you want to "share" connections (eg via a NAT router, etc)
-how you've accomplished it in RH9
-what exactly you want to do with it
-etc
There are many alternatives. The one discribed on the link you provided may work, in case you have
your internet connection is directly branched to one PC and you that PC is then further connected to
your network via a 2nd network card.
What I'm trying to say is... it really depends on your network's setup (and also somewhat on your internet
setup). So, please give us more details, like
computer 1 is branched to internet
computers 2 and 3 are branched to computer 1 only. I'd like for them to use the internet connection that has
been set up on computer 1.
etc
Is this wireless connection to your (wireless) internet modem?
I only see 192.168.*.* addresses, which are - by definition - always internal on a network.
For your internet to work, however, one of your machines must have a modem, router, firewall or something that contacts the outside world (your ISP, probably).
If this modem/router/.... provides NAT (network address translation), possibly DHCP and multiple connections, you may be better off hooking both your Linux and Windows boxes to
it directly.
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
for the other PC's in windowsOS and linux I set the gateway to the IP address of the PC connected to the modem.
this works fine in redhat9 as OS of the PC connected to internet but very slow internet connectivity in fedora core 4 as OS of the PC connected to the internet.
So, it actually works but is just slower then it should be?
That can depend on a lot of issues. Have you tried things like traceroute (on the non-internet connected hosts) or a packet capturing tool (on the internet connected machine), just to see what's happening.
Are you sure nothing else is slowing down your FC machine? Eg other processes, other daemons, etc (try "top")?
Furthermore, your FC machine is hooked up to the internet via a wireless connection. Are you sure it's configured for maximum speed (ie in the same way as on your old box)? Since your FC machine "forwards" the internet connection to all your other machines, it may just be your internet setup that's causing the delays.
You could try this by browsing a few sites on the FC machine, for instance.
As to the actual configuration, I'm just a newbie, so you might want to ask the moderator to put this thread in the Linux - Networking forum.
Well, I tried what you guys suggested. The internet does not get forwarded. My Windows machine does not surf the net...
Do you have more questions about my setup? Yes, the wlan0 is my wifi connnection to the router. Yes, the eth0 is the cross over connection to my Windows machine.
before trying to look into your suggestions, i changed the gateway of my PC with fedora 4 OS that is formerly connected to the internet to the IP address of another PC with Redhat9 OS. This PC(with redhat 9 OS) is now connected to the internet. Suddenly, internet surfing speed in fedora 4 is greatly improved! But this does not solve the problem, for i think fedora 4 should even have more capability in speed as a gateway being a new and upated linux OS than the older redhat9.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.