Port-xen 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 Sun, 25 Jun 2023, Matthias Petermann wrote:

2) increased the ARP cache timeout  net.inet.arp.nd_reachable=1200000
   on both, Dom0 and DomU  -> this seemed to have an effect at first,
   but the problem still exists (its not a measured fact but a feeling,
   that it happens now a bit less often and later)


Yeah, I had a feeling that we had just delayed that error, so I've cooked
up another scheme get an ARP-cache entry with no expiry-time. Try this:

1. Enable broadcast ICMP-Echo replies on Dom0 and all the DomUs:

sysctl -w net.inet.icmp.bmcastecho=1

2. Prime ARP-cache by doing a broadcast echo:

ping -nc10 192.168.2.255

On -HEAD, this creates ARP-address entries with no expiration-time. Don't
know if it'll work on 9.x. (On FreeBSD, the expiration-time is set to the
default of 20 mins, so YMMV.)

HTH,

-RVP


Home | Main Index | Thread Index | Old Index