To be honest, this is the fastest and best way I figure out, adding it
to the INTERFACES file
U can also ad it in the /etc/network/if-up.d
iface eth1 inet static
address 10.0.0.100
masklen 24
broadcast 10.255.255.255
up ip route add x.x.x.x/xx via x.x.x.x dev eth1
Just create a script in the map, chmod it to eXecute, and it should work
also, everytime the interface is brought up..
Just my 0.02cents
-----Original Message-----
From: Homer Parker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 06:36
To: [EMAIL PROTECTED]
Subject: [leaf-user] Adding routes
I've got a Bering RC2 setup that I need to add a static route
to, but I can't figure out where to add it... I know what I need, just
not sure where is the proper place to implement... Any help
appreciated..
---
Homer Parker (The Bogus One)
http://www.homershut.net
telnet://bbs.homershut.net
This e-mail message is 100% Microsoft free!
WARNING: THIS ACCOUNT BELONGS TO A RABID
ANTI-SPAMMER NET-NAZI DOT-COMMUNIST.
/"\
\ / ASCII Ribbon Campaign
X Against HTML Mail
/ \
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html