You need to set it up with IPCHAIN. Since 192.168.x.x belongs to
reserved IPs, you have to activate IP masquerade to make it.
Shu
"Trenton D. Adams" wrote:
> Can't you just set the Linux machine as the gateway on each of the machines
> you are using? This should work fine if you have the routing tables
> configured properly.
>
> For example.
> Host A on the 192.168.1.xxx network should have it's gateway set to the
> Linux machine which might be 192.168.1.1
> Host B on the other network should have it's gateway set to the same Linux
> machine which might be 10.0.0.1
>
> Assuming that IP Forwarding is infact turned on, this should work just fine.
> You should check the file /etc/sysconfig/network. There should be a line
> like this, FORWARD_IPV4="yes". Make sure it infact says "yes", and not
> "no"!
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Hicham Mouline
> > Sent: July 22, 1999 8:06 PM
> > To: [EMAIL PROTECTED]
> > Subject: Forwarding 192.168.1
> >
> >
> >
> > Hi,
> >
> > I have one host with 2 interfaces (one on a 192.168.1.0 network and
> > another one on a normal IP address network).
> > Forwarding is activated as the value in /proc/sys/net/ip_forward is 1.
> > The routes are properly configured as I can ping machines on both sides.
> >
> > But this host won't forward packets from 192.168.1.0 to the other
> > network, because the 1st network
> > is for reserved use as stated in some RFC.
> >
> > Is there any compilation option to allow to forward those packets
> > anyways?
> >
> > PS: Please CC to me as I haven't subscribed to the list.
> >
> > --
> > Hicham Mouline
> > ManDrapeau Pte Ltd
> > 69 Tras Street, Singapore 079008
> > [EMAIL PROTECTED]
> >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-net" in
> > the body of a message to [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]