[sisyphus] static-routers

Andriy Dobrovol's'kii =?iso-8859-1?q?dobr_=CE=C1_iop=2Ekiev=2Eua?=
Пт Июл 11 18:31:27 MSD 2003


Hi,
Может кто-нибудь истолковать это место в документации?
/etc/sysconfig/static-routes: 
 

Contains lines of the form: 
 


<device> host|net <arguments to route command> 
 


<device> may be a device name to have the route brought up and 

down with the device, or "any" to have the correct devices 
calculated
at run time. 


For example: 


eth0 host 192.168.2.2 eth0 


adds a host route through eth0 to 192.168.2.2, while 

 

any net 192.168.2.0 netmask 255.255.255.0 ppp0 


  adds a network route to the 192.168.2.0 network through ppp0.

Никак не могу получить рабочий экземпляр файла.
А нужно очень. :(
строки вида
eth0 net x.y.z.q netmask 255.255.255.c dev eth0
подсеть не добавляют.
Ручками маршруті работают по командам
route add -net x.y.z.q netmask 255.255.255.c gw x.y.z.N
Как это отранслировать на нужный файл?
Так
-net x.y.z.q netmask 255.255.255.c gw x.y.z.N
?
-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   265-7824            Department of Gas Electronics
Fax:   (380-44)   265-2329             Institute of Physics of NASU
*********************************************************************




Подробная информация о списке рассылки Sisyphus