openbmc / phosphor-networkd

Apache License 2.0
18 stars 49 forks source link

Disconnected port IP #51

Open NKV-obmc opened 2 years ago

NKV-obmc commented 2 years ago

Is it possible to create a dbus object for IP of an physically disconnected port.

example, In BMC two ports are available eth0 and eth1. Only eth0 is connected with ethernet cable. if static ip is set to eth1 and its physically disconnected. In that case if i check the webpage it will only show connected port ip(eth0). But in Network settings page it will also list eth1 interface name and corresponding MAC adress.

Is there anyway to show the IP of physically disconnected port.

tree_network

Regards..

NKV-obmc commented 2 years ago

Tried to create IP for disconnected port using following busctl, busctl call xyz.openbmc_project.Network /xyz/openbmc_project/network/eth1 xyz.openbmc_project.Network.IP.Create IP ssys Its creating ip object but after sometimes its disappearing.. Anyway to make it stable?

wak-google commented 1 year ago

I believe we should be able to fix this by using ConfigureWithoutCarrier= for our managed devices.