Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP, IP_MASQ, firewall Linux -> Win98

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I would like to know if it is possible to setup my single Redhat 6.1(Cartman), Kernel 2.2.12 Linux box to serve the internet to itself and my window$98 box.&nbsp;&nbsp;How would this be done.&nbsp;&nbsp;I assume I need two Ethernet Cards in the Linux box (currently has 1 Linksys EtherPCI LAN Card II).&nbsp;&nbsp;The windows box also has the same card.&nbsp;&nbsp;I also have two Realtek cards not in any machines.&nbsp;&nbsp;All cards work.&nbsp;&nbsp;<br>&nbsp;My current setup is my Linux box and my windows box are connected on a 5 port hub.&nbsp;&nbsp;I can ping from Linux to windows and vice versa, I can telnet from Windows to Linux.&nbsp;&nbsp;But, I cannot FTP from windows to linux or vice versa.<br>&nbsp;<br>&nbsp;All documentation I've been able to find concerning firewalling and serving internet to an internal network says to have one Ethernet card for <i>intranet</i> and one ethernet card hooked to a cable modem or DSL.&nbsp;&nbsp;I don't have either, and probably won't for a while.&nbsp;&nbsp;Is there a way to do this without a cable modem/DSL hookup? <p>Jon Zimmer<br><a href=mailto:b0rg@pcgeek.net>b0rg@pcgeek.net</a><br><a href= Aetea Information Technology</a><br>The software required `Windows 95 or better', so I installed Linux.<br>
 
I did this with a Sun box (ages ago) so it is possible.<br><br>If your linux box is set up to dial-up the internet you are more than halfway there.<br><br>I'm presuming that <b>your</b> network is using static IP addresses rather than DHCP.<br><br>On the Win box set the IP of the linux box to be your default gateway. (Control Panel, Network, TCP Properties)<br><br>Set up linux to do IP forwarding (don't know how to do this bit..... as I said, it was a while ago)<br><br>Hope this gives you a start Jon. <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
I agree with what mike said.<br><br>You might also look for information on &quot;dial on demand&quot; or internet connection sharing for linux. redhat's site is also a good place to look for information pretaining to their O/S.<br><br>Good luck,<br><br> <p>Troy Williams B.Eng.<br><a href=mailto:fenris@hotmail.com>fenris@hotmail.com</a><br><a href= > </a><br>
 
Thanks for the info<br> <p>Jon Zimmer<br><a href=mailto:b0rg@pcgeek.net>b0rg@pcgeek.net</a><br><a href= Aetea Information Technology</a><br>The software required `Windows 95 or better', so I installed Linux.<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top