DHCP IP is assigned with static IP configuration

Bug #1461692 reported by Aaron Quinto
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

This is my first time posting a bug, so I don't know the process very well. I searched Debian and Raspbian and didn't find a like bug report to this one.

We were using the latest version of Raspbian available (2015/05/05) and found that even though the interfaces files had a static configuration assigned to eth0, the DHCP client was assigning a "secondary" IP address. The second address was not shown by using ifconfig. It only appeared when using "ip addr show."

I'll post the interfaces file at the end. Here is the working version of ip addr show:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether b8:27:eb:51:e3:9f brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
       valid_lft forever preferred_lft forever

Our solution was to remove the dhcpcd5 and raspberrypi-net-mods packages as instructed by the following conversations:

The second link above has a snapshot from a Pi with the dhcpcd5 package still installed. After removing those packages, DHCP stopped assigned a secondary address to the eth0 interface, but of course, we won't have DHCP again unless we reinstall the packages.

Here is the interfaces file. No changes were made between removal of the mentioned packages.
auto lo
iface lo inet loopback

iface eth0 inet static

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Revision history for this message
Diederik (didi-debian) wrote :

I think the proper solution is item 3 from https://www.raspberrypi.org/forums/viewtopic.php?p=762704#p762704.
You may have to reset the interfaces file to it's original contents.

Let me know if that solves the issue for you.

Changed in raspbian:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Raspbian because there has been no activity for 60 days.]

Changed in raspbian:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers