LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-01-2001, 11:08 AM   #16
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30

As others have said... IPMasq will work, but paying for real IPs rather defeats its purpose.

If you have real IPs then you simply need to make a machine that will share its connection with the other machines. You will still need two NIC's, each with and IP address that is provided by your ISP. One NIC will be internal the other external. Test your Linux machine with just the external NIC enabled and make sure your internet connection is working properly. All of the IP info for this NIC should be provided by your ISP(netmask, IP, gateway, DNS, etc.) Then enable the internal NIC and make sure that you can communicate from that machine with both the internal and external networks. Once again, all of the IP info for this NIC should be provided by your ISP. Now you just need to make sure that IPforwarding is enabled as stated above.

Each "client" will have its gateway set to the internal NIC address of the gateway machine. Their netmask and DNS info, should be whatever your ISP has provided. Your machine should forward internal IP info straight through to the external network and then your ISP out to the internet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 12:59 PM
Downloading email with gateway linux machine colabus Linux - Newbie 1 06-20-2004 08:37 PM
Setting up a gateway on Debian machine colabus Linux - Networking 0 05-22-2004 11:16 AM
Configuration DHCP and Gateway on linux machine zowey Linux - Networking 4 04-03-2004 03:17 PM
how do i use my linux machine to be a gateway for a windows machine? Sanjuro Linux - Networking 2 02-09-2002 05:29 AM

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

All times are GMT -5. The time now is 02:26 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