Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/demo.py is broken #61

Open
cschlesi opened this issue Jan 15, 2013 · 0 comments
Open

examples/demo.py is broken #61

cschlesi opened this issue Jan 15, 2013 · 0 comments
Labels

Comments

@cschlesi
Copy link
Member

Running on the VM image yields the following output:

vagrant@vagrant-ubuntu-ocelot:~/netcore/examples$ sudo ./demo.py vagrant
[INFO : 2013-01-15 14:31:51 EST : nettle] could not accept switch switch broke connection
[NOTICE : 2013-01-15 14:31:53 EST : controller] switch 1 connected
xterm -e "echo "Ping Connectivity over MAC Learning:"; echo "Ctrl+D to exit"; ping 10.0.0.2 -c 10; bash"
[INFO : 2013-01-15 14:31:55 EST : nettle] could not accept switch switch broke connection
[NOTICE : 2013-01-15 14:31:56 EST : controller] switch 1 connected
xterm -e "echo "ARP caching using MAC Learning for connectivity"; echo "Ctrl+D to exit"; echo "Unfortunately, arping doesn't work on mininet."; arp -n; echo "At first, ping uses regular ARP over the MAC learning:"; ping 10.0.0.2 -c 1; arp -n; echo "But if we clear the ARP table, we get a reply from the controller:"; arp -d 10.0.0.2; arp -n; ping 10.0.0.2 -c 1; bash"
[INFO : 2013-01-15 14:31:56 EST : ARP] Got new routing policy for ARP
[INFO : 2013-01-15 14:31:58 EST : nettle] could not accept switch switch broke connection
[NOTICE : 2013-01-15 14:31:59 EST : controller] switch 1 connected
xterm -e "echo "Pings get blocked when at high frequency,"; echo "Ctrl+D to exit"; echo "# ping 10.0.0.2-i 0.1 -c 50 -q"; ping 10.0.0.2 -i 0.1 -c 50 -q; echo "but SSH still works because it's on a different slice."; echo "(but do give it a moment...)"; echo "# ssh vagrant@10.0.0.2"; ssh vagrant@10.0.0.2; bash"
xterm -e "echo "SSH Daemon on the other host"; echo "Ctrl+D to exit"; $(which sshd) -d; bash"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant