From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] Сеть в OpenVZ Date: Wed, 16 Aug 2006 03:53:21 +0400 Message-ID: <20060815235321.GC6660@basalt.office.altlinux.org> (raw) In-Reply-To: <3f60a830608151634k513ef5f3j80ac85f73c9b3bca@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1903 bytes --] On Wed, Aug 16, 2006 at 12:34:19PM +1300, Alexey Borovskoy wrote: > 16.08.06, Dmitry V. Levin<ldv@altlinux.org> написал(а): > > On Wed, Aug 16, 2006 at 11:37:23AM +1300, Alexey Borovskoy wrote: [...] > > > Не ходят пинги между HN и VE. Судя по tcpdump -i venet0 в HN, пинги в > > > VE уходят, но обратно не возвращаются. Что-то не так с маршрутизацией > > > в VE, ip ro l там пустой. Если сделать в VE gefault gw равным ip, > > > который я назначил для VE, то всё начинает работать. > > > > У меня ip r l непустой: > > $ /sbin/ip r l > > 191.255.255.0/24 dev venet0 scope host > > default via 191.255.255.1 dev venet0 > > Добавил вручную, пинги пошли. Естественно. > > Я помню 3 типа граблей, вследствие которых ip r l был пустым: > > 1. отсутствие etcnet/net-scripts в контейнере (нет ни того ни другого); > > # vzctl exec 101 rpm -qa|grep etcnet > etcnet-0.7.16-alt1 Ага. # rpmquery etcnet 0.8.3-alt1.1 [...] > Осталось понять почему не добавляются маршруты при старте контейнера. [...] > # vzctl exec 101 service network start > error: unknown error 1 setting key 'net.ipv4.conf.default.rp_filter' > error: unknown error 1 setting key 'net.ipv4.icmp_echo_ignore_broadcasts' > error: unknown error 1 setting key 'net.ipv4.tcp_syncookies' > error: unknown error 1 setting key 'net.ipv4.tcp_timestamps' > Computing interface groups: .. 2 interfaces found > Starting group 0/virtual (2 interfaces) > Starting lo: ....OK > Starting venet0: ....RTNETLINK answers: No such device > .RTNETLINK answers: Network is unreachable > .OK > Processing /etc/net/vlantab: 0 lines processed. Я ведь патчил etcnet на тему обработки интерфейсов типа venet: 0.8.3-alt1.1 - /etc/net/scripts/network.init:type2group(): Handle venet type. - Added %triggerpostun script to save network service during net-scripts -> etcnet migration. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-08-15 23:53 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-08-15 5:47 Alexey Borovskoy 2006-08-15 6:01 ` Slava Dubrovskiy 2006-08-15 11:45 ` Alexey Borovskoy 2006-08-15 6:14 ` Maxim Bodyansky 2006-08-15 11:50 ` Alexey Borovskoy 2006-08-15 12:01 ` Konstantin A. Lepikhov 2006-08-15 12:38 ` Alexey Borovskoy 2006-08-15 12:44 ` Konstantin A. Lepikhov 2006-08-15 20:49 ` Alexey Borovskoy 2006-08-15 21:47 ` Alexey Borovskoy 2006-08-15 22:10 ` Dmitry V. Levin 2006-08-15 22:36 ` Dmitry Lebkov 2006-08-15 23:09 ` Dmitry V. Levin 2006-08-16 1:07 ` Dmitry Lebkov 2006-08-15 22:37 ` Alexey Borovskoy 2006-08-15 23:14 ` Dmitry V. Levin 2006-08-15 23:34 ` Alexey Borovskoy 2006-08-15 23:52 ` Alexey Borovskoy 2006-08-15 23:53 ` Dmitry V. Levin [this message] 2006-08-16 0:35 ` Alexey Borovskoy 2006-08-16 8:24 ` Ildar Mulyukov 2006-08-16 9:03 ` Slava Dubrovskiy 2006-08-18 6:16 ` Ildar Mulyukov
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=20060815235321.GC6660@basalt.office.altlinux.org \ --to=ldv@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