2

I have a problem running python script via host command inside the Mininet topology code. The following is my code

(net.get('h0')).cmd('sudo python arp_ping.py')

The Mininet executed without errors but it is not running the script.

hikerjobs
  • 326
  • 3
  • 12
Abdul
  • 21
  • 3

1 Answers1

1

Why don't you try to run it through your host via xterm.

In mininet:

xterm h0

Then (be in the right directory):

./arp_ping.py

  • 2
    I need to add it inside the code to be able to send multiple ARP requests from different hosts simultaneously – Abdul Mar 06 '18 at 18:52