From: "Алексей Варакин" <varalt@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] KVM и внешний DHCP-сервер
Date: Thu, 19 Mar 2015 12:12:27 +0700
Message-ID: <1775151426741947@web6j.yandex.ru> (raw)
In-Reply-To: <1681324644.958909.1426732973256.JavaMail.zimbra@taf.ru>
А как создать грамотно бридж?
Примерную команду подскажите?
19.03.2015, 09:41, "alexei@taf.ru" <alexei@taf.ru>:
> добрый день
>
> ----- Исходное сообщение -----
>> От: "Алексей Варакин" <varalt@yandex.ru>
>> Кому: "ALT Linux Community general discussions" <community@lists.altlinux.org>
>> Отправленные: Четверг, 19 Март 2015 г 10:20:19
>> Тема: [Comm] KVM и внешний DHCP-сервер
>> Здравствуйте!
>>
>> Я решил для теста поднять у себя KVM вместо работающего VirtualBox.
>> Успешно перегнал виртуальные машины из формата VirtualBox в формат Qcow2.
>> Винды успешно запустились(правда, пришлось там повозиться с драйверами), однако
>> сетевой адрес они получили от встроенного DHCP-сервера.
>>
>> Поэтому у меня вопрос: Можно ли избавиться от встроенного DHCP и получать адрес
>> от реального DHCP-сервера(как в VirtualBox)?
>>
>> P.S. Я использовал в работе с виртуальными машинами AQEMU(но там я ничего не
>> нашел про встроенный DHCP).
>
> Создать на хост-системе бридж, в который входит интерфейс реальной сетевой карты, и
> в настройках сетевой карты виртуальной машины указать типа сети Shared и указать ранее
> созданный бридж. Тогда гостевая система получит доступ в сеть, к которой подключен хост.
> Пример из конфига:
>
> <domain type='kvm'>
> ...
> <devices>
> ...
> <interface type='bridge'>
> <mac address='52:54:00:70:ba:30'/>
> <source bridge='brenp3s0'/>
> <model type='virtio'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
> </interface>
> ...
> </devices>
> </domain>
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
next prev parent reply other threads:[~2015-03-19 5:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-19 2:20 Алексей Варакин
2015-03-19 2:42 ` alexei
2015-03-19 5:12 ` Алексей Варакин [this message]
2015-03-19 5:18 ` alexei
2015-03-19 6:38 ` "Четвериков К.В."
2015-03-19 11:31 ` Michael Shigorin
2015-03-20 6:18 ` "Четвериков К.В."
2015-03-20 10:33 ` Michael Shigorin
2015-03-19 10:35 ` Васюк Максим Анатольевич
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=1775151426741947@web6j.yandex.ru \
--to=varalt@yandex.ru \
--cc=community@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 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