adding support for dhcp
formatting