powerwake should make a best-effort attempt to guess broadcast

Bug #1315643 reported by Adam Conrad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powernap (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I powerwake by hostname or IP, powerwake knows what network that is, and if we have a route for it, we should hit that subnet's broadcast, rather than 255.255.255.255, which is less reliable.

Example here:

(base)adconrad@lucifer:~$ ip ro sh
default via 68.145.116.1 dev eth0
10.0.0.0/27 dev br0 proto kernel scope link src 10.0.0.1
68.145.116.0/22 dev eth0 proto kernel scope link src 68.145.119.149

And a powerwake to 10.0.0.14 only works if I send it explicitly to 10.0.0.31. This should be easily guessable without me having to hand-hold.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.