[Bug 924880] [NEW] ipv4 broadcast address set to 0.0.0.0

Arnaud FLORENT 924880 at bugs.launchpad.net
Wed Feb 1 13:24:13 UTC 2012


Public bug reported:

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

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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