def ping(self):
    network_layer = IP(src=self.src, dst=self.host)
    packet = (network_layer / ICMP(code=8))
    print('Ping host at {} from {}'.format(self.host, self.src))
    send(packet)
def ping(self):
    network_layer = IP(src=self.src, dst=self.host)
    packet = (network_layer / ICMP(code=8))
    print('Ping host at {} from {}'.format(self.host, self.src))
    send(packet)