Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101027 - config_ethX with br keywork does not work with aliases
Summary: config_ethX with br keywork does not work with aliases
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-01 14:57 UTC by Patrick Benoit
Modified: 2005-08-01 23: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 Patrick Benoit 2005-08-01 14:57:46 UTC
in /etc/conf.d/net 
 
config_eth0=( "192.168.0.2/26   br 192.168.0.63")  is working 
 
config_eth0=( "192.168.0.2/26   br 192.168.0.63" 
              "192.168.0.254/26 br 192.168.0.255" ) is not working 
 
config_eth0=( "192.168.0.2/26   broadcast 192.168.0.63" 
              "192.168.0.254/26 broadcast 192.168.0.255" ) is working 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-08-01 23:28:59 UTC
I've never seen addresses done like that before.

Consulting the man pages for ifconfig and iproute2 there is no documentation
supporting this behaviour. Gentoo does not document this either.

Therefore although it may work like this now, there is no guarantee that it will
in the future. And as you rightly pointed out, it works using the word "broadcast".

I'm unwilling to fix this as it introduced too much amiguity as b br bro broa
broad broadc broadca broadcas broadcast all match and do the same thing. But as
you pointed out, under certain situations it fails whereas broadcast always works.