-
Notifications
You must be signed in to change notification settings - Fork 49
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
BMC allows us to configure reserved IP addresses like Loopback, Broadcast, Network ID & multicast IP addreses #45
Comments
As per discord discussion, Networkd validate the IP addresses as per the inet_pton criteria seems its discussed in the past and the decision was to just make sure that the configured IP address is inet_pton compatible. |
These IP addresses loopback, network-ID etc are valid IP addresses, but reserved IP addresses and have specific purpose. |
There will be too much of such validation checks, it is good to have those checks, I would assume the network admin should know that it should not configure such addresses on the interface. |
I find openbmc-test-automation has these test cases. |
…penbmc#45) Currently Network Manager is continuously looking up for NTP servers from Systemd-Timesyncd when manual mode is set. This commit fixes this behaviour and avoids reading NTP servers from Systemd-Timesyncd in Manual mode
@swe12345 is there any conclusion, whether Dev team plan for any fix for this issue? |
Yes, we should be able to block these configurations as there is no reason for any of them to be assigned to an active adapter. |
@wak-google any update on this.is there any timeline when this enhancement will be added? |
any update on this? |
I doubt this is being actively worked. You are more than welcome to contribute a solution on Gerrit. |
I see @wak-google has made these changes already. Set of changes like https://gerrit.openbmc.org/c/openbmc/phosphor-networkd/+/60772 and https://gerrit.openbmc.org/c/openbmc/phosphor-networkd/+/60771. These should get merged to fix this issue. |
The above (and possibly other) commits have been merged. |
BMC allows us to configure reserved IP addresses like Loopback, Broadcast, Network ID & multicast IP addreses.
Expectation: Should throw an error while configuring these Reserved & non-routable IP addresses.
Tried configuration with 127.0.0.1, 10.5.5.255
The text was updated successfully, but these errors were encountered: