LinuxQuestions.org
Register a domain and help support LQ
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-03-2009, 03:59 AM   #1
shaqa
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Rep: Reputation: 0
Question RedHat Linux 9 as a internal Router


Dear All,

I have a problem from last four days, is there any one to help me to solve this problem.

I have to different network address scheme

1. 192.168.0.0/24
2. 192.168.1.0/24

I want to use redhat 9 to act as a router for these two network.
Following are steps which I have done.

1. installed 2 NICs
2. one ip is 192.168.1.1 netmask 255.255.255.0
3. seconds ip is 192.168.0.1 netmask 255.255.255.0
4. enabled ip forwarding. echo "1" > /proc/sys/net/ipv4/ip_forward.

client machines form both networks can ping both ips of this router but

it can not access any other computer on other network.

I need all traffic should route with its real ip. I mean dont want to configure nat (masquarding).

----end----
 
Old 02-03-2009, 04:19 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
which are the IPs of the client hosts (for both sides of the router)?
which is routing table in the client hosts?
 
Old 02-09-2009, 11:03 PM   #3
shaqa
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Original Poster
Rep: Reputation: 0
One side === 192.168.0.1 - 192.168.0.255

other side === 192.168.1.1 - 192.168.1.255
 
  


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
pinging linksys router from Linux box to internal network not working illscience Linux - Networking 10 07-10-2008 08:18 AM
How to install the internal modem in Linux RedHat Ent. 4 ver rr_rr_29 Linux - Hardware 1 03-29-2006 10:16 AM
conexant v.92 internal modem not detecting in redhat linux 9.0 supersac Linux - Newbie 9 11-30-2004 01:04 PM
Redhat linux 9 doesn't detect My sm56 internal modem mooppils Red Hat 1 11-10-2004 10:16 PM
HELP, A Internal Netowrk through a ROUTER (setting up linux to see the net) MaaDcow Linux - Newbie 0 08-06-2002 09:55 PM


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