Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 101027

Summary: config_ethX with br keywork does not work with aliases
Product: Gentoo Linux Reporter: Patrick Benoit <ppbnode>
Component: [OLD] baselayoutAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.