[Openstack] ARP Caching
George Mihaiescu
lmihaiescu at gmail.com
Fri Mar 20 13:38:36 UTC 2015
Hi Georgios,
Based on the code (
https://github.com/openstack/nova/blob/3658e1015a2f7cb7c321cc1a0adfda37757fd80b/nova/network/linux_net.py#L754)
it looks like the command that Nova executes is:
arping -U ip
-A -I device
-c count
You could add a line in that file after the arping command to log if it
actually executed:
LOG.debug('arping for ip %s was sent', ip)
On Sat, Mar 14, 2015 at 7:03 PM, Georgios Dimitrakakis <giorgis at acmac.uoc.gr
> wrote:
> I will try to see if I can get anything from the logs.
> If someone else can come to a better suggestion I am all ears.
>
> Not having full access to the DataCenter and the underlying equipment
> has caused me enough headaches so far :-(
>
>
> Best,
>
>
> George
>
>
> On 03/14/2015 03:32 PM, Georgios Dimitrakakis wrote:
>>
>>> Hello again Rick!
>>>
>>>
>>> On 03/13/2015 06:25 PM, Georgios Dimitrakakis wrote:
>>>>
>>>>> If I do an :
>>>>>
>>>>> arping -U -I etho x.x.x.x
>>>>>
>>>>> where x.x.x.x is the IP address.
>>>>>
>>>>> I can almost immediately access them outside of the subnet!
>>>>>
>>>>
>>>> I had forgotten that, Still is that the very same set of options the
>>>> OpenStack code uses?
>>>>
>>>
>>>
>>> I am not aware about that and I would like to know!
>>> What does Openstack does and how ofted does it send the gratuitous ARP
>>> request?
>>>
>>
>> I don't recall off the top of my head (perhaps someone else does) -
>> and my corner of the world is Neutron rather than Nova networking. If
>> there is much logging enabled I suspect you could see the commands in
>> the logs. Certainly Neutron is very "chatty" when it comes to logging
>> things.
>>
>>
>>>
>>>
>>>
>>>> Do you mean that OpenStack is sending a gratuitous ARP for all
>>>>> and the router is ignoring them unless it is for a specific IP address?
>>>>>
>>>>> If this is the case is there anything I can do?
>>>>>
>>>>
>>>> I will second the suggestion of getting a packet trace to see just
>>>> what sort of ARP traffic the compute node(s) send and then compare
>>>> that with the documentation for your router.
>>>>
>>>> rick
>>>>
>>>>
>>>
>>> I will try to see if I can get anything but the problem is that the
>>> datacenter hosting the facility is in Japan and there is a huge gap
>>> communicating with them (actually there is no communication).
>>>
>>> If I could only find out what does the router accept would be very nice
>>> :-)
>>>
>>
>> Nothing beats being able to see the blinking lights :)
>>
>> rick
>>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150320/96bf3d73/attachment.html>
More information about the Openstack
mailing list