360 likes | 710 Views
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.
E N D
Wireshark與VirtualBox安裝IPv6 Router Advertisement Daemon設定 寬頻網路通訊協定 資訊工程研究所 教師:陳懷恩
根據作業系統點選適當的版本 • http://voiplab.niu.edu.tw/ppt/ipv6/wireshark-win32-1.4.4.exe
至http://www.virtualbox.org/ 下載並安裝virtualBox • http://voiplab.niu.edu.tw/ppt/ipv6/VirtualBox-4.0.4-70112-Win.exe
執行,新增一個虛擬機器 • 選擇OS 選擇Linux
選擇硬碟空間 • 第一次必須建立虛擬硬碟空間
安裝radvd前請先確定Linux的網路功能已開啟! • 先至http://www.litech.org/radvd/下載Linux IPv6 Router Advertisement Daemon (radvd),並安裝在Linux的作業系統裡。 • 或輸入 yum install radvd
利用vi 開啟/etc/radvd.conf來編輯設定。 輸入指令:vim /etc/radvd.conf • 按下鍵盤 鍵開始進行設定,請參考下頁。 • 文字編輯器設定完成後,先按下 退出編輯頁面。 • 接著輸入 :wq 表示儲存記錄並離開 • Linux指令可參考 鳥哥的Linux私房菜 http://linux.vbird.org/ Insert Esc
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
輸入指令 • echo 1 > /proc/sys/net/ipv6/conf/all/forwarding • echo 1 > /proc/sys/net/ipv6/conf/default/forwarding • /etc/init.d/radvd start
Linux 安裝 wireshark • yum install wireshark* • 透過wireshark觀察是否收到router advertisement • 可以從prefix information觀看自己所設定的prefix