How to assign STATIC/DYNAMIC IP address