[Users] Issue IP Connectivity openvz 7 container arp does not get populated correctly

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jun 22 10:53:01 MSK 2020


On 06/21/2020 02:17 PM, Oliver Dzombic wrote:
> Hi,
>
> we are currently evaluating openvz 7 and run into the following problem:
>
> Normally by executing:
>
> prlctl start $UUID
>
> the system will create two arp entries:
>
> ? ($IP) at <from_interface> PERM PUB on virbr0
> ? ($IP) at <from_interface> PERM PUB on br0
>
> ( we are using host routed network )
>
>
> But here it populates:
>
> ? ($IP) at <from_interface> PERM PUB on virbr0
>
>
> only.
>
>
> So we can ping the hostmachine, as well as the hostmachine can ping the
> container IP.
>
> But the container can not reach the outside, because the outside has no
> arp entry to return the requests.
>
>
> How to resolve this ?

Hi Oliver,

it works for me, so please file a bug at bugs.openvz.org and post there full commands with outputs for reproduction.

On my node:

[root at sbf7 ~]# vzctl set 100 --ipadd 10.10.0.34/24
Adding ip address(es): 10.10.0.34
vz-net_add WARNING: ! /sbin/arping -f -c 1 -q -w 1 -I br0 10.10.0.34 FAILED
arping: Device venet0 not available.
arping: Device venet0 not available.
WARNING: Settings were not saved. On next start the original values will be applied. Use --save to save the settings in the configuration file.

[root at sbf7 ~]# arp -n | grep 34
10.10.0.34               *       <from_interface>    MP                    docker0
10.10.0.34               *       <from_interface>    MP                    virbr0
10.10.0.34               *       <from_interface>    MP                    br0

Hope that helps.

--
Konstantin



More information about the Users mailing list