From: "Mykola S. Grechukh" <gns@altlinux.org> To: sysadmins@lists.altlinux.org Subject: [Sysadmins] openvz: split interfaces between VEs Date: Mon, 7 Apr 2008 12:13:55 +0300 Message-ID: <a4ab440f0804070213o7fb19b71obc3610e17db4ebde@mail.gmail.com> (raw) столкнулся с такой проблемой. на HN stokes есть два интерфейса, смотрящих eth0 в 192.168.0./24 и eth1 в 172.16.4/24. есть VEшка с venet 192.168.0.192, которая через маршрутизаторы в принципе доступна всем, но смотреть должна только в свою сетку. есть хост с адресом 172.16.4.3 (физически воткнут в одни свитч с моим eth1). Других адресов у него нет, и когда он лезет к 192.168.0.192, пакет проходит через местный гейт и попадает на eth0 stokes. Stokes недолго думая бросает его гейту сети через eth0. Все отлично. Но если на eth1 навесить адрес из 172.16.4., автоматически появится соответствующий маршрут и ответы пойдут уже через этот интерфейс (и действительно, так ведь ближе). Внимание вопрос: существует ли способ сделать примерно так как в vmware bridged - VE назначаются один или несколько физических интерфейсов HN?
next reply other threads:[~2008-04-07 9:13 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-07 9:13 Mykola S. Grechukh [this message] 2008-04-07 9:29 ` Aleksey Avdeev 2008-04-07 9:33 ` Nick S. Grechukh 2008-04-07 9:35 ` Aleksey Avdeev 2008-04-07 9:40 ` Nick S. Grechukh 2008-04-07 9:54 ` Aleksey Avdeev 2008-04-07 10:05 ` Nick S. Grechukh
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=a4ab440f0804070213o7fb19b71obc3610e17db4ebde@mail.gmail.com \ --to=gns@altlinux.org \ --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