[Bug 924880] Re: ipv4 broadcast address set to 0.0.0.0

Launchpad Bug Tracker 924880 at bugs.launchpad.net
Thu Mar 29 21:50:15 UTC 2012


This bug was fixed in the package ifupdown - 0.7~beta2ubuntu7

---------------
ifupdown (0.7~beta2ubuntu7) precise; urgency=low

  [ Wookey ]
  * Use cross-compiler when cross-compiling (LP: #967227)
    Also merged upstream as:
    http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/b21bc14d9109

  [ Stéphane Graber ]
  * Cherry pick commits from upstream to fix the broadcast address (LP: #924880)
    http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/d31ffdb89dbb
    http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/b996bb5866f5
    http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/fbe3c242d6f8
    http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/bdfd32ad6287
    http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/d144dfdd7940

  * Detect bogus dns-nameservers line in /etc/network/interfaces and
    automatically comment them (LP: #932275)
 -- Stephane Graber <stgraber at ubuntu.com>   Thu, 29 Mar 2012 17:39:32 -0400

** Changed in: ifupdown (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/924880

Title:
  ipv4 broadcast address set to 0.0.0.0

Status in “ifupdown” package in Ubuntu:
  Fix Released
Status in “ifupdown” package in Debian:
  Fix Committed

Bug description:
  ifupdown Version: 0.7~beta2ubuntu3

  Description:    Ubuntu precise (development branch)
  Release:        12.04

  
  if there is no broacast address in /etc/network/interfaces 

  auto eth0
  iface eth0 inet static
          address 192.168.1.252
          netmask 255.255.255.0

  ifup bring the interface up with 0.0.0.0 as broadcast address

  
  eth0      Link encap:Ethernet  HWaddr 00:0c:29:a4:d3:b7
            inet adr:192.168.1.252  Bcast:0.0.0.0  Masque:255.255.255.0
            adr inet6: fe80::20c:29ff:fea4:d3b7/64 Scope:Lien
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

  ifup runs
  ip addr add 192.168.1.252/255.255.255.0           dev eth0 label eth0


  adding broadcast 192.168.1.255 to /etc/network/interfaces
  ifup runs 
  ip addr add 192.168.1.252/255.255.255.0 broadcast 192.168.1.255           dev eth0 label eth0

  
  previously (using ifconfig), the broadcast address was correctly set via
  ifconfig eth0 192.168.1.254 netmask 255.255.255.0               up
  whithout requiring to set this address in /etc/network/interfaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/924880/+subscriptions




More information about the foundations-bugs mailing list