2016-03-23 14:52 GMT+03:00 Daniel P. Berrange <berrange@xxxxxxxxxx>: > Ok, I took me a while to understand what the point of this is. I eventually > found this comment in /usr/include/linux/if_addr.h > > * IFA_ADDRESS is prefix address, rather than local interface address. > * It makes no difference for normally configured broadcast interfaces, > * but for point-to-point IFA_ADDRESS is DESTINATION address, > * local address is supplied in IFA_LOCAL attribute. > > Likewise in ip-address(8) manpage > > > peer ADDRESS > the address of the remote endpoint for pointopoint inter‐ > faces. Again, the ADDRESS may be followed by a slash and a > decimal number, encoding the network prefix length. If a > peer address is specified, the local address cannot have a > prefix length. The network prefix is associated with the > peer rather than with the local address. > > > So, if we accept ip, broader & route info, it makes sense that we also > accept a peer address. Yes, and broadcast and peer (or remote) mutually exclusive. -- Vasiliy Tolstov, e-mail: v.tolstov@xxxxxxxxx -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list