[lxc-users] LXC 2.16 - vxlan.<iface> <MAC> migrated from <eth0> to <eth1>

Stéphane Graber stgraber at ubuntu.com
Tue Sep 26 13:02:47 UTC 2017


On Sun, Sep 24, 2017 at 03:27:27PM -0400, Ron Kelley wrote:
> Greetings all,
> 
> Trying to isolate a condition whereby a container providing firewall services seems to stop processing traffic for a short time.  We keep getting the below information in /var/log/syslog of the server running the firewall.  The IP addresses shown match the network interfaces of the remote LXD server running the web server.  These IPs are for the server itself, and not the container IP
> 
> Sep 24 15:10:25 LXD-Server-04 kernel: [144272.412154] vxlan.1104: 00:11:22:aa:66:a3 migrated from 10.250.1.21  to 172.18.22.21
> Sep 24 15:10:26 LXD-Server-04 kernel: [144272.412154] vxlan.1104: 00:11:22:aa:66:a3 migrated from 172.18.22.21 to 10.250.1.21 
> Sep 24 15:10:27 LXD-Server-04 kernel: [144272.412154] vxlan.1104: 00:11:22:aa:66:a3 migrated from 10.250.1.21  to 172.18.22.21
> Sep 24 15:10:28 LXD-Server-04 kernel: [144272.412154] vxlan.1104: 00:11:22:aa:66:a3 migrated from 172.18.22.21 to 10.250.1.21 
> Sep 24 15:10:29 LXD-Server-04 kernel: [144272.412154] vxlan.1104: 00:11:22:aa:66:a3 migrated from 10.250.1.21  to 172.18.22.21
> Sep 24 15:10:30 LXD-Server-04 kernel: [144272.412154] vxlan.1104: 00:11:22:aa:66:a3 migrated from 172.18.22.21 to 10.250.1.21 
> Sep 24 15:10:31 LXD-Server-04 kernel: [144272.412154] vxlan.1104: 00:11:22:aa:66:a3 migrated from 10.250.1.21  to 172.18.22.21
> Sep 24 15:10:32 LXD-Server-04 kernel: [144272.412154] vxlan.1104: 00:11:22:aa:66:a3 migrated from 172.18.22.21 to 10.250.1.21 
> 
> Notice how they migrate from one interface to another and then back again.  Any idea as to why these messages are getting logged?
> 
> Thanks.
> 
> -Ron

Hmm, so I think I'm going to need a bit more details on the setup.
Can you show the "lxc network show" for the network on both hosts?

My current guess is that you're using vxlan in multicast mode and both
your hosts have two IPs on two subnets. Multicast VXLAN works on both
those subnets and it can therefore see the same remote MAC on both,
having it flip/flop between the two paths.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170926/e3bbdd69/attachment.sig>


More information about the lxc-users mailing list