From: Eugene Prokopiev <enp@itx.ru> To: ALT Linux Sisyphus discussions <Sisyphus@lists.altlinux.org> Subject: [sisyphus] ipvlan interface type for systemd-nspawn Date: Sun, 6 Sep 2015 11:33:20 +0300 Message-ID: <CANM4RugofTfYohp2Fx_FrtcrGgYmkiH1fCzRCMs4Gc-nTOJOZA@mail.gmail.com> (raw) Здравствуйте! Для индивидуальной настройки сети в контейнерах systemd-nspawn скопировал /lib/systemd/system/systemd-nspawn\@.service в /etc/systemd/system/systemd-nspawn@box0.service /etc/systemd/system/systemd-nspawn@box1.service соответственно, а --network-veth в обоих заменил на --network-ipvlan=enp0s3. В результате машины box0 и box1 пингуют друг друга через интерфейсы iv-enp0s3, но адрес на интерфейсе enp0s3 в хост-системе они пропинговать не могут. При этом все адреса других физических хостов из этого же сегмента сети контейнерам доступны, недоступен именно адрес в хост-системе. При использовании --network-macvlan проблемы те же самые. Нормально ли это? Как правильно завести адрес хост-системы и адреса контейнеров в один сегмент так, чтобы они были доступны друг другу? -- WBR, Eugene Prokopiev
next reply other threads:[~2015-09-06 8:33 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-06 8:33 Eugene Prokopiev [this message] 2015-09-06 16:07 ` Sergey Bolshakov 2015-09-08 17:45 ` Eugene Prokopiev 2015-09-10 6:21 ` Eugene Prokopiev
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=CANM4RugofTfYohp2Fx_FrtcrGgYmkiH1fCzRCMs4Gc-nTOJOZA@mail.gmail.com \ --to=enp@itx.ru \ --cc=Sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git