![Page 1: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/1.jpg)
1
Wireshark 與 VirtualBox 安裝IPv6 Router Advertisement Daemon 設定
寬頻網路通訊協定資訊工程研究所教師:陳懷恩
![Page 2: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/2.jpg)
2
Wireshark
![Page 4: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/4.jpg)
4
根據作業系統點選適當的版本http://voiplab.niu.edu.tw/ppt/ipv6/wireshark-win32-1.4.4.exe
![Page 5: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/5.jpg)
5
設定安裝路徑
![Page 6: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/6.jpg)
6
安裝 WinPcap
![Page 7: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/7.jpg)
7
安裝成功
![Page 8: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/8.jpg)
8
Wireshark 介面
![Page 9: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/9.jpg)
9
選取要抓封包的網卡
![Page 10: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/10.jpg)
10
![Page 11: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/11.jpg)
11
VirtualBox
![Page 12: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/12.jpg)
12
至 http://www.virtualbox.org/ 下載並安裝 virtualBoxhttp://voiplab.niu.edu.tw/ppt/ipv6/VirtualBox-4.0.4-70112-Win.exe
![Page 13: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/13.jpg)
13
![Page 14: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/14.jpg)
14
![Page 15: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/15.jpg)
15
![Page 16: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/16.jpg)
16
![Page 17: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/17.jpg)
17
執行,新增一個虛擬機器選擇 OS 選擇 Linux
![Page 18: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/18.jpg)
18
![Page 19: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/19.jpg)
19
設定記憶體大小,建議 512MB
![Page 20: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/20.jpg)
20
選擇硬碟空間第一次必須建立虛擬硬碟空間
![Page 21: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/21.jpg)
21
![Page 22: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/22.jpg)
22
![Page 23: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/23.jpg)
23
![Page 24: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/24.jpg)
24
虛擬硬碟建置完成
![Page 25: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/25.jpg)
25
虛擬機器建置完成
![Page 26: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/26.jpg)
26
完成後可以看到左邊出現新的虛擬機器
![Page 27: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/27.jpg)
27
![Page 28: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/28.jpg)
28
http://voiplab.niu.edu.tw/ppt/ipv6/Fedora-11-i386-DVD.iso
![Page 29: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/29.jpg)
29
![Page 30: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/30.jpg)
30
IPv6 Router Advertisement
Daemon (radvd)
![Page 31: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/31.jpg)
31
安裝 radvd 前請先確定 Linux 的網路功能已開啟!
先至 http://www.litech.org/radvd/下載 Linux IPv6 Router Advertisement Daemon (radvd) ,並安裝在Linux 的作業系統裡。
或輸入 yum install radvd
![Page 32: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/32.jpg)
32
利用 vi 開啟 /etc/radvd.conf 來編輯設定。 輸入指令: vim /etc/radvd.conf
按下鍵盤 鍵開始進行設定,請參考下頁。
文字編輯器設定完成後,先按下 退出編輯頁面。
接著輸入 :wq 表示儲存記錄並離開
Linux 指令可參考 鳥哥的 Linux 私房菜 http://linux.vbird.org/
Insert
Esc
![Page 33: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/33.jpg)
33
radvd 設定如下。 interface eth0 { AdvSendAdvert on; MaxRtrAdvInterval 10; MinRtrAdvInterval 15; AdvIntervalOpt on; prefix 9843:004:1234::1/64 { AdvRouterAddr on; AdvOnLink on; AdvAutonomous on; }; };
•Prefix 格式: 2001: 學號後 4 碼 :1234::1/64
![Page 34: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/34.jpg)
34
輸入指令echo 1 > /proc/sys/net/ipv6/conf/all/forwardingecho 1 > /proc/sys/net/ipv6/conf/default/forwarding /etc/init.d/radvd start
![Page 35: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定](https://reader030.vdocuments.net/reader030/viewer/2022033019/56815b2f550346895dc8f9b9/html5/thumbnails/35.jpg)
35
Linux 安裝 wireshark
•yum install wireshark*•透過 wireshark 觀察是否收到 router advertisement•可以從 prefix information 觀看自己所設定的 prefix