add some test function for modifying network interface