Post Views:
5,688
Sebelum mempelajari materi ini anda harus memahami terlebih dahulu materi Install Opendaylight Helium di Mininet 2.2.0
Aktifkan OpenDaylight
|
mininet@mininet-vm:~/opendaylight$ ./run.sh |
Sebelumnya anda harus install OpenDaylight dulu lihat pada materi sebelumnya “install Opendaylight Helium di mininet”
Mininet (default)
Username : mininet
Password : mininet
Buat Topologi Tree
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
mininet@mininet-vm:~$ sudo mn --controller=remote,ip=172.16.20.130 --topo tree,3 *** Creating network *** Adding controller *** Adding hosts: h1 h2 h3 h4 h5 h6 h7 h8 *** Adding switches: s1 s2 s3 s4 s5 s6 s7 *** Adding links: (s1, s2) (s1, s5) (s2, s3) (s2, s4) (s3, h1) (s3, h2) (s4, h3) (s4, h4) (s5, s6) (s5, s7) (s6, h5) (s6, h6) (s7, h7) (s7, h8) *** Configuring hosts h1 h2 h3 h4 h5 h6 h7 h8 *** Starting controller c0 *** Starting 7 switches s1 s2 s3 s4 s5 s6 s7 *** Starting CLI: mininet> |
Test Koneksi ke semua virtual host dengan pingall
|
mininet> pingall *** Ping: testing ping reachability h1 -> h2 h3 h4 h5 h6 h7 h8 h2 -> h1 h3 h4 h5 h6 h7 h8 h3 -> h1 h2 h4 h5 h6 h7 h8 h4 -> h1 h2 h3 h5 h6 h7 h8 h5 -> h1 h2 h3 h4 h6 h7 h8 h6 -> h1 h2 h3 h4 h5 h7 h8 h7 -> h1 h2 h3 h4 h5 h6 h8 h8 -> h1 h2 h3 h4 h5 h6 h7 *** Results: 0% dropped (56/56 received) |
Kalau outputnya seperti diatas berarti semua telah terkoneksi
Lihat pada OpenDaylight di Web Browser, http://<ip_address_opendaylight>:8080 (http://172.16.20.130:8080)
Penampilan topologi ketika di buat di mininet
Perintah Dasar Mininet
Reset Mininet
|
mininet> h1 ping h6 PING 10.0.0.6 (10.0.0.6) 56(84) bytes of data. 64 bytes from 10.0.0.6: icmp_seq=1 ttl=64 time=0.673 ms 64 bytes from 10.0.0.6: icmp_seq=2 ttl=64 time=0.110 ms 64 bytes from 10.0.0.6: icmp_seq=3 ttl=64 time=0.110 ms 64 bytes from 10.0.0.6: icmp_seq=4 ttl=64 time=0.134 ms |
- Test TCP Bandwth antara h2 dengan h5
|
mininet> iperf h2 h5 *** Iperf: testing TCP bandwidth between h2 and h5 *** Results: ['6.47 Gbits/sec', '6.48 Gbits/sec'] |
cukup sekian dulu tutorial perintah dasar mininetnya, semoga bermanfaat.
Komentar