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)



Hello,

On 24.06.23 01:37, RVP wrote:
On Fri, 23 Jun 2023, Brian Buhrow wrote:

    hello.  My understanding is that the arp caching mechanism works regardless of whether
you use static MAC addresses or dynamically generated ones.
[...]
If you then run brconfig on the bridge containing the domu, you'll see the MAC  address you
assigned, or which was assigned dynamically, alive and well.


Right, but, cacheing implies a timeout, and is there a timeout for the MAC
addresses on Xen IFs? Does an `arp -an' indicate this (I can't test this--
no Xen set up.)

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)

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?

Kind regards
Matthias


```
vhost2$ doas arp -an
? (192.168.2.254) at e0:28:6d:25:44:6c on re0 23h59m52s S        (*2)
? (192.168.2.191) at 98:ee:cb:f0:3c:b8 on re0 20s R
? (192.168.2.51) at 00:16:3e:00:00:01 on re0 2s R
? (192.168.2.54) at 00:16:3e:00:00:04 on re0 2s R
? (192.168.2.55) at 00:16:3e:00:00:05 on re0 1s R
? (192.168.2.52) at 00:16:3e:00:00:02 on re0 8s R
? (192.168.2.53) at 00:16:3e:00:00:03 on re0 13s R
vhost2$ doas arp -an
? (192.168.2.254) at e0:28:6d:25:44:6c on re0 23h59m52s S        (*2)
? (192.168.2.191) at 98:ee:cb:f0:3c:b8 on re0 20s R
? (192.168.2.51) at 00:16:3e:00:00:01 on re0 2s R
? (192.168.2.54) at 00:16:3e:00:00:04 on re0 2s R
? (192.168.2.55) at 00:16:3e:00:00:05 on re0 1s R
? (192.168.2.52) at 00:16:3e:00:00:02 on re0 8s R
? (192.168.2.53) at 00:16:3e:00:00:03 on re0 13s R
vhost2$ doas arp -an
? (192.168.2.254) at e0:28:6d:25:44:6c on re0 23h59m51s S
? (192.168.2.191) at 98:ee:cb:f0:3c:b8 on re0 19s R
? (192.168.2.51) at 00:16:3e:00:00:01 on re0 1s R
? (192.168.2.54) at 00:16:3e:00:00:04 on re0 1s R
? (192.168.2.55) at 00:16:3e:00:00:05 on re0 expired R           (*1)
? (192.168.2.52) at 00:16:3e:00:00:02 on re0 7s R
? (192.168.2.53) at 00:16:3e:00:00:03 on re0 12s R
vhost2$ doas arp -an
? (192.168.2.254) at e0:28:6d:25:44:6c on re0 16s R
? (192.168.2.191) at 98:ee:cb:f0:3c:b8 on re0 29s R
? (192.168.2.51) at 00:16:3e:00:00:01 on re0 26s R
? (192.168.2.54) at 00:16:3e:00:00:04 on re0 26s R
? (192.168.2.55) at 00:16:3e:00:00:05 on re0 25s R
? (192.168.2.52) at 00:16:3e:00:00:02 on re0 2s D
? (192.168.2.53) at 00:16:3e:00:00:03 on re0 23h59m52s S         (*2)
vhost2$ doas arp -an
? (192.168.2.254) at e0:28:6d:25:44:6c on re0 10s R
? (192.168.2.191) at 98:ee:cb:f0:3c:b8 on re0 23s R
? (192.168.2.51) at 00:16:3e:00:00:01 on re0 20s R
? (192.168.2.54) at 00:16:3e:00:00:04 on re0 20s R
? (192.168.2.55) at 00:16:3e:00:00:05 on re0 19s R
? (192.168.2.52) at 00:16:3e:00:00:02 on re0 26s R
? (192.168.2.53) at 00:16:3e:00:00:03 on re0 1s D
vhost2$ doas arp -an
? (192.168.2.254) at e0:28:6d:25:44:6c on re0 29s R
? (192.168.2.191) at 98:ee:cb:f0:3c:b8 on re0 10s R
? (192.168.2.51) at 00:16:3e:00:00:01 on re0 23h59m52s S        (*2)
? (192.168.2.54) at 00:16:3e:00:00:04 on re0 23h59m52s S        (*2)
? (192.168.2.55) at 00:16:3e:00:00:05 on re0 23h59m51s S        (*2)
? (192.168.2.52) at 00:16:3e:00:00:02 on re0 23h59m58s S        (*2)
? (192.168.2.53) at 00:16:3e:00:00:03 on re0 3s R
vhost2$ doas arp -an
? (192.168.2.254) at e0:28:6d:25:44:6c on re0 25s R
? (192.168.2.191) at 98:ee:cb:f0:3c:b8 on re0 6s R
? (192.168.2.51) at 00:16:3e:00:00:01 on re0 3s D
? (192.168.2.54) at 00:16:3e:00:00:04 on re0 3s D
? (192.168.2.55) at 00:16:3e:00:00:05 on re0 2s D
? (192.168.2.52) at 00:16:3e:00:00:02 on re0 23h59m54s S        (*2)
? (192.168.2.53) at 00:16:3e:00:00:03 on re0 23h59m59s S        (*2)
vhost2$ doas arp -an
? (192.168.2.254) at e0:28:6d:25:44:6c on re0 23s R
? (192.168.2.191) at 98:ee:cb:f0:3c:b8 on re0 4s R
? (192.168.2.51) at 00:16:3e:00:00:01 on re0 1s D
? (192.168.2.54) at 00:16:3e:00:00:04 on re0 1s D
? (192.168.2.55) at 00:16:3e:00:00:05 on re0 30s R
? (192.168.2.52) at 00:16:3e:00:00:02 on re0 23h59m52s S        (*2)
? (192.168.2.53) at 00:16:3e:00:00:03 on re0 23h59m57s S        (*2)

```

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Home | Main Index | Thread Index | Old Index