Add the rules to the "Started" section in Shorewall
e.g. router 1:
ip route flush 192.168.22.0/24
ip route add 192.168.22.0/24 via 192.168.23.253 dev eth0

Gordon

Boris wrote:
> Hej all,
> 
> 
> I'm hopeful to get a tip concerning my routing problem:
> 
> My Workstation is in net 192.168.23.0. This net is connected to internet
> and dmz (192.168.24.0) by a leaf-bering-hglibc-box called router 1
> (192.168.23.253) which also is dhcp and dns server for my workstation.
> Now I added another router (router 2, 192.168.23.253) which is not dhcp
> and dns server for my workstation but also has connection to internet
> and another dmz (192.168.22.0).
> After rebooting, my PC doesn't know a route to the second dmz. Also dmz
> 1 does not 'see' dmz 2. So, the question is how to handle? In the
> meantime, I use for local purpose
> 
> route add -net 192.168.22.0 netmask 255.255.255.0 gateway 192.168.23.254
> ..
> I'd like this route to be configured automatically on my PC and on
> router 1 (and router 2 reverse).
> 
> Thanks a lot!
> 
> Boris
> 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to