add support to configure static ip

Reviewer: trivial