LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-25-2003, 11:50 AM   #1
tweselak
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 9
Posts: 4

Rep: Reputation: 0
Rh 9 networrk config (internet sharing)




I just installed RH9, with good success (barring the incident of water and the hard drive!) I would like to set it up to be a file serv/web serv/router(internet sharing). But for now I'd just like to get the router up and going.

I have installed 2 NICs (eth0,eth1), and configured PPPoE(dynamicIP) over eth0 successfully. I have my WinXP machine connected to eth1. I have set eth1 to an IP of 192.168.0.2 and can ping it from XP. I think I have setup XP to be 192.168.0.3, but cannot ping it.

So far much of the resources on the net are a bit over my head, so is there a simple way to accomplish this? I found one resource that said I can just use routing, but didn't say how....

Thanks in advance.

Last edited by tweselak; 07-25-2003 at 11:51 AM.
 
Old 07-25-2003, 03:34 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
The IP for your windowsXP system should be 192.168.0.2


Internet Sharing
This thread contains information on how to configure IP forwarding and Masquerading. Refer to my posts.
http://www.linuxquestions.org/questi...712#post381712


File Server
You will need to configure Samba.
Some GUI tools like SWAT and WebMin are available.

Samba documentation and HowTOs
http://www.samba.org/

The Unofficial Samba HOWTO
http://hr.uoregon.edu/davidrl/samba/


Web Server
You will need to configure Apache.
Some GUI tools like WebMin are available.

Apache 1.3
http://httpd.apache.org/docs/

Apache 2.0
http://httpd.apache.org/docs-2.0/
 
Old 07-25-2003, 04:08 PM   #3
js_530
Member
 
Registered: Jul 2003
Posts: 162

Rep: Reputation: Disabled
Unless you don't want to have a domain, you need to learn bind, unless your hosting a webpage between the two computers but..... There's also a package on RH9 for ftp, which isn't too hard to configure, especially if you aren't going to have multiple users.
 
Old 07-25-2003, 04:15 PM   #4
tweselak
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 9
Posts: 4

Original Poster
Rep: Reputation: 0
I've got the net sharing working very well!
Thanks to http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html

I still don't understand completely how, but it works.

for some reason I can't ping localhost.localdomain though.
 
Old 07-25-2003, 04:24 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If you want to ping localhost.localdomain from your windowsXP system, you will have to setup a local DNS.
 
  


Reply



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



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

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