updated the network create with netwmask and gw