LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-04-2003, 03:38 PM   #1
TRBentley
LQ Newbie
 
Registered: May 2001
Location: UK
Distribution: RedHat 8.0
Posts: 14

Rep: Reputation: 0
Question Light weight Routing


I have a Win98 box duel booted with RG8.0 running on IP 192.168.0.1 and I have a RH8.0 server on 192.168.0.2. I also have a dial up modem runing on the duel boot box. This can run from either windows or linux. What I would like to be able to do is see the internet from the server so that I can run Squid and fetchmail. In the default mode I am unable to ping the web from the server.

I think this is a routing problem but am not sure.

The firewalls are not active yet so this is not the problem


Any ideas please?
 
Old 02-06-2003, 03:03 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
TRBentley,

I'm confused... You mention two boxes 192.168.0.1 & 192.168.0.2. Then you say about a (another?) dual boot box with a modem. Thats cool three boxes... Then you say "...see the internet from the server..." but which box is the server? I take it that its not the machine with the modem? Some more info please!

If you are trying to share a modem connection then you want to look at http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html. If you are going to run Squid and fetchmail then I assume you are doing to do this on the machine with the modem anyway, is this correct or am I misunderstanding?

cheers

Jamie...
 
Old 02-06-2003, 04:52 AM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
in RH you need to add masquerading to your ip tables
or use internet connection sharing in windoze and you should be able to access internet without problems
in RH8 type something like that
iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE
good luck
 
  


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
Light weight word processor satimis DamnSmallLinux 4 08-31-2005 01:46 PM
Light weight word processing package satimis Linux - Software 4 08-30-2005 02:30 AM
lightest weight virtual terminal monohouse Linux - Software 3 03-05-2005 05:28 AM
Lite weight RDBMS Surejg Linux - Newbie 5 12-24-2004 03:30 AM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM


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