read address from nexthop.cfg and write to config file

read address from nexthop.cfg and write to config file
including init config and compare result