it is very easy to configure your linux box as router
u should user ipchains
only one rule of ipchain will full fiii ur requirement
here in your case the ipchain rule should as follow
ipchains -A forward -s 192.168.1.0/24 -j MASQ
after doing this u should also enable ipv4 forwarding from
/proc/sys/net/ipv4/ip_forward
thats alll
Nilesh Barot
----- Original Message -----
From: S.R.DAS <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 29, 2000 2:35 PM
Subject: [LIH] Routing in RH6.2
> Hello Everybody
>
> I am new user to Linux help group.
> I have installed Rh 6.2 in my office.
> I want ihos linux box should act like a
> router.Two lan cards.One card will be
> 192.168.0.0 segment.In other card
> will be 202.141.0.0 segment.In 192.168.0.0
> pcakets will receive & 202.141.0.0 packets
> will be forwarded.Pl. help me How to
> configure.
> Waiting for your reply
> Souri Ranjan
> Bhubaneswar
>
> ----------------------------------------------
> LIH is all for free speech. But it was created
> for a purpose. Violations of the rules of
> this list will result in stern action.
>
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH