Using Debian 4.9.0-3-amd64 virtual machine with following network configuaration.
ifconfig -a
Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1460
inet 10.142.0.2 netmask 255.255.255.255 broadcast 10.142.0.2
ether 42:01:0a:8e:00:02 txqueuelen 1000 (Ethernet)
RX packets 36655970 bytes 16550631459 (15.4 GiB)
RX errors 0 dropped 0 overruns 0 frame 441
TX packets 50174357 bytes 20433681778 (19.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 142874 bytes 12105334 (11.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 142874 bytes 12105334 (11.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
cat /etc/network/interfaces
Code:
## interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth0
iface eth0 inet dhcp#
Issue is /var/log/syslog is flooded with messages as below
Code:
Jan 16 10:10:58 pdp-dev1 root: /etc/dhcp/dhclient-exit-hooks.d/rfc3442-classless-routes returned non-zero exit status 2
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPDECLINE on eth0 to 255.255.255.255 port 67
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPREQUEST of 10.142.0.2 on eth0 to 255.255.255.255 port 67
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPOFFER of 10.142.0.2 from 169.254.169.254
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPACK of 10.142.0.2 from 169.254.169.254
Jan 16 10:10:58 pdp-dev1 root: /etc/dhcp/dhclient-exit-hooks.d/rfc3442-classless-routes returned non-zero exit status 2