Sharing my Internet Connection from Ubuntu to Windows (XP & 98SE)
I am trying to get my Internet to work from 2 Windows (98 & XP) machines that are networked to a machine running Ubuntu (Hedgehog) that is connected to the Internet.
If that is unclear, here is a diagram:
It works under Windows XP (dual boot on the Ubuntu), but I can't figure out how to get it to work under Linux. In Windows, it was acting as a DHCP server to the XP and 98 machines. The Internet works in Linux, but only on the Ubuntu machine, and I want it to work from the other 2 machines.
I'm fairly new to Linux, but I'm willing and have some knowledge of it's workings.
Thanks in advance.
well, dhcp and sharing an internet connection are two different things. on the ubuntu box, you will have to setup a proxy server and then point the 2 windows boxes to that server. that should be enought to get it to work. either that or move your switch (which might be a router too??) in front of your ubuntu box and have all three of your machines plug into that and they will all have an internet connection on their own. if the switch is not a router, you can pick one up for not a whole lot of money.
i know this isnt an answer but i hope it helps
On Windows, when you do the Home Network Wizard (or whatever it is called), it automatically assigns IP addresses for the other computers on the network using DHCP, and sets up Internet Connection Sharing and File Sharing, but I suppose I could do without the DHCP as long as I could get it to work another way.
Also, I forgot to say that my switch is not also a router. I have a router, but I don't use it because my ISP only lets me use the MAC address of my Ethernet card in my Ubuntu box -- I suppose I could fake the MAC addresses, but I'd have to figure out how to change it in my router (Linksys, I don't know the model) and that is another issue entirely.
I don't know how to set up a proxy server like jsmarshall said, but if that would help I'd like to know how.
Here is all you need to know about dns and internet sharing in linux:
For internet sharing:
If you don't have enough time for reading or just want to be able to do it in an easier way like in windows then let firestarter make the job (both jobs) for you:
If you also need file sharing then you'll also need samba:
Thanks for all your help guys, I never actually figured this out but I got my router to work with that MAC address clone... now I can get to work on samba.
You guys rock.
|All times are GMT -5. The time now is 05:25 PM.|