get the network id from port info
use ssh to solve the dhcp