ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@psv.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Два IP на одной карте.
Date: Wed, 24 Dec 2003 13:51:26 +0200
Message-ID: <3FE97DBE.9050504@psv.com.ua> (raw)
In-Reply-To: <005f01c3c9ed$03f2c5e0$8c001b0a@W2000SLAVIK>

Славик пишет:

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

cat /etc/rc.d/rc.local

#!/bin/sh
ip addr add 192.168.100.101/24 brd + dev eth0
где 192.168.100.101/24 еще один адрес.

Слава Д.



      parent reply	other threads:[~2003-12-24 11:51 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
2003-12-24 11:51 ` Slava Dubrovskiy [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=3FE97DBE.9050504@psv.com.ua \
    --to=slava@psv.com.ua \
    --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