Saratov Linux User Group
 help / color / mirror / Atom feed
From: Sicness <sicness@darklogic.ru>
To: Sarlug@lists.lug.ru
Subject: [Sarlug] Авто статический маршрут при статическом IP
Date: Thu, 5 Apr 2012 12:58:43 +0400
Message-ID: <CACREa6DOFrJ4pXto7GSKzSgW6fzvsPNNTCy8JpBuby99tDy_ig@mail.gmail.com> (raw)

Здравствуйте, Сообщество.
Вопрос:
В /etc/network/interfaces статически прописан IP, netmask, gateway.
Для полноты картины нужно прописывать еще статический маршрут. Пока
сделал костыль: скрипт добавления маршрута в /etc/rc.local. При
перезагрузке работает, а после /etc/init.d/networking restart само
собой нет. Как сделать правильно, что бы при перезапуске сети
прописывался дополнительный статический маршрут?

За ранее спасибо.

             reply	other threads:[~2012-04-05  8:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05  8:58 Sicness [this message]
2012-04-05  9:03 ` Яков Попов
2012-04-05  9:03 ` Dmitry Agafonov
2012-04-05  9:05 ` Dmitry Agafonov
2012-04-05  9:09 ` Aleksei Sinitsyn
2012-04-06  4:06       ` Sicness

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=CACREa6DOFrJ4pXto7GSKzSgW6fzvsPNNTCy8JpBuby99tDy_ig@mail.gmail.com \
    --to=sicness@darklogic.ru \
    --cc=Sarlug@lists.lug.ru \
    /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

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

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


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