* Switching to static network address issues
@ 2019-04-10 9:35 Troy Lee
2019-04-10 9:45 ` William Kennington
0 siblings, 1 reply; 8+ messages in thread
From: Troy Lee @ 2019-04-10 9:35 UTC (permalink / raw)
To: OpenBMC Maillist
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@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@gmail.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Switching to static network address issues
2019-04-10 9:35 Switching to static network address issues Troy Lee
@ 2019-04-10 9:45 ` William Kennington
2019-04-10 10:09 ` Troy Lee
0 siblings, 1 reply; 8+ messages in thread
From: William Kennington @ 2019-04-10 9:45 UTC (permalink / raw)
To: Troy Lee; +Cc: OpenBMC Maillist
What are the configuration steps you are using to achieve this?
On Wed, Apr 10, 2019 at 2:36 AM Troy Lee <leetroy@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@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@gmail.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Switching to static network address issues
2019-04-10 9:45 ` William Kennington
@ 2019-04-10 10:09 ` Troy Lee
2019-04-10 12:55 ` Ratan Gupta
0 siblings, 1 reply; 8+ messages in thread
From: Troy Lee @ 2019-04-10 10:09 UTC (permalink / raw)
To: William Kennington; +Cc: OpenBMC Maillist
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@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@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@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@gmail.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Switching to static network address issues
2019-04-10 10:09 ` Troy Lee
@ 2019-04-10 12:55 ` Ratan Gupta
2019-04-10 21:14 ` Gunnar Mills
0 siblings, 1 reply; 8+ messages in thread
From: Ratan Gupta @ 2019-04-10 12:55 UTC (permalink / raw)
To: gmills, openbmc
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@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@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@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@gmail.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Switching to static network address issues
2019-04-10 12:55 ` Ratan Gupta
@ 2019-04-10 21:14 ` Gunnar Mills
2019-05-16 6:22 ` Tony Lee (李文富)
0 siblings, 1 reply; 8+ messages in thread
From: Gunnar Mills @ 2019-04-10 21:14 UTC (permalink / raw)
To: Ratan Gupta, openbmc
On 4/10/2019 7:55 AM, Ratan Gupta wrote:
>
> Can you take a look at what are the rest url which is being executed
> underneath?
>
When the DHCP setting changes on the GUI (e.g. "OBTAIN AN IP ADDRESS
AUTOMATICALLY USING DHCP" to "ASSIGN A STATIC IP ADDRESS"), the
/xyz/openbmc_project/network/<interface>/attr/DHCPEnabled interface is
called on "Save settings".
https://github.com/openbmc/phosphor-webui/blob/2f481e4cb83f0c72a9f3aad11431e4abcf5d632c/app/common/services/api-utils.js#L428
Hope this helps.
>
> 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.
>>
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Switching to static network address issues
2019-04-10 21:14 ` Gunnar Mills
@ 2019-05-16 6:22 ` Tony Lee (李文富)
2019-05-16 11:41 ` Troy Lee
0 siblings, 1 reply; 8+ messages in thread
From: Tony Lee (李文富) @ 2019-05-16 6:22 UTC (permalink / raw)
To: openbmc@lists.ozlabs.org
Hi there,
I also met an similar issue about switching network address from DHCP to static.
Here is my configuration steps:
1. ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan print 2
Set in Progress : Set Complete
Auth Type Support : MD5
Auth Type Enable : Callback : MD5
: User : MD5
: Operator : MD5
: Admin : MD5
: OEM : MD5
IP Address Source : DHCP Address
IP Address : 10.10.15.206
Subnet Mask : 255.255.0.0
MAC Address : 00:00:f7:a0:7f:f2
Default Gateway IP : 10.10.10.204
802.1q VLAN ID : Disabled
RMCP+ Cipher Suites : 3,17
Cipher Suite Priv Max : Not Available
Bad Password Threshold : Not Available
2. ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2 ipsrc static
3. root@gsj:~# cat /etc/systemd/network/00-bmc-eth1.network
[Match]
Name=eth1
[Network]
LinkLocalAddressing=no
IPv6AcceptRA=false
DHCP=false
Address=fe80::200:f7ff:fea0:7ff2/64
Gateway=10.10.10.204
[DHCP]
ClientIdentifier=mac
UseDNS=true
UseNTP=true
UseHostname=true
SendHostname=true
4. Set static ip
root@gsj:~# ipmitool lan set 2 ipaddr 10.10.9.3
Setting LAN IP Address to 10.10.9.3
5. root@gsj:~# cat /etc/systemd/network/00-bmc-eth1.network
[Match]
Name=eth1
[Network]
LinkLocalAddressing=no
IPv6AcceptRA=false
DHCP=false
Address=fe80::200:f7ff:fea0:7ff2/64
Gateway=10.10.10.204
[DHCP]
ClientIdentifier=mac
UseDNS=true
UseNTP=true
UseHostname=true
SendHostname=true
But static IP doesn't work.
Is my step wrong?
> -----Original Message-----
> From: openbmc
> [mailto:openbmc-bounces+tony.lee=quantatw.com@lists.ozlabs.org] On
> Behalf Of Gunnar Mills
> Sent: Thursday, April 11, 2019 5:14 AM
> To: Ratan Gupta <ratagupt@linux.vnet.ibm.com>; openbmc@lists.ozlabs.org
> Subject: Re: Switching to static network address issues
>
> On 4/10/2019 7:55 AM, Ratan Gupta wrote:
>
> >
> > Can you take a look at what are the rest url which is being executed
> > underneath?
> >
> When the DHCP setting changes on the GUI (e.g. "OBTAIN AN IP ADDRESS
> AUTOMATICALLY USING DHCP" to "ASSIGN A STATIC IP ADDRESS"), the
> /xyz/openbmc_project/network/<interface>/attr/DHCPEnabled interface is
> called on "Save settings".
>
> https://github.com/openbmc/phosphor-webui/blob/2f481e4cb83f0c72a9f3aa
> d11431e4abcf5d632c/app/common/services/api-utils.js#L428
>
> Hope this helps.
>
> >
> > 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.
> >>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Switching to static network address issues
2019-05-16 6:22 ` Tony Lee (李文富)
@ 2019-05-16 11:41 ` Troy Lee
2019-05-17 2:59 ` Tony Lee (李文富)
0 siblings, 1 reply; 8+ messages in thread
From: Troy Lee @ 2019-05-16 11:41 UTC (permalink / raw)
To: Tony Lee (李文富); +Cc: openbmc@lists.ozlabs.org
Hi Tony,
Your situation is a bit different.
You'll have 5 seconds window to send all these settings (
ipsrc/ipaddr/defgw ipaddr) through IPMI at once.
Then the network-manager of OpenBMC will correctly apply you setting
into system.
For example:
ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2 ipsrc static
ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2
ipaddr 10.10.9.3
ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2
netmask 255.255.0.0
ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2
defgw ipaddr 10.10.10.204
Otherwise, it will show the follow error message in journal log, and
it seems not recoverable from in-band IPMI.
May 16 19:03:59 romulus systemd[1]: Started Network Service.
May 16 19:03:59 romulus systemd-networkd[1261]: sit0: Could not
acquire IPv4 link-local address: Invalid argument
May 16 19:04:00 romulus systemd-networkd[1261]: eth0: Could not set
route: Network is unreachable
May 16 19:04:02 romulus systemd[1]: Starting Hostname Service...
May 16 19:03:54 romulus ipmid[1169]: Failed to set network data
Hope this helps.
However, we have similar name :)
Thanks,
Troy Lee
--
Yu-Ting Lee (Troy Lee) <LeeTroy@gmail.com>
Tony Lee (李文富) <Tony.Lee@quantatw.com> 於 2019年5月16日 週四 下午2:23寫道:
>
> Hi there,
> I also met an similar issue about switching network address from DHCP to static.
> Here is my configuration steps:
>
> 1. ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan print 2
> Set in Progress : Set Complete
> Auth Type Support : MD5
> Auth Type Enable : Callback : MD5
> : User : MD5
> : Operator : MD5
> : Admin : MD5
> : OEM : MD5
> IP Address Source : DHCP Address
> IP Address : 10.10.15.206
> Subnet Mask : 255.255.0.0
> MAC Address : 00:00:f7:a0:7f:f2
> Default Gateway IP : 10.10.10.204
> 802.1q VLAN ID : Disabled
> RMCP+ Cipher Suites : 3,17
> Cipher Suite Priv Max : Not Available
> Bad Password Threshold : Not Available
>
> 2. ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2 ipsrc static
>
> 3. root@gsj:~# cat /etc/systemd/network/00-bmc-eth1.network
> [Match]
> Name=eth1
> [Network]
> LinkLocalAddressing=no
> IPv6AcceptRA=false
> DHCP=false
> Address=fe80::200:f7ff:fea0:7ff2/64
> Gateway=10.10.10.204
> [DHCP]
> ClientIdentifier=mac
> UseDNS=true
> UseNTP=true
> UseHostname=true
> SendHostname=true
>
> 4. Set static ip
> root@gsj:~# ipmitool lan set 2 ipaddr 10.10.9.3
> Setting LAN IP Address to 10.10.9.3
>
> 5. root@gsj:~# cat /etc/systemd/network/00-bmc-eth1.network
> [Match]
> Name=eth1
> [Network]
> LinkLocalAddressing=no
> IPv6AcceptRA=false
> DHCP=false
> Address=fe80::200:f7ff:fea0:7ff2/64
> Gateway=10.10.10.204
> [DHCP]
> ClientIdentifier=mac
> UseDNS=true
> UseNTP=true
> UseHostname=true
> SendHostname=true
>
> But static IP doesn't work.
> Is my step wrong?
>
> > -----Original Message-----
> > From: openbmc
> > [mailto:openbmc-bounces+tony.lee=quantatw.com@lists.ozlabs.org] On
> > Behalf Of Gunnar Mills
> > Sent: Thursday, April 11, 2019 5:14 AM
> > To: Ratan Gupta <ratagupt@linux.vnet.ibm.com>; openbmc@lists.ozlabs.org
> > Subject: Re: Switching to static network address issues
> >
> > On 4/10/2019 7:55 AM, Ratan Gupta wrote:
> >
> > >
> > > Can you take a look at what are the rest url which is being executed
> > > underneath?
> > >
> > When the DHCP setting changes on the GUI (e.g. "OBTAIN AN IP ADDRESS
> > AUTOMATICALLY USING DHCP" to "ASSIGN A STATIC IP ADDRESS"), the
> > /xyz/openbmc_project/network/<interface>/attr/DHCPEnabled interface is
> > called on "Save settings".
> >
> > https://github.com/openbmc/phosphor-webui/blob/2f481e4cb83f0c72a9f3aa
> > d11431e4abcf5d632c/app/common/services/api-utils.js#L428
> >
> > Hope this helps.
> >
> > >
> > > 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.
> > >>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Switching to static network address issues
2019-05-16 11:41 ` Troy Lee
@ 2019-05-17 2:59 ` Tony Lee (李文富)
0 siblings, 0 replies; 8+ messages in thread
From: Tony Lee (李文富) @ 2019-05-17 2:59 UTC (permalink / raw)
To: Troy Lee; +Cc: openbmc@lists.ozlabs.org
Hi Troy,
It's work! Thank you for your help.
Thanks
Tony
> -----Original Message-----
> From: Troy Lee [mailto:leetroy@gmail.com]
> Sent: Thursday, May 16, 2019 7:41 PM
> To: Tony Lee (李文富) <Tony.Lee@quantatw.com>
> Cc: openbmc@lists.ozlabs.org
> Subject: Re: Switching to static network address issues
>
> Hi Tony,
>
> Your situation is a bit different.
>
> You'll have 5 seconds window to send all these settings ( ipsrc/ipaddr/defgw
> ipaddr) through IPMI at once.
> Then the network-manager of OpenBMC will correctly apply you setting into
> system.
> For example:
> ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2 ipsrc static
> ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2 ipaddr
> 10.10.9.3
> ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2 netmask
> 255.255.0.0
> ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2 defgw
> ipaddr 10.10.10.204
>
>
> Otherwise, it will show the follow error message in journal log, and it seems
> not recoverable from in-band IPMI.
> May 16 19:03:59 romulus systemd[1]: Started Network Service.
> May 16 19:03:59 romulus systemd-networkd[1261]: sit0: Could not acquire
> IPv4 link-local address: Invalid argument
> May 16 19:04:00 romulus systemd-networkd[1261]: eth0: Could not set
> route: Network is unreachable
> May 16 19:04:02 romulus systemd[1]: Starting Hostname Service...
> May 16 19:03:54 romulus ipmid[1169]: Failed to set network data
>
> Hope this helps.
>
> However, we have similar name :)
>
> Thanks,
> Troy Lee
>
> --
> Yu-Ting Lee (Troy Lee) <LeeTroy@gmail.com>
>
> Tony Lee (李文富) <Tony.Lee@quantatw.com> 於 2019年5月16日 週四 下
> 午2:23寫道:
>
> >
> > Hi there,
> > I also met an similar issue about switching network address from DHCP to
> static.
> > Here is my configuration steps:
> >
> > 1. ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan print 2
> > Set in Progress : Set Complete
> > Auth Type Support : MD5
> > Auth Type Enable : Callback : MD5
> > : User : MD5
> > : Operator : MD5
> > : Admin : MD5
> > : OEM : MD5
> > IP Address Source : DHCP Address
> > IP Address : 10.10.15.206
> > Subnet Mask : 255.255.0.0
> > MAC Address : 00:00:f7:a0:7f:f2
> > Default Gateway IP : 10.10.10.204
> > 802.1q VLAN ID : Disabled
> > RMCP+ Cipher Suites : 3,17
> > Cipher Suite Priv Max : Not Available
> > Bad Password Threshold : Not Available
> >
> > 2. ipmitool -H 10.10.15.206 -U root -P 0penBmc -I lanplus lan set 2
> > ipsrc static
> >
> > 3. root@gsj:~# cat /etc/systemd/network/00-bmc-eth1.network
> > [Match]
> > Name=eth1
> > [Network]
> > LinkLocalAddressing=no
> > IPv6AcceptRA=false
> > DHCP=false
> > Address=fe80::200:f7ff:fea0:7ff2/64
> > Gateway=10.10.10.204
> > [DHCP]
> > ClientIdentifier=mac
> > UseDNS=true
> > UseNTP=true
> > UseHostname=true
> > SendHostname=true
> >
> > 4. Set static ip
> > root@gsj:~# ipmitool lan set 2 ipaddr 10.10.9.3 Setting LAN IP Address
> > to 10.10.9.3
> >
> > 5. root@gsj:~# cat /etc/systemd/network/00-bmc-eth1.network
> > [Match]
> > Name=eth1
> > [Network]
> > LinkLocalAddressing=no
> > IPv6AcceptRA=false
> > DHCP=false
> > Address=fe80::200:f7ff:fea0:7ff2/64
> > Gateway=10.10.10.204
> > [DHCP]
> > ClientIdentifier=mac
> > UseDNS=true
> > UseNTP=true
> > UseHostname=true
> > SendHostname=true
> >
> > But static IP doesn't work.
> > Is my step wrong?
> >
> > > -----Original Message-----
> > > From: openbmc
> > > [mailto:openbmc-bounces+tony.lee=quantatw.com@lists.ozlabs.org] On
> > > Behalf Of Gunnar Mills
> > > Sent: Thursday, April 11, 2019 5:14 AM
> > > To: Ratan Gupta <ratagupt@linux.vnet.ibm.com>;
> > > openbmc@lists.ozlabs.org
> > > Subject: Re: Switching to static network address issues
> > >
> > > On 4/10/2019 7:55 AM, Ratan Gupta wrote:
> > >
> > > >
> > > > Can you take a look at what are the rest url which is being
> > > > executed underneath?
> > > >
> > > When the DHCP setting changes on the GUI (e.g. "OBTAIN AN IP ADDRESS
> > > AUTOMATICALLY USING DHCP" to "ASSIGN A STATIC IP ADDRESS"), the
> > > /xyz/openbmc_project/network/<interface>/attr/DHCPEnabled interface
> > > is called on "Save settings".
> > >
> > >
> https://github.com/openbmc/phosphor-webui/blob/2f481e4cb83f0c72a9f3a
> > > a
> > > d11431e4abcf5d632c/app/common/services/api-utils.js#L428
> > >
> > > Hope this helps.
> > >
> > > >
> > > > 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.
> > > >>
> >
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-05-17 2:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-10 9:35 Switching to static network address issues Troy Lee
2019-04-10 9:45 ` William Kennington
2019-04-10 10:09 ` Troy Lee
2019-04-10 12:55 ` Ratan Gupta
2019-04-10 21:14 ` Gunnar Mills
2019-05-16 6:22 ` Tony Lee (李文富)
2019-05-16 11:41 ` Troy Lee
2019-05-17 2:59 ` Tony Lee (李文富)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.