sudo mn --topo single,3 --mac
- In the mininet prompt
- h3 ifconfig h3-eth0 30.0.0.3
- h1 route add default gw 10.0.0.254 h1-eth0
- h3 route add default gw 30.0.0.254 h3-eth0
各位師長、家長以及在座所有的畢業生們大家好, | |
今天,是個特別的日子 | |
為什麼特別? | |
是因為一群人穿者碩士袍聚在一起? | |
還是因為你父母從遠方而來參加這場畢業典禮? | |
亦或是你等等準備上台接受撥穗? | |
都不是 | |
真正的特別的是,過了今天以後,你還是不能畢業 |
protected Command processPacketInMessage(IOFSwitch sw, OFPacketIn pi, | |
FloodlightContext cntx) { | |
Ethernet eth = | |
IFloodlightProviderService.bcStore. | |
get(cntx,IFloodlightProviderService.CONTEXT_PI_PAYLOAD); | |
logger.error("ethernet:{}",eth.toString()); | |
.... | |
.... | |
... |
64 bytes from 10.0.0.4: icmp_req=71 ttl=64 time=0.028 ms
64 bytes from 10.0.0.4: icmp_req=72 ttl=64 time=195 ms
64 bytes from 10.0.0.4: icmp_req=73 ttl=64 time=0.157 ms
tag v2.2-beta1 | |
Tagger: David Sommerseth <dazo@users.sourceforge.net> | |
Date: Mon Aug 16 20:43:39 2010 +0200 | |
2010.08.10 -- Version 2.2-beta1 | |
* When aborting in a non-graceful way, try to execute do_close_tun in | |
init.c prior to daemon exit to ensure that the tun/tap interface is | |
closed and any added routes are deleted. |
routemap.c:405:7: warning: Access to field 'instance' results in a dereference of a null pointer (loaded from variable 'zlog_default') | |
if (zlog_default->instance) | |
^~~~~~~~~~~~~~~~~~~~~~ | |
routemap.c:1689:9: warning: Access to field 'nextrm' results in a dereference of a null pointer (loaded from variable 'index') | |
index->nextrm, | |
^~~~~~~~~~~~~ | |
2 warnings generated. | |
ptm_lib.c:385:13: warning: Branch condition evaluates to a garbage value | |
if (!p_ctxt) { | |
^~~~~~~ |