ubuntu 15.04 dhcp: option routers and option rfc3442-classless-static-routes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi.
Sorry for my bad english.
Iam using option rfc3442-
# cat /var/lib/
lease {
interface "eth0";
fixed-address 192.168.120.170;
option subnet-mask 255.255.255.0;
option routers 192.168.120.1;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option domain-name-servers 192.168.120.1;
option dhcp-server-
option ntp-servers 192.168.120.1;
option rfc3442-
option broadcast-address 192.168.120.255;
option domain-name "home.xmu";
renew 1 2015/06/15 05:45:48;
rebind 1 2015/06/15 17:04:48;
expire 1 2015/06/15 20:04:48;
}
In other operation system:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.120.1 0.0.0.0 UG 0 0 0 eth0
10.125.0.0 192.168.120.110 255.255.255.0 UG 0 0 0 eth0
192.168.120.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
In ubuntu 15.04:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.125.0.0 192.168.120.110 255.255.255.0 UG 0 0 0 eth0
192.168.120.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
No default gateway!!!
# cat /var/lib/
lease {
interface "eth0";
fixed-address 192.168.120.169;
option subnet-mask 255.255.255.0;
option routers 192.168.120.1;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option domain-name-servers 192.168.120.1;
option dhcp-server-
option ntp-servers 192.168.120.1;
option rfc3442-
option broadcast-address 192.168.120.255;
option domain-name "home.xmu";
renew 1 2015/06/15 07:41:11;
rebind 1 2015/06/15 16:57:38;
expire 1 2015/06/15 19:57:38;
}
If i comment option rfc3442-
Default gateway works fine:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.120.1 0.0.0.0 UG 0 0 0 eth0
192.168.120.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
# cat /etc/issue
Ubuntu 15.04 \n \l
# uname -a
Linux wp01 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# aptitude show isc-dhcp-client
Package: isc-dhcp-client
State: installed
Automatically installed: no
Version: 4.3.1-5ubuntu2.2
Priority: important
Section: net
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Uncompressed Size: 698 k
Depends: libc6 (>= 2.15), libdns-export100, libirs-export91, libisc-export95, debianutils (>= 2.8.2), isc-dhcp-common (= 4.3.1-5ubuntu2.2), iproute2
Suggests: resolvconf, avahi-autoipd, apparmor
Provides: dhcp-client
# aptitude show isc-dhcp-common
Package: isc-dhcp-common
State: installed
Automatically installed: no
Version: 4.3.1-5ubuntu2.2
Priority: important
Section: net
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Status changed to 'Confirmed' because the bug affects multiple users.