Switching to static network address issues

Ratan Gupta ratagupt at linux.vnet.ibm.com
Wed Apr 10 22:55:32 AEST 2019


Hi Gunnar,

Can you take a look at what are the rest url which is being executed 
underneath?

Ratan


On 10/04/19 3:39 PM, Troy Lee wrote:
> Hi William,
>
> This issue could be reproduce with WebUI or REST interface.
> 1. Starts up romulus-bmc qemu as normal, so the IP address is acquired
> from DHCP by default, let's say "10.1.1.2".
> 2. Open the browser and login to https://10.1.1.2/,
> 3. Switch to [Server Configuration] tab.
>      Then you will see the current setting is "OBTAIN AN IP ADDRESS
> AUTOMATICALLY USING DHCP".
> 4. Click on checkbox "ASSIGN A STATIC IP ADDRESS, and DO NOT CHANGE
> the IP address, leave it the same as DHCP IP address "10.1.1.2".
> 5. Click on "Save settings" button.
>
> Thanks,
> Vertiv Avocent
> Troy Lee
>
> William Kennington <wak at google.com> 於 2019年4月10日 週三 下午5:45寫道:
>> What are the configuration steps you are using to achieve this?
>>
>> On Wed, Apr 10, 2019 at 2:36 AM Troy Lee <leetroy at gmail.com> wrote:
>>> Hi there,
>>>
>>> We met an issue about switching network address from DHCP to static issue.
>>> If we manually set the new static IP address which is the same as
>>> DHCP, the network setting will be dropped.
>>> This issue could be reproduced on qemu with romulus-bmc daily build image.
>>>
>>> root at romulus:~# cat /etc/systemd/network/00-bmc-eth0.network
>>> [Match]
>>> Name=eth0
>>> [Network]
>>> LinkLocalAddressing=yes
>>> IPv6AcceptRA=false
>>> DHCP=false
>>> Gateway=10.1.1.1
>>> [DHCP]
>>> ClientIdentifier=mac
>>> UseDNS=true
>>> UseNTP=true
>>> UseHostname=true
>>> SendHostname=true
>>>
>>> Thanks,
>>> Vertiv Avocent
>>> Troy Lee
>>> --
>>> Yu-Ting Lee (Troy Lee) <LeeTroy at gmail.com>



More information about the openbmc mailing list