ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] формат /etc/sysconfig/static-routes
Date: Fri, 31 Aug 2007 17:06:38 +1100
Message-ID: <46D7AFEE.8040603@sakhalin.ru> (raw)
In-Reply-To: <46D7AAF6.1000903@aston.ru>

Roman V. Tutov пишет:
> Мастер 2.4 нужно "зафиксировать" роутинг
> добавляю командой
> route add 192.168.161.46  gw 192.168.162.17
> после перезагрузки эффект не сохраняется.
> подскажите Plz где можно прочитать о формате
> записи в файлике /etc/sysconfig/static-routes
> 

/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.
-----


-- 
WBR, Dmitry Lebkov


  reply	other threads:[~2007-08-31  6:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31  5:45 Roman V. Tutov
2007-08-31  6:06 ` Dmitry Lebkov [this message]
2007-08-31  6:14   ` Roman V. Tutov
2007-08-31  7:13     ` Dmitry Lebkov
2007-08-31  9:33 ` ABATAPA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46D7AFEE.8040603@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git