LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2002, 02:59 AM   #1
Johnsernickle
Member
 
Registered: Aug 2002
Posts: 71

Rep: Reputation: 15
Linux Modem configuration for internet sharing


I have just recently booted my first copy of Red Hat Linux 7.2. I have configured my modem and I can connect properly to my ISP. I also have 2 Windows 2000 Profesional computers on the same network as the linux computer, and i was wondering how I could share the internet connection from my linux computer to my two windows computers. If you can sugest any referances for me to look at that would be great. Thanks in advance,

~peter
 
Old 09-17-2002, 05:04 PM   #2
DaveG
Member
 
Registered: Nov 2001
Location: London, UK
Distribution: Fedora
Posts: 161

Rep: Reputation: 43
I assume that you have network cards in each machine and that the network is running OK.
All you need to do now is to configure the Linux box to perform a little "masqerading" and to provide the network "default route". And don't skimp on the firewall.
Check out the documentation at http://www.linuxdoc.org/
You may want to look at DNS forwarding and DHCP to keep your windows machines in line and to provide boot-time network configuration.
 
Old 09-17-2002, 09:36 PM   #3
Johnsernickle
Member
 
Registered: Aug 2002
Posts: 71

Original Poster
Rep: Reputation: 15
Yeah, I have an internal network set up fine. What is DNS forwarding? Sounds interesting. I have found a great recource on IP Masquerading, and im hoping to try everything out tommorow. The part I dont quite get is the firewall, could you clear this up a little? Do you think there is anything else i should know before i charge blindly into this? Thanks, your help is greatly appriciated.
 
Old 09-17-2002, 09:44 PM   #4
Johnsernickle
Member
 
Registered: Aug 2002
Posts: 71

Original Poster
Rep: Reputation: 15
Oh, also, I have a question. when using Net View in MS-DOS my windows computers can see each other, but not my linux computer. A simple test with the Ping command shows its there, but why doesnt it show up? Also, how am i going to configure my Linux computers IP Adress to 192.168.0.1? Thanks again
 
Old 09-19-2002, 06:31 AM   #5
DaveG
Member
 
Registered: Nov 2001
Location: London, UK
Distribution: Fedora
Posts: 161

Rep: Reputation: 43
DNS forwarding involves setting up a DNS server on your Linux box to map local machine names to IP addresses. When the internet connection is up, it can also forward requests to internet DNS servers. That way your other machines don't need to know anything about the internet - your Linux box will do the clever bit.
The hard part is (as always) the configuration. DNS needs to be controlled by the dial-up process to tell it where to forward requests to. DHCP will tell the other machines on the network to refer all enquiries to your Linux box.
A good firewall configuration should stop ALL unauthorised connections. It's just as easy for a hackere to connect to your machine as it is for you to access a web site! The security forum here has some good examples. You'll be using either ipchans or iptables to do the masquerading anyway so there will be very litle overhead.
As for NetBIOS (MS Networking), what you ned to do to get MS talking to Linux is NetBIOS over IP running on the MS machines - just install IP networking - and Samba for the Linux machine. The Samba documentation is extensive. I have Samba configured to mimic a Windows NT4 primary doman controller. All passwords are encrypted and centrally maintained.
What you learn from implementing these services will teach you all you ever wanted to know about RedHat Linux!
Have Fun!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3 internet sharing configuration jinan Linux - Networking 3 03-05-2005 02:41 AM
internet sharing using dialup modem? hitesh_linux Linux - Networking 7 12-06-2004 12:28 PM
internet connection sharing through a modem... rosssax Linux - Networking 3 08-05-2004 10:02 PM
internet connection sharing with modem Sathe Linux - Networking 0 10-03-2001 09:00 AM
sharing internet connection(modem) linuxfan Linux - Networking 3 10-20-2000 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration