Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System not getting up After configuring valid mac address and even on waiting 120 seconds. #71

Open
Anvesh-Kumar-Rayankula opened this issue Nov 17, 2023 · 8 comments

Comments

@Anvesh-Kumar-Rayankula
Copy link

Steps:

  1. Assign a valid MAC address xx:xx:xx:xx:xx:xx to the system using the curl command
    curl -k -H "X-Auth-Token:${bmc_token}" -X PATCH -D patch.txt -d '{"MACAddress":"xx:xx:xx:xx:xx:xx"}' https://$bmc/redfish/v1/Managers/bmc/EthrnetInterfaces/eth0
  2. System stop pinging

Expectation:

Should not take more than 60 seconds for bring system to up After setting valid mac address

@Anvesh-Kumar-Rayankula
Copy link
Author

@sunharis @raviteja-b

@prkatti1
Copy link

@Anvesh-Kumar-Rayankula How many minutes/seconds it is taking to come back or accessible?

@prkatti1
Copy link

Can you mention how much time we'll not be able access GUI, SSH & Redfish after changing MAC address?

@Anvesh-Kumar-Rayankula
Copy link
Author

Taking above 3:30mints time during that time we not able to access GUI, SSH and redfish after changing MAC address

@mdmillerii
Copy link

mdmillerii commented Nov 17, 2023

Is this with static IP address or DHCP? IP v4 or v6? The test host in the same Ethernet (what os) or through a router from different subnet? (Changing the MAC requires a new ARP entry binding it to the IP to be required. If using DHCP you may get a new address assignment).

@prkatti1
Copy link

It was configured with static IPv4 address.
When MAC address is modified, it should not take so much long time to respond to ping, SSH or Redfish commands.

@prkatti1
Copy link

3.5 minutes is very long time, we have not noticed such long time from inception.

@mdmillerii
Copy link

By the same reasoning, it's reasonable for an arp cache to remember this long, at least if it honors updates. A quick search shows Cisco ios defaults to 4 hours, while another source says 2 to 20 minutes. It really depends on the os running the test or the router configuration if on a different subnet. A gratuitous arp is often used to advertise a changed binding can be advertised with an address claim as in https://datatracker.ietf.org/doc/html/rfc4436#section-4.1

eddiejames pushed a commit to eddiejames/phosphor-networkd that referenced this issue Mar 1, 2024
This commit populates address origin based on ifa_flags from rtnetlink
message.

Tested by:
Check origin of D-bus object for different type of v4/v6 addresses
Verified DHCPv4/v6 enable, disable with static addresses configured

Change-Id: I554e9353107ba62b638654d91b5dfe2c6ee90a03

Signed-off-by: Ravi Teja <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants