Wireshark 與 VirtualBox 安裝 IPv6 Router Advertisement Daemon 設定

Preview:

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

1

Wireshark 與 VirtualBox 安裝IPv6 Router Advertisement Daemon 設定

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

2

Wireshark

3

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

4

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

5

設定安裝路徑

6

安裝 WinPcap

7

安裝成功

8

Wireshark 介面

9

選取要抓封包的網卡

10

11

VirtualBox

12

至 http://www.virtualbox.org/ 下載並安裝 virtualBoxhttp://voiplab.niu.edu.tw/ppt/ipv6/VirtualBox-4.0.4-70112-Win.exe

13

14

15

16

17

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

18

19

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

20

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

21

22

23

24

虛擬硬碟建置完成

25

虛擬機器建置完成

26

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

27

29

30

IPv6 Router Advertisement

Daemon (radvd)

31

安裝 radvd 前請先確定 Linux 的網路功能已開啟!

先至 http://www.litech.org/radvd/下載 Linux IPv6 Router Advertisement Daemon (radvd) ,並安裝在Linux 的作業系統裡。

或輸入 yum install radvd

32

利用 vi 開啟 /etc/radvd.conf 來編輯設定。 輸入指令: vim /etc/radvd.conf

按下鍵盤 鍵開始進行設定,請參考下頁。

文字編輯器設定完成後,先按下 退出編輯頁面。

接著輸入 :wq 表示儲存記錄並離開

Linux 指令可參考 鳥哥的 Linux 私房菜 http://linux.vbird.org/

Insert

Esc

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

34

輸入指令echo 1 > /proc/sys/net/ipv6/conf/all/forwardingecho 1 > /proc/sys/net/ipv6/conf/default/forwarding /etc/init.d/radvd start

35

Linux 安裝 wireshark

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