Closed sivaprabug closed 1 year ago
Please fill out the template as requested when filing bugs.
Please fill out the template as requested when filing bugs.
Thanks for the guidance. Followed the requested template .
@sunharis Can you please take a look at the above?
@sunharis Can you please take a look at the above?
Sure. Will check.
@sivaprabug Can you please check if your networkd repo is pointing to the latest master? There is some recent fix for this issue.
https://github.com/openbmc/phosphor-networkd/commit/86c4f44d22fb0a7185dade081f780948b0eecc42
You also need https://github.com/openbmc/phosphor-networkd/commit/c6201207fc8523b3ccc53fa44ad28e44d38af02d
@sivaprabug Can you please check if your networkd repo is pointing to the latest master? There is some recent fix for this issue.
openbmc/phosphor-networkd@86c4f44
You also need openbmc/phosphor-networkd@c620120
Hi @sunharis
Above commit changes available. While setting the second static ip we get the same Gateway ip as the IP Address.
OK. The fix which i mentioned was for After flashing initially we got the wrong Network details conflict between static and DHCP
But the issue you are talking about here is - After patching the static network, you see that it writes the gateway ip value on the address property. Have you checked what values are set at the dbus network objects?
OK. The fix which i mentioned was for
After flashing initially we got the wrong Network details conflict between static and DHCP
But the issue you are talking about here is - After patching the static network, you see that it writes the gateway ip value on the address property. Have you checked what values are set at the dbus network objects?
Hi @sunharis
/redfish/v1/Managers/bmc/EthernetInterfaces/eth1
Payload:
{
"IPv4StaticAddresses": [
{
"Address": "10.0.100.20",
"SubnetMask": "255.255.224.0",
"Gateway": "10.0.96.1"
},
{
"Address": "10.0.100.21",
"SubnetMask": "255.255.224.0",
"Gateway": "10.0.96.1"
}
]
}
Response from GET call:
/redfish/v1/Managers/bmc/EthernetInterfaces/eth1
Verified in DBUS :
FYI:
Webui:
@sivaprabug seems this is working as expected, can we close this issue
@sivaprabug seems this is working as expected, can we close this issue
Yes @raviteja-b now working as expected we can close this issue
Describe the bug
After flashing initially we got the wrong Network details conflict between static and DHCP
Environment
evb-ast2600, Not tested in QEMU
Build steps
To Reproduce
Here DHCPEnabled: true but in IPv4Addresses AddressOrigin is Static Mode
In webui-vue:
For example setting Static IP for eth1.
In GET call IPv4Addresses array Address value get the Gateway value.
Due to this scenario, Gateway IP assigned to IP address Network collapsed
Is this a regression
Not verified previously, now only looking at this module.
Expected behavior was
DHCP mode IP addresses AddressOrigin in DHCP mode only Static mode IP addresses AddressOrigin in Static mode only
Kindly help to resolve this issue