ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: community@altlinux.ru
Subject: Re: [Comm] смена IP адреса, шлюза и сети?
Date: Fri, 15 Aug 2003 17:42:43 +0400
Message-ID: <20030815134243.GA2939@inferno.immo> (raw)
In-Reply-To: <20030815163001.55d400bc.grisxa@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

* Grigory Batalov <grisxa@mail.ru> [030815 16:51]:
> > есть машина с двумя интерфейсами, один внутрь, другой в мир.
> > на интерфейсе который смотрит в мир, мне надо поменять адрес
> > машины, шлюза и сети. Как лучше это сделать?
>   Допустим, это eth0. Тогда можно так:
> $ sudo vim /etc/sysconfig/network-scripts/ifcfg-eth0
$ sudo vim /etc/sysconfig/network  --  шлюз по умолчанию
> $ sudo ifdown eth0
> $ sudo ifup eth0
Только тут есть один момент - если мы зашли через eth0?
Теоретически такое возможно.

$ sudo /sbin/service network restart

Работает, проверено лично мной ;-)

-- 
Regards, Sir Raorn.
-------------------
> Если вставить в спек пустую секцию %clean, то указанная очистка будет
> происходить?
Да, только, пожалуйста, не делайте этого.
		-- ldv in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2003-08-15 13:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-15 12:17 unix9
2003-08-15 12:30 ` Grigory Batalov
2003-08-15 13:42   ` Alexey I. Froloff [this message]

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=20030815134243.GA2939@inferno.immo \
    --to=raorn@immo.ru \
    --cc=community@altlinux.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

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