Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-24-2004, 02:45 PM   #1
LQ Newbie
Registered: Mar 2004
Location: USA
Posts: 18

Rep: Reputation: 0
Thumbs up Router setup on redhat linux 9.0 problem


I am new to linux. I want to setup a router on linux PC with following config:

GW-------SW-------------[eth0 linux box with redhat 9.0 eth1]--------client pc

Eth0: with network

Eth1: with network

Client PC:

I want to route any type of traffic between eth0 and eth1. What do I need to do?

What is the basic config for router setup?

At present I am able to ping from linux box towards both sides but not from client pc to GW.

Here is “route” command output: UG 0 0 0 eth1 * U 0 0 0 eth1 UG 0 0 0 eth0 * U 0 0 0 eth0 * U 0 0 0 eht1 * U 0 0 0 l0
default UG 0 0 0 eth0


I have enabled IP-forwarding using
< echo "1" > /proc/sys/net/ipv4/ip_forward >

And FORWARD_IPV4=yes in sysctl.conf file.

Please let me know where the things going wrong?



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
trying to setup linux as router for laptop spooge Linux - Networking 5 09-01-2004 11:37 PM
how to setup router on linux as a open firewall thirumala Linux - Networking 8 04-10-2004 06:38 PM
setup linux firewall/router sub_netter Linux - Networking 4 08-15-2003 07:18 AM
Load Balancing Linux Router Setup remigus Linux - Networking 2 12-02-2002 10:28 PM
Linux Router, setup???? francisjk Linux - Networking 4 08-08-2002 07:59 PM

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration