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.

0

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

1 Comment

I need to add it inside the code to be able to send multiple ARP requests from different hosts simultaneously

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.