[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: routage statique sous debian



On Tue, Jun 22, 2010 at 10:34:40AM +0000,
 Tahar BEN ACHOUR <tahar_ba@yahoo.fr> wrote 
 a message of 18 lines which said:

> >> up route add -net 193.95.92.0 netmask 255.255.255.0 gw 
> >> 193.95.93.1
> >> up route add default gw 193.95.93.1 

> Comment configurer /etc/network/if-pre-up.d ?  je mets un fichier
> texte avec ma route dedans ?

Ah non, ce sont des scripts shell donc, par exemple :

% cat /etc/network/if-pre-up.d/ma-route.sh
#!/bin/sh

route add default gw 193.95.93.1 


Reply to: