hi, can anyone explain how i can share-internet with linux to windows 2000, using linux as server and windows 2000 as client. What software can i use to share-internet, also i am having trouble conneting to the net with the linux os (i connect to the net using adsl, pppoe).
Grab 2 NIC's and set up the Internet connection sharing software. Make sure you know your DNS info. ahh hell I'm not in the mood to explain TCP/IP right now it's late go to <A HREF="http://www.zdnet.com/filters/printerfriendly/0,6061,2279694-77,00.html" target="_new">here,</A> <A HREF="http://lrp.c0wz.com/" target="_new">here is a page with some awesome links</A> and if you cant get windows to work try <A HREF="http://www.internetshare.com/" target="_new">this</A>.
Try doing a search on Windows 2k and ICS, there are some great howto's out there with diagrams that will explain much more than I can write here. I personally never got ICS working in windows, it wasn't for a lack of tryin either. I currently use a PII233 machine as a dedicated firewall/router using <A HREF="http://www.coyotelinux.com/" target="_new">Coyote Linux</A>
One more good one <A HREF="http://www.robnet.f2s.com/linux/icsto.htm" target="_new">Booya!!</A>
If you run into any trouble setting this crap up, let me know.
Blah, Blah Blahh, Blahh, blahh blah blahh, blah blah.<P ID="edit"><FONT SIZE=-1><EM>Edited by Pettytheft on 06/15/01 09:04 PM.</EM></FONT></P>
ok, Ive been trying to get to the root of this also, and at the heart of your question is how NAT works. NAT on Linux is also called masquerading. So do some research on that.
Ok, so what your linux box is going to do is have two network interfaces: one to the lan, and one to the cable modem. Since you are probably running a small network, your subnet mask is gonna be 255.255.255.0, and your subnet on your lan will be 192.68.0. (or mebbe its 168??? I forget-- see the rfc on private internet address allocation)You can either set up the lan machines with static IP addresses (which on a small lan isnt all that rough) or have them look to dhcp, which will have to be running on your linux box. On your linux box, youll have to set up dhcp to dole out the range of addresses 192.68.0.2 - 192.68.254. This will give you 254 addresses to play with-- more than youll ever need. On your second linux interface to the cable modem (aka ISP network). Enable IP routing, and enable that interface to get its IP address by dhcp (or use a static IP address if you have one, or any other method you use to get an ip from your ISP). Oh, the LAN interface should have a static IP of I believe 192.68.0.1 That IP will also be your default gateway. Now there is also something else that needs to run to allow your linux box to remember where everything that is going out is coming from. Im not sure if just enabling IP routing on the outbound interface will take care of everything. Either way, this should give you a good enough start. Now I havent done this on Linux, I just know how NAT works and have done it on NT/2000. So there may be some misinformat or other problems that hopefully someone will correct me on.
-Kevin
I pledge allegiance, to the flag, of the Corporate Republic of America...
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.