ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Ildar Mulyukov <ildar@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Сеть в OpenVZ
Date: Fri, 18 Aug 2006 12:16:10 +0600
Message-ID: <1155881770l.7594l.0l@ildar.nexttel.kz> (raw)
In-Reply-To: <1155716677l.11242l.1l@ildar.nexttel.kz> (from ildar@altlinux.ru on Wed Aug 16 14:24:37 2006)

#9890, патчи уже там.

Ильдар.


On 16.08.2006 14:24:37, Ildar Mulyukov wrote:
> 
> On 16.08.2006 04:10:24, Dmitry V. Levin wrote:
> > On Tue, Aug 15, 2006 at 06:47:10PM +1300, Alexey Borovskoy wrote:
> > > Помогите сняться с ручника.
> > > Не могу понять как настраивать venet.
> >
> > Должно работать "из коробки".
> У меня не заработало. Может, я что-то пропустил?
> 
> > > Зачем в /etc/vz/dists/scripts/etcnet-add_ip.sh указано
> > > FAKEGATEWAY=191.255.255.1 и FAKEGATEWAYNET=191.255.255.0 ?
> > >
> > > Это надо править под свою сетку или в этом фэйке есть тайный
> смысл?
> > Это НЕ надо править под свою сетку, в этом FAKE* есть скрытый явный
> > смысл.
> Тогда более подробно.
> # uname -r
> 2.6.16-ovz-smp-alt4
> # rpm -q vzctl
> vzctl-3.0.10-alt5
> 1. service vz start
> 	делает следующее:
>          action "Bringing up interface $VZDEV:" \
>                  ip link set ${VZDEV} up || return
>          action "Assigning address to interface $VZDEV:" \
>                  ip addr add 0.0.0.0/0 dev ${VZDEV} || return
> Т.о. venet0 на хосте умышленно поднимается без адреса и даже
> прописыванием его в etc/net/ifaces ничего не исправить, только править
> 
> /etc/rc.d/init.d/vz
> 
> 2. Замечательно, что сетка для виртуальных серверов уже предусмотрена.
> 
> Однако это нигде не указано (легко исправить, я готов сам в вики
> занести). Но, что хуже, даже попадая в нужную сетку, получаю
> # vzctl exec 1001 ip addr
> .....
> 3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue
>      link/void
>      inet 127.0.0.1/32 scope host venet0
>      inet 191.255.255.11/32 scope global venet0:2
> маска, заметьте, /32, поэтому
> # vzctl exec 1001 ping 191.255.255.1
> connect: Invalid argument
> 
> В общем, у меня "из коробки" не получилось. Только рашпилем... Где я
> ошибся?
> 
> Последний вопрос. Лучше здесь продолжить или сразу идти в bugzilla?

--
Ildar  Mulyukov,
   free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================


      parent reply	other threads:[~2006-08-18  6:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15  5:47 Alexey Borovskoy
2006-08-15  6:01 ` Slava Dubrovskiy
2006-08-15 11:45   ` Alexey Borovskoy
2006-08-15  6:14 ` Maxim Bodyansky
2006-08-15 11:50   ` Alexey Borovskoy
2006-08-15 12:01     ` Konstantin A. Lepikhov
2006-08-15 12:38       ` Alexey Borovskoy
2006-08-15 12:44         ` Konstantin A. Lepikhov
2006-08-15 20:49           ` Alexey Borovskoy
2006-08-15 21:47             ` Alexey Borovskoy
2006-08-15 22:10 ` Dmitry V. Levin
2006-08-15 22:36   ` Dmitry Lebkov
2006-08-15 23:09     ` Dmitry V. Levin
2006-08-16  1:07       ` Dmitry Lebkov
2006-08-15 22:37   ` Alexey Borovskoy
2006-08-15 23:14     ` Dmitry V. Levin
2006-08-15 23:34       ` Alexey Borovskoy
2006-08-15 23:52         ` Alexey Borovskoy
2006-08-15 23:53         ` Dmitry V. Levin
2006-08-16  0:35           ` Alexey Borovskoy
2006-08-16  8:24   ` Ildar Mulyukov
2006-08-16  9:03     ` Slava Dubrovskiy
2006-08-18  6:16     ` Ildar Mulyukov [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=1155881770l.7594l.0l@ildar.nexttel.kz \
    --to=ildar@altlinux.ru \
    --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