<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>15026</bug_id>
          
          <creation_ts>2008-03-21 14:53:59 +0300</creation_ts>
          <short_desc>Сеть в контейнере доступна при существующем &quot;снаружи&quot; IP</short_desc>
          <delta_ts>2013-04-01 18:09:12 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.0</product>
          <component>vzctl</component>
          <version>4.0</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14167</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Konstantin Pavlov">thresh</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>aspsk</cc>
    
    <cc>boris</cc>
    
    <cc>lakostis</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>shrek</cc>
    
    <cc>vsu</cc>
          
          <qa_contact name="Q.A. 4.0">qa-4.0</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66356</commentid>
    <comment_count>0</comment_count>
    <who name="Konstantin Pavlov">thresh</who>
    <bug_when>2008-03-21 14:53:59 +0300</bug_when>
    <thetext>kernel-image-ovz-smp-2.6.18-alt22

[root@office-vz1 ~]# vzctl start 98
Starting VE ...
VE is mounted
Adding IP address(es): 10.192.168.98
arpsend: 10.192.168.98 is detected on another computer : 00:19:b9:1f:b1:e4
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.192.168.98 eth0 FAILED
Setting CPU units: 1000
Configure meminfo: 131072
Set hostname: vps98.immo
VE start in progress...
[root@office-vz1 ~]# vzctl enter 98
entered into VE 98
[root@vps98 /]# ip ad
1: lo: &lt;LOOPBACK,UP,10000&gt; mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
3: venet0: &lt;BROADCAST,POINTOPOINT,NOARP,UP,10000&gt; mtu 1500 qdisc noqueue
    link/void
    inet 127.0.0.1/24 scope host venet0
    inet 10.192.168.98/32 scope global venet0:0

[root@vps98 /]# ping ya.ru
PING ya.ru (213.180.204.8) 56(84) bytes of data.
64 bytes from ya.ru (213.180.204.8): icmp_seq=1 ttl=56 time=103 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=2 ttl=56 time=126 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=3 ttl=56 time=93.1 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=4 ttl=56 time=36.4 ms


При этом на HN:
[root@office-vz1 ~]# tcpdump -eni eth0 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
19:16:27.959620 00:03:47:f1:54:95 &gt; 00:09:6b:63:76:11, ethertype IPv4 (0x0800),
length 98: 10.192.168.98 &gt; 213.180.204.8: ICMP echo request, id 36644, seq 1,
length 64
19:16:27.969843 00:09:6b:63:76:11 &gt; 00:03:47:f1:54:95, ethertype IPv4 (0x0800),
length 98: 213.180.204.8 &gt; 10.192.168.98: ICMP echo reply, id 36644, seq 1,
length 64
19:16:28.961465 00:03:47:f1:54:95 &gt; 00:09:6b:63:76:11, ethertype IPv4 (0x0800),
length 98: 10.192.168.98 &gt; 213.180.204.8: ICMP echo request, id 36644, seq 2,
length 64
19:16:28.986646 00:09:6b:63:76:11 &gt; 00:03:47:f1:54:95, ethertype IPv4 (0x0800),
length 98: 213.180.204.8 &gt; 10.192.168.98: ICMP echo reply, id 36644, seq 2,
length 64
19:16:29.961441 00:03:47:f1:54:95 &gt; 00:09:6b:63:76:11, ethertype IPv4 (0x0800),
length 98: 10.192.168.98 &gt; 213.180.204.8: ICMP echo request, id 36644, seq 3,
length 64

[root@office-vz1 ~]# ip li sh eth0
4: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:03:47:f1:54:95 brd ff:ff:ff:ff:ff:ff


На той машине, где висит адрес, назначенный VPS&apos;у:
[root@snowwhite ~]# ip ad sh eth0
2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:19:b9:1f:b1:e4 brd ff:ff:ff:ff:ff:ff
    inet 10.192.168.97/22 brd 10.192.171.255 scope global eth0
    inet 10.192.168.98/22 scope global secondary eth0

в dmesg ничего нет (широковещательный arpsend не срабатывает)

однако на default gateway arpwatch замечает смену мак-адреса для 10.192.168.98.


При откате на -alt18 проблема решается.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83705</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-12-31 15:40:25 +0300</bug_when>
    <thetext>Это не сизиф.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139214</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-04-01 17:55:18 +0400</bug_when>
    <thetext>Предлагаю по возможности проверить на текущем ovz-el.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139216</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-04-01 18:00:11 +0400</bug_when>
    <thetext>&lt;thresh&gt; gvy: Миша, ничего там проверять не надо, я это всё давно исправил: http://git.openvz.org/?p=vzctl;a=commit;h=c8c2e8caae6481546c9ad81df945822cd0ec5d89</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139218</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2013-04-01 18:09:12 +0400</bug_when>
    <thetext>Соответственно, это было исправлено в vzctl &gt;= 3.0.24-alt1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>