You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the MAC address of the management interface changes (we get that when running tests on a nested XCP-ng), there is a timeframe on boot where the bridge configuration uses the old MAC address, eg.:
If during that time any network packet is emitted, it uses that now-invalid MAC address, and the peers record it in their ARP tables. They are then unable to send/relay network traffic to that IP address until the ARP entry gets evicted or replaced by a good one.
The text was updated successfully, but these errors were encountered:
ydirson
added a commit
to xcp-ng/xcp-ng-tests
that referenced
this issue
Jul 10, 2024
Detection of host IP till now relies on the fact we download the
answerfile from PXE server. Once we take this file from the ISO this
network traffic won't happen so we need some other mechanism to fill the
server's ARP tables.
test-pingpxe.service is installed in install.img by iso-remaster.
Since it is difficult to wait until the IP has been assigned before
launching the service, make it ping continuously until we can reach
the PXE server.
Similarly, once installed the host needs the same mechanism so the test
can find it. We prepare an installer hook to install the service on the
host, which the generated answerfile will use in later commit.
This also takes into account xapi-project/xen-api#5799: we must avoid
sending out any traffic while the XAPI bridge has an obsolete MAC
attached, or the peer and network equipment in between get confused.
Signed-off-by: Yann Dirson <[email protected]>
When the MAC address of the management interface changes (we get that when running tests on a nested XCP-ng), there is a timeframe on boot where the bridge configuration uses the old MAC address, eg.:
If during that time any network packet is emitted, it uses that now-invalid MAC address, and the peers record it in their ARP tables. They are then unable to send/relay network traffic to that IP address until the ARP entry gets evicted or replaced by a good one.
The text was updated successfully, but these errors were encountered: