Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)



On Sat, 24 Jun 2023, Matthias Petermann wrote:

On my Dom0, it looks like there is a timeout for the MAC adresses. The lines below are random but subsequent samples of the "arp -an" command on the Dom0 (192.168.2.50) within a timespan of ~5 minutes. What catched my eye so far:

 - there seem to be expirations, that resolve / renew (*1)
- there are very long timeouts (23h+) that shortly later seem to be reset to a shorter value (*2)


Can you do the test after increasing the `nd_reachable' timeout to 20 mins?

```
$ sudo sysctl -w net.inet.arp.nd_reachable=$((20*60*1000))
```

Increasing `net.inet.arp.nd_bmaxtries' and/or `net.inet.arp.nd_umaxtries' is
also something to try.

So I am wondering what the expectation should be. Are the MAC address timeouts supposed to be long-lived (hours...) or are they usually short-lived (seconds)? Does the output below indicate some issue?


ARP-derived MAC-addresses typically had a lifetime of 20 mins (1200
secs). I dunno why it is so short now (30 secs.)

Can you also show what `arp -an' shows from inside a DomU?

-RVP



Home | Main Index | Thread Index | Old Index