ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] VirtualBox & etcnet
@ 2008-08-07 16:26 Andrey Kuleshov
  2008-08-07 18:04 ` Alexey Borisenkov
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Kuleshov @ 2008-08-07 16:26 UTC (permalink / raw)
  To: ALT Linux Community

Здравствуйте!

Ориентируясь на http://leolik.blogspot.com/2008/02/virtualbox.html 
пытаюсь совладать с VirtualBox. Гостевая система поднялась, но уж пару 
дней пытаюсь разобраться с etcnet, к сожелению совершенно неудачно.

Помогите, плз, транслировать следующий фрагмент в термины-формы etcnet!

9.1. Установил необходимый софт для создания моста:
$sudo apt-get install bridge-utils <apt:bridge-utils>

9.2. Отредактировал файл */etc/network/interfaces*:
$sudo nano /etc/network/interfaces

добавив туда описание моста *br0* :
auto br0
iface br0 inet static
address 192.168.0.1
netmask 255.255.255.0
bridge_ports eth0
и не забыв закомментировать (или удалить) данные про eth0 интерфейс.

Заранее спасибо!

--
 AK1041-UANIC



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] VirtualBox & etcnet
  2008-08-07 16:26 [Comm] VirtualBox & etcnet Andrey Kuleshov
@ 2008-08-07 18:04 ` Alexey Borisenkov
  2008-08-08 18:02   ` Andrey Kuleshov
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Borisenkov @ 2008-08-07 18:04 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Andrey Kuleshov пишет:
> Помогите, плз, транслировать следующий фрагмент в термины-формы etcnet!
> 
> 9.1. Установил необходимый софт для создания моста:
> $sudo apt-get install bridge-utils <apt:bridge-utils>
> 
> 9.2. Отредактировал файл */etc/network/interfaces*:
> $sudo nano /etc/network/interfaces
> 
> добавив туда описание моста *br0* :
> auto br0
> iface br0 inet static
> address 192.168.0.1
> netmask 255.255.255.0
> bridge_ports eth0
> и не забыв закомментировать (или удалить) данные про eth0 интерфейс.

Как делал себе я:

Подгружаем нужный модуль и ставим пакет с мостом:
$ sudo modprobe tun
$ sudo apt-get install bridge-utils

В файле /etc/net/ifaces/br0/brctl
stp AUTO on
setfd AUTO 0

В файле /etc/net/ifaces/br0/options
TYPE=bri
HOST='eth0'

В файле /etc/net/ifaces/br0/ipv4address
192.168.1.5/24

В файле /etc/net/ifaces/br0/ipv4route
default via 192.168.1.1

Потом
$ sudo VBoxAddIF vbox0 alexbor br0

Всё. Разумеется, адреса поменять на нужные.

Ну, ещё чтобы модуль tun грузился сам пришлось его в /etc/modules 
засунуть. Не против узнать, как это делать идеологически правильно :)

Ах, да, ещё права поправил на /dev/net/tun:
В файле /etc/udev/rules.d/90-tun.rules
KERNEL=="tun", GROUP="vboxusers" MODE="0660"



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] VirtualBox & etcnet
  2008-08-07 18:04 ` Alexey Borisenkov
@ 2008-08-08 18:02   ` Andrey Kuleshov
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Kuleshov @ 2008-08-08 18:02 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Здравствуйте!

Alexey Borisenkov пишет:
> Как делал себе я:
>
Супер! Спасибо за четкое руководство!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-08 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-07 16:26 [Comm] VirtualBox & etcnet Andrey Kuleshov
2008-08-07 18:04 ` Alexey Borisenkov
2008-08-08 18:02   ` Andrey Kuleshov

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