Package: ifupdown-extra
Version: 0.12
Priority: wishlist

Claus Fischer commented on Bug#368228:

On Thu, Dec 27, 2007 at 07:18:30PM +0100, Javier Fernández-Sanguino Peña wrote:
: On Thu, Dec 27, 2007 at 06:59:59PM +0100, Claus Fischer wrote:
: > SuSE once had a script /etc/routes which was ideal for that kind
: > of setup. I've missed it badly on Debian.
: 
: <shameless plug>
: Please do try the ifupdown-extra package. It's not very well document but the 
: /etc/network/if-up.d/20static-routes should be self-explanatory.
: 
: It add other nicities to the behaviour of ifupdown. Please read the package
: description for more information.
: </shameless plug>
: 
: It might still be rough on the edges, specially on the documentation side,
: however.


Thanks for the nice package.
I'd say it goes a long way but isn't fully there yet
(for my particular needs).

Good parts:
 - sid package installs on etch (I like that)
 - routes in separate config file, in the right place
   that's good

Work needed:
 - reject routes
   those are not interface bound but sometimes necessary:
      10.0.0.0 255.0.0.0 reject
   ('reject' replaces gateway and interface)
 - routes w/o interfaces specified
   should be applied after all bootup interfaces ('auto')
   have been started

I don't know if static routes other than reject routes
can only be added if the proper interface is present;
it would seem that way but anyway it shouldn't be
necessary.


In the case of a laptop or another machine with many dynamic
interfaces binding the routes to the interfaces is a good thing.

OTOH for a static dedicated router machine with e.g. three
network cards and 12-15 static routes, adding the interface
to the route entry is unwelcome since another machine might
be put in place, with different numbering of network cards,
but it should keep the static routing table.


Regards,

Claus
------------------------------------------------------------------

This is a reminder that it would be nice to have a init.d script
(networking-extra?) to add these kind of routes using the same file
(/etc/network/routes) but with the special interfaces 'reject' or
'any' (or 'all')


Javier

Attachment: signature.asc
Description: Digital signature

Reply via email to