LinuxQuestions.org
Help answer threads with 0 replies.
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 08-01-2003, 04:18 AM   #1
pinkmasta
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: 0
NAT on Red hat 9.


hey guys , i posted a question few days ago .
anyhow i found a wicked guide h[ttp://anyweb.kicks-ass.net/linux/tips/tip1.html .

that i followed , but it still aint working
did all the stuff written in that guide but.. the sharing comp became a router for sure.. cuz i can ping my modem from the other computer.

here is the story:
-----------------------

2 comps.
Computer1 - sharing the net
Computer2 - gettin' it. [ suppoze to anyways]
ADSL Modem

computer 1 got 2 nics
External - 10.200.1.1 [that get's the net with a VPN connection]
internetl - 192.168.0.1

and a modem - 10.0.0.138

computer 2 :
----------------
1 nic
192.168.0.2
gw:192.168.0.1
dns:10.200.1.1

and nothing , but computer 2 can ping the modem 10.0.0.138

so it did became a router
but still nothing.
any suggestions.?
 
Old 08-01-2003, 04:31 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
can you ping the other side of the router? have you enabled MASQuerading using iptables?
 
Old 08-01-2003, 09:10 AM   #3
pinkmasta
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: 0
donno what u mean m8
 
Old 08-01-2003, 09:22 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
the router too has 2 interfaces - one that connects to your local network via tht linux machine and one that connects to the internet.

Can you ping the internet interface on the router?
 
Old 08-01-2003, 11:41 AM   #5
pinkmasta
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: 0
yeha
i can.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 05:19 AM
Setting up NAT/DHCP/Router/Firewall on Red Hat wingphil Red Hat 1 01-29-2004 07:34 AM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 06:33 PM
Red Hat Enterprise vs. Red Hat Linux Project RedHatMN Linux - Distributions 2 07-29-2003 04:16 AM
Red Hat 7.2... & a modem with Red Hat 7.1 driver support rahduku Linux - Distributions 1 02-14-2002 11:49 AM

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

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