LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-17-2012, 05:26 AM   #1
shinu051
LQ Newbie
 
Registered: May 2012
Posts: 5

Rep: Reputation: Disabled
Wink not able to share internet in Redhat Enterprise Linux 5 Server.anybody please help me


i have redhat enterprise linux5 server with many client PCs ..the clients include windows 7.How to share internet from the redhat linux server.it was urgent if u know ..pls help me.
 
Old 05-17-2012, 05:37 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,413

Rep: Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540
"Share Internet" is a bit vague, you give no indication of your network topology with regard to how your network connects to the outside world.

What exactly are you trying to do?
 
Old 05-17-2012, 11:24 PM   #3
shinu051
LQ Newbie
 
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
hai TenTenths....i will tell in detail

1) my network is Ethernet with 100Mbps speed
2) i have an a modem with broadband connection...(with a static IP)
3)i have taken internet in Redhat 5 Linux machine, which I plan to make the server.
4) this server is connected with a switch.
5) the same switch has other clients, which include windows as well as linux computers.all are in WORKGROUP.

my doubt is that how to share internet from the Redhat Enterprise Linux 5.0 machine...just like we do ICS or NAT in Windows computer.

pls replay fast
 
Old 05-18-2012, 12:43 AM   #4
lonelyman
Member
 
Registered: May 2012
Location: Shanghai
Distribution: redhat,centos,fedora
Posts: 63
Blog Entries: 4

Rep: Reputation: Disabled
just do a SNAT iptables rule ! the SNAT is just propper suit!
 
Old 05-18-2012, 12:56 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
Here is one example howto:

http://www.cyberciti.biz/faq/rhel-fe...sharing-howto/

You didn't indicate what type of server you are going to set up. If it offers services on the internet, its best to have it in a DMZ zone.

The rhel host will be the default gateway. You either need to configure a DHCP server (maybe on the RHEL server) or manually configure the LAN hosts with the value of the RHEL's LAN side IP address.
 
1 members found this post helpful.
Old 05-21-2012, 03:12 AM   #6
shinu051
LQ Newbie
 
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
thank you so much......

dear friend I have another doubt.Is the Linux server is capable of providing IP to clients without setting static IP on them, just like what Windows ICS do? (without setting DHCP server in RHEL?)
 
Old 05-26-2012, 03:07 AM   #7
shinu051
LQ Newbie
 
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
anybody please answer my question
 
Old 05-29-2012, 08:57 AM   #8
stillnick
LQ Newbie
 
Registered: May 2012
Location: Porto Alegre
Distribution: Redhat
Posts: 1

Rep: Reputation: Disabled
Hi Shinu051.
A Linux machine is capable of almost everything. Nearly yesterday I saw a news about robots been delivered with a built in Linux OS. Pretty cool hum?

OK, Let's go to your question: Can u deliver Dynamic IPs? Yes

There is a service(package) called DHCPD, that is responsible for assign IP to clients configured to dynamic IP.
Depending on your distro, it can be very easy to install it.

REDHAT alike(rpm packages): "yum install dhcpd"

DEBIAN alike(apt packages): "apt-get install dhcp3-server"


After you install the package, go and edit the file "/etc/dhcpd.conf"(redhat) or "/etc/dhcp3/dhcpd.conf(debian)" to suit your needs.

Hope it helps you.
 
Old 05-30-2012, 01:32 AM   #9
shinu051
LQ Newbie
 
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
thanks........
 
  


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 make my internet setting in redhat enterprise linux 3 ahtesham0123 Linux - Software 2 03-21-2010 12:34 PM
Share dial-up usb modem internet connection between Redhat linux varunkant Linux - Networking 5 10-26-2008 07:33 AM
TFTP server in Redhat Linux enterprise Server 5 dominiclajs Linux - Newbie 1 05-30-2008 04:03 AM
RedHat Enterprise Linux 5.0 and SUSE Linux Enterprise Server 10 available in French?? FrenchQAtestengineer Linux - Newbie 1 02-21-2008 11:26 AM
share internet whit redhat 9 as server little_ball Linux - Networking 1 03-28-2004 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:27 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
Open Source Consulting | Domain Registration