Hi Corey,

Thanks for putting me on the right track with the Debian documentation.

Your example won't work with the current Bering distro though as the
route command is not included. Using the iproute syntax though worked
for me.

up ip route add 192.168.52.0/24 via 172.22.255.231
down ip route del 192.168.52.0/24 via 172.22.255.231


Dave

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Corey
Betka
Sent: Thursday, April 05, 2007 7:29 PM
To: leaf-user@lists.sourceforge.net
Subject: Re: [leaf-user] Bering uClibc - Adding static routes to local
Shorewall zone

On Thu, 5 Apr 2007, Dillabough, Dave wrote:

>
> Is there any documentation for more complex Bering configurations?
>
>

Bering essentially uses Debian style network configs, so the docs from
them are quite helpful:

http://www.debian.org/doc/manuals/reference/ch-gateway.en.html

For example:
 iface eth0 inet static
             address 192.168.0.111
             netmask 255.255.255.0
             gateway 192.168.0.1
             up route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.2
dev $IFACE
             down route del -net 10.0.0.0 netmask 255.0.0.0 gw
192.168.0.2 dev $IFACE

-- 
Corey Betka


------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------
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