In Franck Routier's email, 10-05-2001: > Hello, > > I want to set up the route to a new box on my LAN. > If the route is not set, the connexion is refused (I think this is an otion > in the kernel networking configuration) > > Where should I put this route ? > > From the docs I have found it should go in /etc/network/interfaces, but I > can't figure out what the syntax is... > > thanks, > > Franck
taking a quick glance at interfaces(5), the most obvious thing for you to do would be to add a 'up' command that gets executed. Then after the interface comes up you could have a short script that just calls `route` to set the correct route. If it's a dynamic IP and route this might be a little tricky though. There are other similar methods for 'down' to remove the routes.. -- Michael Janssen - Jamuraa - [EMAIL PROTECTED] - [EMAIL PROTECTED] GPG Fingerprint: 87F1 92C4 44AA 4105 B1C4 EDEC D995 9620 C00E 9159
pgpCAuuM256IS.pgp
Description: PGP signature