LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2009, 04:31 AM   #1
anil.gupta
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
How share internet connection with red hat linux?


Plz anybody tell solution of my problem as soon as well
 
Old 04-04-2009, 04:34 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
you need 2 networkcards in your server
Then you need to enable masquerading.
See
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/
 
Old 04-04-2009, 04:41 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
What devices do you use? What kind of connection? If you have a high speed connection such as cable or dsl, I would recommend getting a NAT router. The NAT router will take care of the connection with your ISP, masquerade the IP addresses for computers on the LAN, (the NAT function), and provide another layer of defense. The router won't know what to do with a new incoming connection top a port it isn't configured to forward, so it will simply get dropped.

If the RH host is connected directly to the internet instead of a dedicated router, then you will need to do as repo suggested in post #2.

If this is a commercial server on the internetwork and you use a professional grade router such as a cisco router, you can configure the router to do what you want using IOS. This is true for SOHO grade routers as well.
 
  


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
No internet connection in Red Hat.... rrfish72 Linux - General 1 12-04-2004 08:12 AM
No internet connection in Red Hat rrfish72 Linux - Networking 2 11-27-2004 04:56 PM
Red Hat internet share problem ethernet4 Linux - Networking 0 08-28-2004 11:12 AM
Can't figure out how to share internet connection in Red Hat 7.3 N52 Linux - Newbie 7 06-06-2003 03:29 PM


All times are GMT -5. The time now is 08:45 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration