ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Oleg K.Artemjev <olli@rbauto.ru>
To: community@altlinux.ru
Subject: Re: [Comm] vlan24 без IP на сетевых интерфейсах
Date: Thu, 18 Sep 2003 13:45:57 +0400
Message-ID: <20030918134557.79abd959.olli@rbauto.ru> (raw)
In-Reply-To: <20030918083334.168a3dc8.dima@sakhalin.ru>

On Thu, 18 Sep 2003 08:33:34 +1100
Dmitry Lebkov <dima@sakhalin.ru> wrote:
> > > eth2 - 1Gbit Intel NIC, транк в сторону свитча (Cisco Catalyst).
> > > Странный адрес 127.0.0.2 был ему присвоен только для того, чтоб
> > > интерфейс поднимался пр старте системы. %)
> > А 0.0.0.0 не канает?
> Нет. На одной из систем кто-то из ifup-скриптов на такое руглася
> матом, а на другой - подимался роут для интерфейса, аналогичный
> default'у. А это не совсем то, чего хотелось достич.
ага.. спасибо. А то все некогда было попробовать.
 
> Хотя есть другой путь - точить ifup-скрипты на предмет игнора всех
> параметоров кроме ONBOOT, DEVICE и VLAN_TRUNK=yes|no. Последний и
> будет являться тем флагом, по которому дернется "ifconfig $DEVICE up".
> Надо будет заняться на досуге ... %)
Я аналогичный Вашему случай уже в багзиллу вносил. Может разработчики и
сподобятся эти скрипты поправить. :)~ 

Мне проще показалось вписать в rc.local 
------------------------------- [13:42:31,olli@ws002.mo.sim,~]
$ grep ifconfig /etc/rc.d/rc.local 
echo "IP for vlan only workaround:'ifconfig eth1 up'"
ifconfig eth1 up
------------------------------- [13:43:48,olli@ws002.mo.sim,~]
$ 
и в network-scripts поставить on boot в no .

Ну или, что то же самое:
ifconfig eth1 down
ifconfig eth1 0.0.0.0 up
при этом поднимаются все vlan'ы.

-- 
Bye.Olli.			http://olli.digger.org.ru




  reply	other threads:[~2003-09-18  9:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17 12:18 Прокопьев Евгений
2003-09-17 13:52 ` Dmitry Lebkov
2003-09-17 14:37   ` Oleg K.Artemjev
2003-09-17 21:33     ` Dmitry Lebkov
2003-09-18  9:45       ` Oleg K.Artemjev [this message]
2003-09-18 10:07         ` Oleg K.Artemjev

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=20030918134557.79abd959.olli@rbauto.ru \
    --to=olli@rbauto.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