I'm try to configure eth0 interface in /etc/conf.d/net: config_eth1=( "2.2.2.2 netmask 255.255.255.0" ) and got next surprise: #ifconfig eth0 Link encap:Ethernet HWaddr 00:60:08:9D:86:8F inet addr:2.2.2.2 Bcast:2.255.255.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:13817 errors:0 dropped:0 overruns:0 frame:0 TX packets:7545 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:889845 (868.9 Kb) TX bytes:2952120 (2.8 Mb) Interrupt:20 Base address:0xc400 Broadcast is not calculated automatically for netmask 255.255.255.0. Why? Bcast:2.255.255.255 >8-[ ] Reproducible: Always Steps to Reproduce: 1. 2. 3.
ifconfig does not automatically calculate a broadcast iproute2 attempts to calculate one baselayout-1.11 uses ifconfig by default baselayout-1.12 uses iproute2 by default - if installed