Re: Help with routing


Subject: Re: Help with routing
From: John Duarte (john@keylitho.com)
Date: Fri Apr 06 2001 - 11:17:01 MDT


Thanks to everyone for their help.
I got everything working by inserting a MASQ rule for both networks before
the ACCEPT:

ipchains -I forward -p all -b -s 192.168.1.0/24 -d 128.129.110.0/24 -j MASQ

I can now ping ok, with one exception. I can't ping the routers 128.* card
from the 192.*
network, but I can ping the routers 192.* card from the 128.* network. I
just mention
it as an FYI.

Thanks again. My next problem will come under a seperate email

snip
>Add another chain but reverse the -s and -d addresses, that might be the
>issue.
>
>SR

The -b switch takes care of that automatically, as I learned after reading
the HOWTO. ;-)

>> I added the ipchain provided. I can now ping the 128.129.110.253 from a
>> workstation on the 192.168.1.0 side, but I can't ping any machines on the
>> actual 128.129.110.0 network.

>> >ipchains -A forward -p any -b -s 192.168.1.0/24 -d 128.129.110.0/24 -j
>> >ACCEPT
>> >
>> >Which is the actual forwarding Rule for the Kernel!
>> >
>> >See ya
>> >
>> >PS Hope this is what you were looking for!

---------------------------
John Duarte
Key Lithograph
2050 NW Vaughn St.
Portland, OR 97209
Ph: 503-222-9191
Fx: 503-248-9974
e-mail: john@keylitho.com
---------------------------



This archive was generated by hypermail 2a24 : Fri Apr 06 2001 - 13:14:41 MDT