From: Viacheslav Dubrovskyi <slava@tangramltd.com>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Сменить маску сети на интерфейсе.
Date: Tue, 20 Nov 2012 19:53:43 +0200
Message-ID: <50ABC3A7.8080809@tangramltd.com> (raw)
In-Reply-To: <CAA8E9_s1exLRumaJkrxW_ivwJ5PrKtjgTUKx=1=77oGLrUAXWg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
20.11.2012 19:23, Yuri Khachaturyan пишет:
>
> Добрый вечер!
>
> Как можно сменить маску на сетевом интерфейсе, при этом не
> останавливая работу сети?
>
> Без service network restart / ifdown-ifup
>
> Работа только в консоли, NM не пользуюсь.
>
Добавить IP с новой маской,
ip a add IP/mask dev eth0
старый удалить
ip a del IP/mask_old dev eth0
--
WBR,
Viacheslav Dubrovskyi
[-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --]
[-- Type: application/pkcs7-signature, Size: 3746 bytes --]
next parent reply other threads:[~2012-11-20 17:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-20 17:53 ` Viacheslav Dubrovskyi [this message]
2012-11-20 18:10 ` Sergey
2012-11-20 19:30 ` Sergey
2012-11-20 19:41 ` Sergey
2012-11-21 6:22 ` Sergey
2012-11-20 17:55 ` Chesnokov Vasiliy
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=50ABC3A7.8080809@tangramltd.com \
--to=slava@tangramltd.com \
--cc=sysadmins@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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git