Package: isc-dhcp-client
Version: 4.3.5-3+deb9u1
Severity: normal

Dear Maintainer,

I'm connected to my ISP via cable modem which uses an ethernet connection to my 
router running debian. On that router, I run a dhclient to retrieve my public 
ipv4 address.
Yesterday, my ISP decided to hand me the following parameters via DHCP:

inet 100.103.70.92/18 brd 255.255.255.255
(part of output from "ip addr")
default via 100.103.127.254 dev eth0
(part of output from "ip route")

which broke ipv4 for me. I manually removed the bogus broadcast address and 
added the corresponding one in my subnet:
> ip addr del 100.103.70.92/18 dev eth0
> ip addr add 100.103.70.92/18 brd 100.103.127.255 dev eth0
> route add default via 100.103.127.254 dev eth0

which immediately made ipv4 work again.

IMHO, there should be an option in dhclient (or it should be the default?) to 
map broadcast addresses (and gateway addresses?) which are outside of the 
subnet into that subnet.

OTOH, I tried today to undo my changes (without rebooting my router) and ended 
up with working ipv4 with this 255.255.255.255 broadcast address :-/


-- System Information:
Debian Release: 9.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 4.9.0-8-686 (SMP w/1 CPU core)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages isc-dhcp-client depends on:
ii  debianutils       4.8.1.1
ii  iproute2          4.9.0-1+deb9u1
ii  libc6             2.24-11+deb9u3
ii  libdns-export162  1:9.10.3.dfsg.P4-12.3+deb9u4
ii  libisc-export160  1:9.10.3.dfsg.P4-12.3+deb9u4

Versions of packages isc-dhcp-client recommends:
ii  isc-dhcp-common  4.3.5-3+deb9u1

Versions of packages isc-dhcp-client suggests:
pn  avahi-autoipd         <none>
pn  isc-dhcp-client-ddns  <none>
pn  resolvconf            <none>

-- no debconf information

Reply via email to