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
Problem:
Unable to add a new IP address with a different gateway than the existing gateway
Steps to recreate:
Add a new IP on eth1 with a different gateway than the existing IP using the curl command
curl -k -H "X-Auth-Token: $bmc_token" -H "Content-Type: application/json" -X PATCH -d '{"IPv4StaticAddresses":[{},{"Address": "xx.xx.xx.xx","SubnetMask": "xxx.xxx.xxx.xxx","Gateway":"yy.yy.yy.yy"}]}' https://$bmc/redfish/v1/Managers/bmc/EthernetInterfaces/eth1
Seeing that it is throwing 400 error and giving the error 'IPv4StaticAddresses/1/Gateway' couldn't be written as it is conflicting the value 'IPv4StaticAddresses/0/Gateway'
Expected Results:
Expecting that we must be able to modify the gateway.
The text was updated successfully, but these errors were encountered:
And if I try to add another IP with it's own GW -- all I have got will be 400 error about conflicting GW settings between new IP config and last saved IP config. BUT. after this error bmcweb will set all GW to 0.0.0.0:
Problem:
Unable to add a new IP address with a different gateway than the existing gateway
Steps to recreate:
Add a new IP on eth1 with a different gateway than the existing IP using the curl command
curl -k -H "X-Auth-Token: $bmc_token" -H "Content-Type: application/json" -X PATCH -d '{"IPv4StaticAddresses":[{},{"Address": "xx.xx.xx.xx","SubnetMask": "xxx.xxx.xxx.xxx","Gateway":"yy.yy.yy.yy"}]}' https://$bmc/redfish/v1/Managers/bmc/EthernetInterfaces/eth1
Seeing that it is throwing 400 error and giving the error 'IPv4StaticAddresses/1/Gateway' couldn't be written as it is conflicting the value 'IPv4StaticAddresses/0/Gateway'
Expected Results:
Expecting that we must be able to modify the gateway.
The text was updated successfully, but these errors were encountered: