Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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,
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.
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.
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
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.