How to set IP segment details in Device View?