>-- 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 I enclose a reply I received from Eric (Bering Crew) about the same thing..
<-SNIP-:> The routes to the devices you have declared are set automatically by shorewall, for extra routes you can add after each interface up followed by the iproute command . I give an example to add route 192.168.3.0/24 and an extra address 192.168.3.245 to eth2 edit interfaces (----) auto eth2 iface eth2 inet static address 192.168.2.254 masklen 24 broadcast 192.168.2.255 # untill hear "normal setup the following commands are executed # as device comes up up ip addr add 192.168.3.245 dev eth2 up ip route add 192.168.3.0/24 dev eth2 (----) backup etc . <-SNIP-:> Hope this helps Paul ------------------------------------------------------- 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