Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113485 - /etc/init.d/net.lo not work correctly
Summary: /etc/init.d/net.lo not work correctly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-24 10:26 UTC by Andrey Kolbasenko
Modified: 2005-11-24 13:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kolbasenko 2005-11-24 10:26:12 UTC
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.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-11-24 13:28:15 UTC
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