35
Wireshark 與 VirtualBox 與與 IPv6 Router Advertisement Daemon 與與 與與與與與與與與 與與與與與與與 與與 與與與 1

Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

  • Upload
    valin

  • View
    179

  • Download
    0

Embed Size (px)

DESCRIPTION

Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定. 寬頻網路通訊協定 資訊工程研究所 教師:陳懷恩. Wireshark. 至 http://www.wireshark.org/ 下載 wireshark. 根據 作業系統 點選適當的 版本 http:// voiplab.niu.edu.tw/ppt/ipv6/wireshark-win32-1.4.4.exe. 設定安裝路徑. 安裝 WinPcap. 安裝成功. Wireshark 介面. 選取要抓封包的網卡. VirtualBox. - PowerPoint PPT Presentation

Citation preview

Page 1: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

1

Wireshark 與 VirtualBox 安裝IPv6 Router Advertisement Daemon 設定

寬頻網路通訊協定資訊工程研究所教師:陳懷恩

Page 2: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

2

Wireshark

Page 3: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

3

至 http://www.wireshark.org/ 下載 wireshark

Page 4: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

4

根據作業系統點選適當的版本http://voiplab.niu.edu.tw/ppt/ipv6/wireshark-win32-1.4.4.exe

Page 5: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

5

設定安裝路徑

Page 6: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

6

安裝 WinPcap

Page 7: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

7

安裝成功

Page 8: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

8

Wireshark 介面

Page 9: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

9

選取要抓封包的網卡

Page 10: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

10

Page 11: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

11

VirtualBox

Page 12: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

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 設定

13

Page 14: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

14

Page 15: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

15

Page 16: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

16

Page 17: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

17

執行,新增一個虛擬機器選擇 OS 選擇 Linux

Page 18: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

18

Page 19: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

19

設定記憶體大小,建議 512MB

Page 20: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

20

選擇硬碟空間第一次必須建立虛擬硬碟空間

Page 21: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

21

Page 22: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

22

Page 23: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

23

Page 24: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

24

虛擬硬碟建置完成

Page 25: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

25

虛擬機器建置完成

Page 26: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

26

完成後可以看到左邊出現新的虛擬機器

Page 27: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

27

Page 29: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

29

Page 30: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

30

IPv6 Router Advertisement

Daemon (radvd)

Page 31: Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

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 設定

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 設定

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 設定

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 設定

35

Linux 安裝 wireshark

•yum install wireshark*•透過 wireshark 觀察是否收到 router advertisement•可以從 prefix information 觀看自己所設定的 prefix