Article ID: 120677, created on Mar 22, 2014, last review on May 11, 2014

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux 4.7
  • Virtuozzo hypervisor

Symptoms

When container is being (re)started you can observe following warnings from arpsend:

[root@node ~]# vzctl start 100
...
Adding IP addresses: 1.2.3.4/255.255.255.0
arpsend: Cannot get the IP address of network interface bond0: Cannot assign requested address
vz-net_add WARNING: arpsend -c 1 -w 1 -D  -e 1.2.3.4 bond0 FAILED
arpsend: Cannot get the IP address of network interface bond0.1023: Cannot assign requested address
vz-net_add WARNING: arpsend -c 1 -w 1 -D  -e 1.2.3.4 bond0.1023 FAILED
arpsend: Cannot get the IP address of network interface bond0: Cannot assign requested address
vz-net_add WARNING: arpsend -c 1 -w 1 -U -i 1.2.3.4 -e 1.2.3.4 bond0 FAILED
arpsend: Cannot get the IP address of network interface bond0.1023: Cannot assign requested address
vz-net_add WARNING: arpsend -c 1 -w 1 -U -i 11.2.3.4 -e 1.2.3.4 bond0.1023 FAILED
...

Cause

When Parallels Virtuozzo Containers start a container with Host-Routed adapter on board it will send ARP announcements for all IPs assigned on this adapter from all Hardware Node's interfaces. To be able to announce ARP using arpsend command interface should have IP address configured. Output above just indicates that these adapters (bond0 and bond0.1023) do not have IP address configured:

[root@node ~]# ifconfig bond0
bond0     Link encap:Ethernet  HWaddr 00:30:48:F2:9C:9E
          inet6 addr: fe80::230:48ff:fef2:9c9e/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:4263600 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6988531 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1297778560 (1.2 GiB)  TX bytes:9519916270 (8.8 GiB)

[root@node ~]# ifconfig bond0.1023
bond0.1023 Link encap:Ethernet  HWaddr 00:30:48:F2:9C:9E
          inet6 addr: fe80::230:48ff:fef2:9c9e/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:4299 errors:0 dropped:0 overruns:0 frame:0
          TX packets:904 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:217146 (212.0 KiB)  TX bytes:73686 (71.9 KiB)

Resolution

In some cases (e.g. for bridged networking) having IP address configured for an adapter is not necessary. However, having an IP address is crucial if you want to make Host-Routed interfaces utilize these adapters.

Configure IP addresses for these adapters if you want containers to be able to have route to networks these interfaces are attached to. Otherwise, ignore these warnings.

NOTE: prlctl start will not display these messages on stdout because it doesn't call arpsend personally - it's performed by dispatcher in a separate shell

Search Words

vz-net_add WARNING: arpsend

arpsend: Cannot get the IP address of network interface

arpsenf failed

Cannot assign requested address

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 0dd5b9380c7d4884d77587f3eb0fa8ef 0c05f0c76fec3dd785e9feafce1099a9 c62e8726973f80975db0531f1ed5c6a2

Email subscription for changes to this article
Save as PDF