Re: [rock-user] Broadcast address for network interfaces

Tobias Hintze <[email protected]> Thu, 27 Oct 2005 10:33:18 +0200
Newsgroups gmane.linux.distributions.rock.devel,gmane.linux.distributions.rock.user
Message-ID <[email protected]>
On Thu, Oct 27, 2005 at 12:45:55AM +0200, Bernd Petrovitsch wrote:
> On Thu, 2005-10-27 at 00:18 +0200, Bernd Petrovitsch wrote:
> > How is one expected to set the broadcast address for network
> > interfaces with stone in -stable?
> > I can't find anything relevant in the options. And actually th broadcast
> > addresscan be calculated and set automagically.
> 
> Done. Just apply the attached patch to a running Rock-stable.

thanks - it's applied to stable in r6518.

th
--

> 
> 	Bernd
> -- 
> Firmix Software GmbH                   http://www.firmix.at/
> mobil: +43 664 4416156                 fax: +43 1 7890849-55
>           Embedded Linux Development and Services
> 
> 

> --- /etc/network/modules/iproute2.sh-orig	2005-10-27 00:46:39.304042388 +0200
> +++ /etc/network/modules/iproute2.sh	2005-10-27 00:45:28.142863877 +0200
> @@ -8,7 +8,7 @@
>  }
>  
>  public_ip() {
> -	addcode up 5 5 "ip addr add $1 dev $if"
> +	addcode up 5 5 "ip addr add $1 broadcast + dev $if"
>  	iproute2_init_if
>  }
>  

> _______________________________________________
> rock-user mailing list
> [email protected]
> http://www.rocklinux.net/mailman/listinfo/rock-user


-- 
Tobias Hintze http://hbs-solutions.de
HBS solutions GbR - Network & Information Systems