[Comm] формат /etc/sysconfig/static-routes

Roman V. Tutov =?iso-8859-1?q?tutov_=CE=C1_aston=2Eru?=
Пт Авг 31 10:14:18 MSD 2007


Dmitry Lebkov пишет:

т.е в моем случае все очень просто ?
any host 192.168.161.46 gw 192.168.162.17

> 
> /usr/share/doc/initscripts-x.xx.x/sysconfig.txt:
> -----
> /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.
> -----
> 
> 


-- 
Тутов Роман Викторович
ст.Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov на jabber.aston.ru
mailto:tutov на aston.ru



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