add dhcp mode

Signed-off-by: gaoguodong <gaoguodong@sunniwell.net>