LinuxQuestions.org
Review your favorite Linux distribution.
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 02-28-2010, 08:37 AM   #1
feedmebits
LQ Newbie
 
Registered: Feb 2010
Distribution: SL
Posts: 14

Rep: Reputation: 0
newbie linux/problem sharing internet connection/server-clients


Hey I'm new to linux and started with CentOS. I've been able to make my server connect to my clients but not able to share the internet connection. I've been searching around but haven't come across an answer yet. Hoping someone here will point me in the right directiong. Nice to meet you.

I have the following setup running. I'm trying to make an internet connection go through my server but haven't been able to get it to work.



Vmware Server
CentOS Server(with DHCP server running)
network card(bridged with host)1 192.168.1.23,255.255.255.0; internet connection
network card(NAT)2 10.0.0.1, 255.255.255.0, gateway: 192.168.1.23; no internet connection

Virtual Clients
Windows XP: receiving ip adress:10.0.0.x; no internet connection
Windows Vista: receiving ip adress:10.0.0.x; no internet connection
 
Old 02-28-2010, 02:50 PM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,094
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
did you turn on ip forwarding?

echo 1 > /proc/sys/net/ipv4/ip_forward

it can usually be turned on permanently in the sysctl configuration file
 
Old 02-28-2010, 04:12 PM   #3
feedmebits
LQ Newbie
 
Registered: Feb 2010
Distribution: SL
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by estabroo View Post
did you turn on ip forwarding?

echo 1 > /proc/sys/net/ipv4/ip_forward

it can usually be turned on permanently in the sysctl configuration file
I'll try that

I also found this, sounds like this is what you are talking about for doing it permanently.

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


Reply

Tags
connection, internet, server, sharing


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
Need help for internet connection sharing and samba server bizarr Linux - Networking 1 02-28-2009 12:30 PM
trying to setup linux firewal/dhcp server but its not sharing the internet connection abefroman Linux - Networking 4 05-01-2005 04:39 AM
How Can I Make Internet Connection Sharing Server With RedHat Linux 7.3? SurfTurtle Linux - Networking 6 10-20-2002 01:01 AM
Sharing my Internet Connection to W2K Server dwynter Linux - Networking 6 06-24-2002 07:51 AM
Sharing an internet connection with a Linux client through a 2000 server gateway thuan Linux - Networking 1 08-02-2001 01:55 PM


All times are GMT -5. The time now is 09:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration