ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Grigory Batalov <bga-no-spam@kovgok.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Два IP на одной карте.
Date: Wed, 24 Dec 2003 10:35:32 +0300
Message-ID: <20031224103532.75e775aa.bga-no-spam@kovgok.ru> (raw)
In-Reply-To: <005f01c3c9ed$03f2c5e0$8c001b0a@W2000SLAVIK>

On Wed, 24 Dec 2003 17:10:30 +1000
Славик <slavik99@fss-dv.khv.ru> wrote:

> Я конечно извиняюсь, но напишите по шагам,как 
> поднять 2 IP на одной карте?
> 
> ( А то везде куски какие-то, типа " создайте alias eth0:0
> и назовие его net, потом через ifconfig прицепите ip и т.д.)
> 
> 1. Как создать alias на карту
> 2. как прописать второй ip чтобы он остался после перезагрузки.

$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=xx.xx.187.114
NETMASK=255.255.255.248
NETWORK=xx.xx.187.112
BROADCAST=xx.xx.187.119
ONBOOT=yes

$ cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0
BOOTPROTO=static
IPADDR=172.16.0.38
NETMASK=255.255.0.0
NETWORK=172.16.0.0
BROADCAST=172.16.255.255
ONBOOT=yes

-- 
Григорий Баталов,
группа техподдержки
ОАО "Ковдорский ГОК"


  parent reply	other threads:[~2003-12-24  7:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-24  7:27 ` Дмитрий Беляев
2003-12-24  7:35 ` Grigory Batalov [this message]
2003-12-24 11:51 ` Slava Dubrovskiy

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=20031224103532.75e775aa.bga-no-spam@kovgok.ru \
    --to=bga-no-spam@kovgok.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