ipaddress fact doesn't function properly with dummy interfaces (linux)
|Status:||Needs Decision||Start date:||05/03/2010|
|Assignee:||Paul Nasrat||% Done:|
|Keywords:||Affected Facter version:|
Since dummy devices appear alphabetically before eth devices under linux, the dummy device IP is taking precedence over eth0, making the default IP the dummy one (probably not the best idea, especially if you re-use your dummy address).
A simple fix might be to apply similar logic as later in the file, which presumes the default route is on the “lead” interface. A patch to this effect is attached.