From: "Peter V.Saveliev" <peet@infosite.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] virtual ethernet - we did it!!!
Date: Fri Jan 25 12:47:12 2002
Message-ID: <20020125124857.554ddda6.peet@infosite.ru> (raw)
In-Reply-To: <104550565231.20020125135018@psrp.te.ru>
On Fri, 25 Jan 2002 13:50:18 +0500
"Russu V.F." <ruwa@psrp.te.ru> wrote:
<skip>
> расскажи как сделал, мне тоже такая задача стоит !
<skip>
Если в двух словах, то взял пакеты liblzo и vtund из дебиана
(парень, с которым мы все это делаем, не дебиане сидит), собрал
и установил. Почитал man vtund, man vtund.conf, установил
bridge-utils из сизифа, почитал man brctl.
Дальше так: две машины, сервер и слэйв, на сервере запускаем
vtund в режиме сервера, на слэйве - в режиме клиента. Делаем
mknod /dev/tap0 (в документации написано, с какими параметрами)
и modprobe ethertap и еще что-то (тоже в есть в документации),
и получаем два девайса tap0 - на сервере и на слэйве. Утверждается,
что, если попросить vtund делать ethernet-level туннель, то он
таким и будет. Отталкиваясь от этой посылки, мы сделали бридж:
brctl addbr br0; brctl addif eth0; brctl addif tap0;
ifconfig eth0 0.0.0.0; ifconfig br0 <мой eth0 IP> up; route -n
//все маршруты перевести на dev br0; tap0 изначально с IP 0.0.0.0
и получили объединенную сетку. Вот и все.
Сорри за сумбур, но домой не достучаться - из-за экспериментов
опустил все важные сервисы, в том числе и sshd. Потому пишу по
памяти. Как все наладим железно - отошлю хавтушку. А пока так.
Петр.
next prev parent reply other threads:[~2002-01-25 12:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-25 11:30 Peter V.Saveliev
2002-01-25 11:34 ` Korshunov Ilya
2002-01-25 11:38 ` Peter V.Saveliev
2002-01-25 12:22 ` Russu V.F.
2002-01-25 12:47 ` Peter V.Saveliev [this message]
2002-01-25 17:06 ` Dmitry V. Levin
2002-01-25 18:09 ` Peter V.Saveliev
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=20020125124857.554ddda6.peet@infosite.ru \
--to=peet@infosite.ru \
--cc=mandrake-russian@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