Comment 3 for bug 1551105

Revision history for this message
Daisuke Nakajima (dnakajima) wrote :

Please correct #2, the destined routing table to pkt0 is always there even dns_server_address is set '0.0.0.0'.
Can we set dns_server_address '0.0.0.0'? Because when VM uses Global IP address without both default gateway and dhcp, customer aims to use all of Global IP address for VM. Because each Global IP address is not wealth. Hence, customer wants to set both 'default_gateway' and 'dns_server_address' as '0.0.0.0'.

1) if both 'default_gateway' and 'dns_server_address' are set "0.0.0.0", vrouter sends ARP request to VM, use "0.0.0.0" for Sender IP address in ARP packet.
 see DAD mode http://linux.die.net/man/8/arping

2) Allow dummy IP address to 'dns_server_address' such as '169.254.169.1' when Customer does not want to consume any IP address for Contrail internal use.

As per my test, vRouter send 'DHCP offers' which source IP address is '0.0.0.0' when dns_server_address is set '0.0.0.0'. So, I think ARP request will work as same as DHCP.