




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、第1部分:Everyday Mininet Usage首先是是命令語法 $這個符號代表現(xiàn)在處于 Linux 的shell 交互下,需要使用的是 Linux 命令 mininet這個符號表示現(xiàn)在處于 Mininet 交互下,需要使用的是 Mininet 的命令 這個符號表示的是現(xiàn)在處于 Linux 的 root 權(quán)限下。以上相應(yīng)的狀態(tài)下下屬于對應(yīng)的命令,就能夠得到正常的輸出。需要注意的是mininet的情況比較特殊,需要使用 minient 的命令來進(jìn)行交互。Display Startup Options我們首先來啟動 Mininet。鍵入以下命令來顯示Mininet的幫助信息:$ sudo m
2、n -hUsage: mn options(type mn -h for details)The mn utility creates Mininet network from the command line. It can createparametrized topologies, invoke the Mininet CLI, and run tests.Options:-h, -help show this help message and exit-switch=SWITCH ivs|ovsk|ovsl|user,param=value.-host=HOST cfs|proc|rt
3、,param=value.-controller=CONTROLLERnone|nox|ovsc|ref|remote,param=value.-link=LINK default|tc,param=value.-topo=TOPO linear|minimal|reversed|single|tree,param=value.-c, -clean clean and exit-custom=CUSTOM read custom topo and node params from .pyfile-test=TEST cli|build|pingall|pingpair|iperf|all|ip
4、erfudp|none-x, -xterms spawn xterms for each node-i IPBASE, -ipbase=IPBASEbase IP address for hosts-mac automatically set host MACs-arp set all-pairs ARP entries-v VERBOSITY, -verbosity=VERBOSITYinfo|warning|critical|error|debug|output-innamespace sw and ctrl in namespace?-listenport=LISTENPORTbase
5、port for passive switch listening-nolistenport dont use passive listening port-pre=PRE CLI script to run before tests-post=POST CLI script to run after tests-pin pin hosts to CPU cores (requires -host cfs or -hostrt)-version如上所示,輸出了 mn 的幫助信息。Start Wireshark為了使用 Wireshark 來查看 OpenFlow 的控制信息,我們先打開 Wir
6、eshark 并讓他在后臺運(yùn)行。$ sudo wireshark &在 Wireshark 的過濾選項中,輸入of,然后選擇 Apply。In Wireshark, click Capture, then Interfaces, then select Start on the loopback interface (lo).現(xiàn)在窗口上暫時應(yīng)該沒有任何 OpenFlow 的數(shù)據(jù)包。注:在Mininet VM鏡像中Wireshark是默認(rèn)已經(jīng)安裝的。如果你的系統(tǒng)中沒有Wireshark的和OpenFlow,您可以使用Mininet的install.sh腳本,按以下步驟安裝:$ cd $ git
7、clone $ mininet/util/install.sh -w如果已經(jīng)安裝了 Wireshark,但是運(yùn)行不了(e.g. 你得到一個類似$DISPLAY not set之類的錯誤信息,可以參考 FAQ,:設(shè)置好 X11就可以正常運(yùn)行 GUI 程序,并且使用 xterm 之類的終端仿真器了,后面的演示中可以用到。Interact with Hosts and SwitchesStart a minimal topology and enter the CLI:$ sudo mn默認(rèn)的最小拓?fù)浣Y(jié)構(gòu)包含有兩臺主機(jī)(h1,h2),還有一個 OpenFlow 的交換機(jī),一個 OpenFlow 的控
8、制器四臺設(shè)備。這種拓?fù)浣涌谝部梢允褂?topo=minimal來指定。當(dāng)然我們也可以使用其他的拓?fù)浣Y(jié)構(gòu),具體信息可以看-topo的信息。現(xiàn)在四個實體(h1,h2,c0,s1)都在運(yùn)行著。c0作為控制器,是可以放在虛擬機(jī)外部的。如果沒有具體的測試作為參數(shù)傳遞時,我們可以使用 Mininet 交互。在Wireshark的窗口中,你會看到內(nèi)核交換機(jī)連接到控制器。顯示Mininet CLI命令:mininet helpDocumented commands (type help ):=EOF exit intfs link noecho pingpair py source xtermdpctl gt
9、erm iperf net pingall pingpairfull quit timedump help iperfudp nodes pingallfull px sh xYou may also send a command to a node using: command argsFor example: mininet h1 ifconfigThe interpreter automatically substitutes IP addressesfor node names when a node is the first arg, so commandslike mininet
10、h2 ping h3should work.Some character-oriented interactive commands requirenoecho: mininet noecho h2 vi foo.pyHowever, starting up an xterm/gterm is generally better: mininet xterm h2顯示節(jié)點:mininet nodesavailable nodes are:c0 h1 h2 s1顯示網(wǎng)絡(luò)鏈接:mininet neth1 h1-eth0:s1-eth1h2 h2-eth0:s1-eth2s1 lo: s1-eth1:
11、h1-eth0 s1-eth2:h2-eth0c0輸出所有節(jié)點的信息:mininet dump從上面的輸出中,你可以看到有一臺交換機(jī)和兩臺主機(jī)。在 Mininet 的CLI 中第一個字符串是設(shè)備名,那后面的命令就在該設(shè)備上執(zhí)行。例如我們想在h1設(shè)備上執(zhí)行ifconfig則輸入如下命令:mininet h1 ifconfig -ah1-eth0 Link encap:Ethernet HWaddr 3e:94:43:b1:ad:48 inet addr: Bcast:55 Mask: inet6 addr: fe80:3c94:43ff:
12、feb1:ad48/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1764 (1.7 KB) TX bytes:648 (648.0 B)lo Link encap:Local Loopback inet addr:
13、 Mask: inet6 addr: :1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)上面的輸出中,可以看見h1-eth0跟lo兩個接口,需要注意的是,在 Linux 系統(tǒng)的 she
14、ll 中運(yùn)行ifconfig是看不到h1-eth0。與h1-eth0相反的是,switch默認(rèn)是跑在 root 的網(wǎng)絡(luò)namespace上面,所以在switch上執(zhí)行命令與在 Linux 下的 shell 中是一樣的。mininet s1 ifconfig-aeth0 Link encap:Ethernet HWaddr 08:00:27:98:dc:aa inet addr:5 Bcast:55 Mask: inet6 addr: fe80:a00:27ff:fe98:dcaa/64 Scope:Link UP BROADCAST R
15、UNNING MULTICAST MTU:1500 Metric:1 RX packets:46716 errors:0 dropped:0 overruns:0 frame:0 TX packets:40265 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10804203 (10.8 MB) TX bytes:40122199 (40.1 MB)lo Link encap:Local Loopback inet addr: Mask: inet6
16、 addr: :1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:43654 errors:0 dropped:0 overruns:0 frame:0 TX packets:43654 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:37264504 (37.2 MB) TX bytes:37264504 (37.2 MB)lxcbr0 Link encap:Ethernet HWaddr fe:5e:f0:
17、f7:a6:f3 inet addr: Bcast:55 Mask: inet6 addr: fe80:a8c4:b5ff:fea6:2809/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:52 errors:0 dropped:0 overruns:0 frame:0 TX packets:20 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX b
18、ytes:4759 (4.7 KB) TX bytes:2952 (2.9 KB)ovs-system Link encap:Ethernet HWaddr 3e:79:59:3d:d9:bb BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0
19、B)s1 Link encap:Ethernet HWaddr 6e:8c:5d:91:d5:44 inet6 addr: fe80:fc47:8aff:fe6a:4155/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:13 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1026 (1.0 KB) TX byt
20、es:648 (648.0 B)s1-eth1 Link encap:Ethernet HWaddr 5e:a2:f7:86:f3:b1 inet6 addr: fe80:5ca2:f7ff:fe86:f3b1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10
21、00 RX bytes:648 (648.0 B) TX bytes:1764 (1.7 KB)s1-eth2 Link encap:Ethernet HWaddr b2:c6:37:e0:d9:61 inet6 addr: fe80:b0c6:37ff:fee0:d961/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carr
22、ier:0 collisions:0 txqueuelen:1000 RX bytes:648 (648.0 B) TX bytes:1674 (1.6 KB)veth14524J Link encap:Ethernet HWaddr fe:ca:13:f5:dd:b4 inet6 addr: fe80:fcca:13ff:fef5:ddb4/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:40
23、 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:648 (648.0 B) TX bytes:4190 (4.1 KB)veth2K19CE Link encap:Ethernet HWaddr fe:f1:f7:e8:49:45 inet6 addr: fe80:fcf1:f7ff:fee8:4945/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped
24、:0 overruns:0 frame:0 TX packets:42 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:648 (648.0 B) TX bytes:4370 (4.3 KB)veth9WSHRK Link encap:Ethernet HWaddr fe:87:1d:33:f6:41 inet6 addr: fe80:fc87:1dff:fe33:f641/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Met
25、ric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:43 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:648 (648.0 B) TX bytes:4460 (4.4 KB)vethH2K7R5 Link encap:Ethernet HWaddr fe:5e:f0:f7:a6:f3 inet6 addr: fe80:fc5e:f0ff:fef7:a6f3/64 Scope:Link UP BROAD
26、CAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:48 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1776 (1.7 KB) TX bytes:5030 (5.0 KB)vethO99MI2 Link encap:Ethernet HWaddr fe:cf:ee:97:fb:7f inet6 addr: fe80:fccf:e
27、eff:fe97:fb7f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1767 (1.7 KB) TX bytes:5294 (5.2 KB)上面的輸出中包含交換機(jī)的虛擬網(wǎng)卡 s1,以及主機(jī)的 eth0。為了區(qū)別顯示host 主
28、機(jī)的網(wǎng)絡(luò)是隔離的,我們可以通過arp與route命令來做演示,分別在 s1與h1上面演示如下:mininet s1 arpAddress HWtype HWaddress Flags Mask Ifacelocalhost ether 00:16:3e:54:9c:03 C lxcbr0localhost ether 52:54:00:12:35:02 C eth0localhost ether 52:54:00:12:35:03 C eth0localhost ether 00:16:3e:51:24:a7 C lxcbr0mininet s1 routeKernel IP routing
29、tableDestination Gateway Genmask Flags Metric Ref Use Ifacedefault localhost UG 0 0 0 eth0 * U 0 0 0 eth0 * U 0 0 0 lxcbr0 * U 0 0 0 docker0mininet h1 arpmininet h1 routeKernel IP routing tableDestination Gateway Genmask Flags
30、 Metric Ref Use Iface * U 0 0 0 h1-eth0這樣可以做到將每一個主機(jī),交換機(jī),以及控制器都放到他自己的標(biāo)準(zhǔn)的 network namespace 中,但是這種做法并沒有什么特別的優(yōu)勢,除非你想復(fù)制一個非常復(fù)雜的網(wǎng)絡(luò)。Mininet 不支持這種做法,你可以通過-innamespace參數(shù)來查看更多的信息。譯者注:感覺有點像 LXC 或者說想最近比較火的 Docker注意:只有網(wǎng)絡(luò)是虛擬出來的,每一個主機(jī)里面的進(jìn)程使用的都是同一套目錄,可以看到相同的進(jìn)程集合,我們打印不同主機(jī)下面的進(jìn)程列表看看:mininet h1 ps -a
31、PID TTY TIME CMD 3899 pts/3 00:00:00 tmux 4000 pts/23 00:00:00 sudo 4001 pts/23 00:00:51 wireshark 4030 pts/23 00:00:00 dbus-launch 4530 pts/23 00:00:43 dumpcap 4541 pts/22 00:00:00 sudo 4542 pts/22 00:00:00 mnmininet h2 ps -a PID TTY TIME CMD 3899 pts/3 00:00:00 tmux 4000 pts/23 00:00:00 sudo 4001
32、pts/23 00:00:52 wireshark 4030 pts/23 00:00:00 dbus-launch 4530 pts/23 00:00:43 dumpcap 4541 pts/22 00:00:00 sudo 4542 pts/22 00:00:00 mnmininet s1 ps -a PID TTY TIME CMD 3899 pts/3 00:00:00 tmux 4000 pts/23 00:00:00 sudo 4001 pts/23 00:00:54 wireshark 4030 pts/23 00:00:00 dbus-launch 4530 pts/23 00
33、:00:46 dumpcap 4541 pts/22 00:00:00 sudo 4542 pts/22 00:00:00 mn如上所示, h1,h2,s1三個進(jìn)程列表是完全相同的。其實完全可以做到各個主機(jī)完全獨(dú)立,就想 LXC 那樣,但是目前 Mininet 并沒有這么做。在 Mininet 中所有的進(jìn)程都放在 root 下面,這樣你可以在 Linux的 shell 中直接用kill或者ps這些命令查看或者殺死進(jìn)程。Test connectivity between hosts現(xiàn)在,驗證您可以h1 ping 通 h2:mininet h1 ping h2 -c 1PING
34、() 56(84) bytes of data.64 bytes from : icmp_seq=1 ttl=64 time=8.57 ms- ping statistics -1 packets transmitted, 1 received, 0% packet loss, time 0msrtt min/avg/max/mdev = 8.576/8.576/8.576/0.000 msmininet中的命令語法如上所示。host1 command host2。在 Wireshark 中可以看到 OpenFlow 的控制流量,可以看到h1
35、ARPs h2的 mac,并將一個packet_in發(fā)送到c0,然后c0發(fā)送packet_out消息流廣播到交換機(jī)(在本例中,唯一的其他數(shù)據(jù)端口)。第二個主機(jī)接受到的ARP請求,并發(fā)送一個廣播答復(fù)。此回復(fù)進(jìn)到控制器,該控制器將其發(fā)送到h1并且 pushes down a flow entry?,F(xiàn)在第一主機(jī)知道的第二個IP地址,并且可以通過ICMP ping 來回顯請求。這個請求,連同其從第二主機(jī)對應(yīng)的應(yīng)答,both go the controller and result in a flow entry pushed down (along with the actual packets ge
36、tting sent out).重復(fù)前一條命令:mininet h1 ping -c 1 h2這次 ping 的時間將比第一次低的多, A flow entry covering ICMP ping traffic was previously installed in the switch, so no control traffic was generated, and the packets immediately pass through the switch.使用pingall命令可以讓每一個節(jié)點直接都產(chǎn)生上面的效果。mininet pingallRun a simple web s
37、erver and client我們不單可以在主機(jī)上面運(yùn)行ping命令,每一條 Linux下的命令或者程序都可以在 Mininet 中運(yùn)行:接下來,嘗試開始于h1啟動一個簡單的HTTP服務(wù)器上,然后從h2發(fā)出請求,最后關(guān)閉Web服務(wù)器:mininet h1 python -m SimpleHTTPServer 80 &mininet h2 wget h1-2014-09-15 08:10:11- /Connecting to :80. connected.HTTP request sent, awaiting response. 200 OKLeng
38、th: 2647 (2.6K) text/htmlSaving to: index.html 0K . 100% 71.7M=0s2014-09-15 08:10:11 (71.7 MB/s) - index.html saved 2647/2647mininet h1 kill %python退出mininet交互命令:mininetexitcleanup如果Mininet出于某種原因崩潰,可以用下面命令來清理:sudo mn -cPart 2: 高級選項Advanced Startup Options回歸測試Run a Regression TestMininet 可以用于直接運(yùn)行回歸測試
39、,不一定要切換到他的 CLI 下面。運(yùn)行回歸測試:$ sudo mn -test pingpair這條命令會創(chuàng)建一個小的拓?fù)浣Y(jié)構(gòu),然后啟動 OpenFLow 的控制器,然后跑 ping 測試,最后再把拓?fù)浣Y(jié)構(gòu)跟控制器關(guān)掉。另一種有用的試驗是iperf的(給它約10秒來完成):還有一直常用的測試是iperf(完成這個測試大概需要10s 鐘):$ sudo mn -test iperf此命令創(chuàng)建的相同Mininet,并在其中一臺 host 上面跑 iperf server, 然后在另外一臺 host 上面運(yùn)行iperf client 然后解析取得帶寬情況。更改拓?fù)浣Y(jié)構(gòu)大小和類型 Changing
40、Topology Size and TypeMininet 默認(rèn)的拓?fù)浣Y(jié)構(gòu)是由兩臺 host 以及一臺交換機(jī)組成的,你可以用-topo參數(shù)來更改拓?fù)浣Y(jié)構(gòu)。假設(shè)你要在一個交換機(jī)與三臺 host 之間做 ping 探測驗證(verify all-pairs ping connectivity)。:運(yùn)行回歸測試:$ sudo mn -test pingall -topo single,3另一個例子中,使用線性拓?fù)洌ㄆ渲忻總€交換機(jī)配有一個主機(jī),并且所有的交換機(jī)連接在一起):$ sudo mn -test pingall -topo linear,4課喲用參數(shù)來控制拓?fù)浣Y(jié)構(gòu)是 Mininet 中最有用的
41、功能之一,非常強(qiáng)大。鏈路變化 Link variationsMininet2.0允許你設(shè)置連接參數(shù),甚至可以通過命令行實現(xiàn)自動化設(shè)置:$ sudo mn -link tc,bw=10,delay=10ms mininet iperf . mininet h1 ping -c10 h2上面的設(shè)置每兩個節(jié)點之間的延遲是10ms,因為 ICMP 請求傳過了兩條鏈路(一次是到大交換機(jī),一次到達(dá)主機(jī)),往返時間(RRT)就應(yīng)該是40ms。你還可以使用PythonAPI來做更多的事兒,不過現(xiàn)在我們先繼續(xù)往下演練。調(diào)整輸出信息Adjustable VerbosityMininet默認(rèn)輸出信息的級別是Info
42、,Info級別會輸出 Mininet的詳細(xì)信息。我們也可以通過-v參數(shù)來設(shè)置輸出DEBUG信息。$ sudo mn -v debug.mininet exit這樣會打印出更多額外的細(xì)節(jié)?,F(xiàn)在嘗試一下output參數(shù),這樣可以在 CLI 中打印更少的信息。$ sudo mn -v outputmininet exit除了上面的幾個級別,還有其他的級別可以使用,比如warning等Custom Topologies自定義拓?fù)浣Y(jié)構(gòu)在custom/topo-2sw-2host.py中是一個例子可以拿來參考,我們可以看到通過 PythonAPI 我們可以很簡單的來定義拓?fù)浣Y(jié)構(gòu)。這個例子直接連接兩臺交換機(jī)
43、,每個交換機(jī)帶有一臺主機(jī)。Custom topology exampleTwo directly connected switches plus a host for each switch: host - switch - switch - hostAdding the topos dict with a key/value pair to generate our newly definedtopology enables one to pass in -topo=mytopo from the command line.from mininet.topo import Topoclass
44、 MyTopo( Topo ): Simple topology example. def _init_( self ): Create custom topo. # Initialize topology Topo._init_( self ) # Add hosts and switches leftHost = self.addHost( h1 ) rightHost = self.addHost( h2 ) leftSwitch = self.addSwitch( s3 ) rightSwitch = self.addSwitch( s4 ) # Add links self.addL
45、ink( leftHost, leftSwitch ) self.addLink( leftSwitch, rightSwitch ) self.addLink( rightSwitch, rightHost )topos = mytopo: ( lambda: MyTopo() ) 我們提供一個自定義的mininet 文件,就可以創(chuàng)建新的拓?fù)浣Y(jié)構(gòu)、交換機(jī)類型。我們在命令行里面測試一下:$ sudo mn -custom /mininet/custom/topo-2sw-2host.py -topo mytopo -test pingall* Creating network* Adding
46、controller* Adding hosts:h1 h2* Adding switches:s3 s4* Adding links:(h1, s3) (h2, s4) (s3, s4)* Configuring hostsh1 h2* Starting controller* Starting 2 switchess3 s4* Ping: testing ping reachabilityh1 - h2h2 - h1* Results: 0% dropped (2/2 received)* Stopping 2 switchess3 .s4 .* Stopping 2 hostsh1 h2
47、* Stopping 1 controllersc0* Donecompleted in 1.220 secondsID= MAC默認(rèn)情況下,host 的 mac 地址是隨機(jī)分配的。這會導(dǎo)致每次 mininet 創(chuàng)建的時候,MAC地址都會改變,這會給調(diào)試帶來一些困難-mac參數(shù)可以解決上面的問題,栗子如下:之前:$ sudo mnmininet h1 ifconfigh1-eth0 Link encap:Ethernet HWaddr c2:d9:4a:37:25:17 inet addr: Bcast:55 Mask: inet6 a
48、ddr: fe80:c0d9:4aff:fe37:2517/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1398 (1.3 KB) TX bytes:578 (578.0 B)lo Link encap:Local Loopback
49、 inet addr: Mask: inet6 addr: :1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)使用-mac參數(shù):$ sudo mn -macmininet h1 ifconfigh1-eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:01 inet addr: Bcast:55 Mask: inet6 addr: fe80:200:ff:fe00:1/64 Scope:Link UP BROADCAST RUNN
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 食品環(huán)境影響評估技術(shù)-洞察闡釋
- ?;贩ㄈ税踩Y格證考試
- 教育游戲中的激勵機(jī)制設(shè)計研究
- 生產(chǎn)安全事故報告調(diào)查和處理制度
- 安全生產(chǎn)階段總結(jié)
- 智慧港口建設(shè)與綠色物流的協(xié)同發(fā)展
- 年關(guān)將至安全生產(chǎn)的重要性
- 風(fēng)險評估與預(yù)警系統(tǒng)-第1篇-洞察闡釋
- 2020網(wǎng)絡(luò)安全自查報告范文
- 語義驅(qū)動的多語言模型優(yōu)化與遷移學(xué)習(xí)-洞察闡釋
- 海洋通信網(wǎng)絡(luò)完善
- 膀胱癌護(hù)理小講課比賽
- 福建廈門雙十中學(xué)2024~2025學(xué)年高一下冊第一次月考數(shù)學(xué)試題
- 2024年四川省甘孜縣林業(yè)局公開招聘試題帶答案詳解
- 中醫(yī)推拿知識培訓(xùn)課件
- 天津市和平區(qū)二十一中2025年英語七年級第二學(xué)期期末考試試題含答案
- 2025-2030中國轉(zhuǎn)輪除濕機(jī)行業(yè)前景動態(tài)及投資規(guī)劃分析報告
- 八年級上冊語文必背課文資料合集
- 針灸醫(yī)學(xué)的歷史回顧之古代名醫(yī)的針灸先例
- 【艾瑞咨詢】2024年中國健康管理行業(yè)研究報告494mb
- 年產(chǎn)xxx千件自行車配件項目可行性研究報告
評論
0/150
提交評論