Hi Gilad,

Since I cannot reproduce this Bcast address 0.0.0.0 during statelite
provision, I think it is not directly caused by xCAT statelite provision.

Could you provide more information about this? So that we can do more
investigation.

Could you give us node definition and ifcfg-eth0 file contents?

Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
         ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian
District,
         Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193



From:   Gilad Berman <gber...@lenovo.com>
To:     xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date:   05/22/2017 02:36 PM
Subject:        Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment



Yuan Bai,

1, Is eth0 your install nic? install nic is configured by dhcp in xCAT, if
eth0 is install nic, the bcast is not configured by xCAT directly, it
should be calculated.

[gb] Eth0 is the install NIC. On other NICs configured by DHCP (in
statefull install for example) I see the right bcast address.
Usually the bcast address is being configured automatically.


2, Is eth0 configured by scripts from xCAT? for example, do you use
confignics or confignetwork scipts or etc to configure eth0?
If you using scripts in xCAT, could you tell me which scripts? I can look
into it.

[gb] No scripts are used, anyway after boot there is not much can be done
to this NIC because no


3, If you using other scripts to configure eth0, the following command may
cause the bcast address as 0.0.0.0:
            /sbin/ip link set eth0 down
            /sbin/ip addr add 10.10.101.51/24 dev eth0
            /sbin/ip link set eth0 up

            You should use:
                        /sbin/ip addr add 10.10.101.51/24 broadcast
                        10.10.101.255 dev eth0

[gb] There is no issue with configuring the address manually after boot
(ifconfig or ip), so we have a simple workaround. The reason I am trying to
find the root course is because there might be some hidden issue that will
hurt something else later. I am basically trying to understand why the
bcast address is not being calculated and configured at boot time.
The only time this NIC is being configured is the boot time, after that, it
is impossible to bring it down.
Any idea why in the first place there is no bcast? Any DHCP options that
prevents it?

THX a lot!!!


                                                                                
                                                      
 
http://lenovocentral.lenovo.com/marketing/branding/email_signature/images/gradient.gif
                                               
                                                                                
                                                      
                                                                                
                                                      
                                                                                
                                                      
                                                                                
                                                      
 Gilad Berman                                                                   
         DCG-Hardware                                 
 HPC Architect                                                                  
                                                      
 Lenovo EMEA                                                                    
                                                      
                                                                                
                                                      
                           Phone+972-52-2554262                                 
                                                      
                           emailgber...@lenovo.com                              
                                                      
                                                                                
                                                      
                                                                                
                                                      
                                                                                
                                                      
                                                                                
                                                      
                                                                                
                                                      
                                                                                
                                                      
                                                                                
                                                      
 Lenovo.com                                                                     
                                                      
 Twitter | Facebook | Instagram | Blogs | Forums                                
                                                      
                                                                                
                                                      
                                                                                
                                                      
                                                                                
                                                      




From: Yuan Y Bai [mailto:by...@cn.ibm.com]
Sent: Monday, May 22, 2017 9:21 AM
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment



Sorry for mistake of eth1, should eth0 in previous mail.
            /sbin/ip addr add 10.10.101.51/24 dev eth0
            /sbin/ip link set eth0 up

            You should use:
                        /sbin/ip addr add 10.10.101.51/24 broadcast
                        10.10.101.255 dev eth0
Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193

Inactive hide details for "Yuan Y Bai" ---05/22/2017 02:18:54 PM---Hi
Gilad, I provisioned sles12.2 statelite using xCAT, I can"Yuan Y Bai"
---05/22/2017 02:18:54 PM---Hi Gilad, I provisioned sles12.2 statelite
using xCAT, I cannot reproduce this Bcase

From: "Yuan Y Bai" <by...@cn.ibm.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 05/22/2017 02:18 PM
Subject: Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment




Hi Gilad,

I provisioned sles12.2 statelite using xCAT, I cannot reproduce this Bcase
adress 0.0.0.0 for install nic through provisioning.

I have following questions:

1, Is eth0 your install nic? install nic is configured by dhcp in xCAT, if
eth0 is install nic, the bcast is not configured by xCAT directly, it
should be calculated.

2, Is eth0 configured by scripts from xCAT? for example, do you use
confignics or confignetwork scipts or etc to configure eth0?
If you using scripts in xCAT, could you tell me which scripts? I can look
into it.

3, If you using other scripts to configure eth0, the following command may
cause the bcast address as 0.0.0.0:
            /sbin/ip link set eth0 down
            /sbin/ip addr add 10.10.101.51/24 dev eth0
            /sbin/ip link set eth0 up

            You should use:
                        /sbin/ip addr add 10.10.101.51/24 broadcast
                        10.10.101.255 dev eth0

Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193

Inactive hide details for "Yuan Y Bai" ---05/22/2017 10:55:37 AM---Hi
Gilad, Thanks your information, let me try to reproduce i"Yuan Y Bai"
---05/22/2017 10:55:37 AM---Hi Gilad, Thanks your information, let me try
to reproduce it in my environment.

From: "Yuan Y Bai" <by...@cn.ibm.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 05/22/2017 10:55 AM
Subject: Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment




Hi Gilad,

Thanks your information, let me try to reproduce it in my environment.


Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193

Inactive hide details for Gilad Berman ---05/20/2017 04:06:14 AM---All, I
am assuming many linux experts on this list, so sinceGilad Berman
---05/20/2017 04:06:14 AM---All, I am assuming many linux experts on this
list, so since I am not sure this is purely xCAT issue

From: Gilad Berman <gber...@lenovo.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 05/20/2017 04:06 AM
Subject: [xcat-user] Bcast address 0.0.0.0 Statelite deployment




All,

I am assuming many linux experts on this list, so since I am not sure this
is purely xCAT issue, any hints are more than welcome 😊

In our statelite deployment the boot interface comes up with broadcast
address of 0.0.0.0 –
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 6C:AE:8B:08:8E:03
inet addr:10.10.101.51 Bcast:0.0.0.0 Mask:255.255.255.0
….

The broadcast address can be setup easily with ifconfig eth0 broadcast.
Eth1 boots with the right bcast address.

I wonder what could cause this issue, when seems there is no limitation on
setting it.

OS is SLES12.2 and deployment method is statelite (statefull works as
expected).

THX in advance!


                                                                                
                                                  
 
http://lenovocentral.lenovo.com/marketing/branding/email_signature/images/gradient.gif
                                           
                                                                                
                                                  
                                                                                
                                                  
                                                                                
                                                  
                                                                                
                                                  
 Gilad Berman                                                                   
        DCG-Hardware                              
 HPC Architect                                                                  
                                                  
 Lenovo EMEA                                                                    
                                                  
                           Phone+972-52-2554262                                 
                                                  
                           emailgber...@lenovo.com                              
                                                  
                                                                                
                                                  
                                                                                
                                                  
                                                                                
                                                  
 Lenovo.com                                                                     
                                                  
 Twitter | Facebook | Instagram | Blogs | Forums                                
                                                  
                                                                                
                                                  
                                                                                
                                                  





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user






------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to