added support for specifying default gateway
added dust support