Hi Troy, Just share my experience on adding static routes to my bering box, i usually add those kind of rows on the last row of /etc/init.d/bootmisc.sh. Just add these lines on /etc/init.d/bootmisc.sh, and don't forget to back-up your etc:
ip route add 192.168.140.0/24 via 192.168.147.3 ip route add 192.168.144.0/24 via 192.168.147.2 ip route add 192.168.145.0/24 via 192.168.147.2 ip route add 192.168.146.0/24 via 192.168.147.2 Maybe others know the better place. hari-huhui On Wed, 31 Jul 2002 08:05:42 -0600 Troy Aden <[EMAIL PROTECTED]> wrote: > Thanks for the link Kim. And thanks to all of you who > replied to my post. I > love the is list. It was helpful but I guess I was not > entirely clear on > what I need to know. Here is the situation. > I have a router that was built with Dachstein. I am > wanting to upgrade it to > Bering. The routes that were added to the Dachstein disro > were added to the > /etc/init.d/network They read as follows: > IP ROUTE ADD 192.168.140.0/24 via 192.168.147.3 > IP ROUTE ADD 192.168.144.0/24 via 192.168.147.2 > IP ROUTE ADD 192.168.145.0/24 via 192.168.147.2 > IP ROUTE ADD 192.168.146.0/24 via 192.168.147.2 > > What I need to know is where would I insert these into > the Bering disro? I > have seen examples that start the command with an "up" > option. But then they > say that I have to create a script in the map and then do > a chmod on it to > make it executable? There has got to be an easier way. > Since these routes do > NOT include the "dev" option they are automatically > applied to the first > interface (eth0) right? > > Thanks in advance. > > Troy > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 31, 2002 12:21 AM > To: Troy Aden; Leaf-User (E-mail) > Subject: RE: [leaf-user] HOW TO ADD STATIC ROUTES TO > BERING.. > > http://leaf.sourceforge.net/devel/ericw/ip-syntax.php > > This should help you figure it out. > If you need more help just give a yell. > > Kim Oppalfens > > >-- Original Message -- > >From: Troy Aden <[EMAIL PROTECTED]> > >To: "Leaf-User (E-mail)" > <[EMAIL PROTECTED]> > >Subject: [leaf-user] HOW TO ADD STATIC ROUTES TO > BERING.. > >Date: Tue, 30 Jul 2002 21:10:27 -0600 > > > > > >I done a fair amount of digging and I can't find any > documentation on haw > >to > >add static routes to Bering. Can anyone tell me how to > do it or point me > >to > >the documentation. I am trying to add 4 static routes. > > > >Thanks in advance. > > > > Troy > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by: Dice - The leading > online job board > >for high-tech professionals. Search and apply for tech > jobs today! > >http://seeker.dice.com/seeker.epl?rel_code=31 > >------------------------------------------------------------------------ > >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 > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading > online job board > for high-tech professionals. Search and apply for tech > jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > ------------------------------------------------------------------------ > 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 --------------------- Yang Mudah dan Menghibur ---------------------------- Hosting menjadi mudah dan murah hanya di PlasaCom. Klik http://idc.plasa.com F1 Mania!! Ikuti F1 Game di Obelix Game Corner di http://www.plasa.com/infotel/f1.html --------------------------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 ------------------------------------------------------------------------ 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