'Attempt to ping h1 and h2 from public server'

def testPrivatePing(self):

    self.net.sendline('h0    ping    -c    1    -t    1    h1')
    result = self.net.expect(['unreachable', 'loss'])
    self.assertEqual(result, 0)
    self.net.expect(self.prompt)
    self.net.sendline('h0    ping    -c    1    -t    1    h2')
    result = self.net.expect(['unreachable', 'loss'])
    self.assertEqual(result, 0)
    self.net.expect(self.prompt)
