configuring redhat 9 as a router between 2 networks

Vipul Ramani linux2000in at gmail.com
Fri Sep 3 10:26:48 UTC 2004


HI,
it is required static route like
you have to give command like this.
/sbin/route add -net DESTI_NETWORK netmask DESTI_NETMASK gw 172.16.3.4 

or 
u do masqurade 
/sbin/ipchains forward -P MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward 

and try to check it....
it will start ping...also.



On Thu, 02 Sep 2004 22:00:26 -0500, Steve Cowles <steve at stevecowles.com> wrote:
> On Stardate 6609.08, menonrr at adelphia.net wrote:
> >
> > I am a fairly new Lunux user and to the redhat website.
> >
> > I could not find a way to append additional details to my
> > earlier meesage. Hence I am reproducing the entire problem.
> >
> > I am trying to setup a test netork as follows:
> >
> > 172.16.4.0 ---> | eth0_inside (172.16.4.2)-- Redhat 9 Box
> > -- eth1_toRouter (172.16.3.10)| ---> router (172.16.3.4)
> >
> > eth0_inside IP is 172.16.4.2. The default gateway has the
> > eth1_toRouter's IP 172.16.3.10.
> >
> > eth1_toRouter IP is 172.16.3.10 and its default gateway is the
> > router's IP 172.16.3.4.
> >
> > I edited the sysctl.conf file in /etc to put a value of '1' to
> > net.ipv4.ip_forward. I rebooted the machine.
> >
> > Result:
> >
> > I can ping both interfaces, the router, and the inside hosts
> > from the linux box.
> >
> > The hosts can ping only up to eth1_toRouter (172.16.3.10). Not
> > beyond that.
> >
> > Your help would be greatly appreciated.
> >
> 
> Does the router at 172.16.3.4 have a static route that defines the
> return path for packets destined for network 172.16.4.0/24 ? i.e. From
> the router at 172.16.3.4, network 172.16.4.0/24 can be reached through
> 172.16.3.10.
> 
> Steve Cowles
> 
> 
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
Vipul Ramani
linux2000in at gmail.com
linux2000in at yahoo.com
~~~~~We Know HOW NetWorkS ~~~~~





More information about the redhat-list mailing list