Beforehand
1. Set all the hostname
2. Privileged mode password
3. Global configuration mode password
4. Turn on telnet
Router Setting
1. Let the port which connected with switch be up-up
2. Set serial-to-serial clock rate. Make them up-up
VLAN Setting (if it's necessary)
1. Set ip and gateway of switch on vlan 1
2. Cisco Router Trunk Setting
3. Cisco Switch Trunk Setting
4. Create vlan
5. Assign vlan to ports
6. Save the configuration
Chose the routing protocol
RIP Routing Protocol (version 2)
OSPF Routing Protocol
以上只是講個概念 一個網路是怎麼從第一層設定到第三層
最後到成功可以Routing
2010年2月6日 星期六
2010年1月22日 星期五
[Linux] Wireshark tarball for openSuSE
First, go to the wireshark's web.
http://www.wireshark.org/download.html
Click the hyperlink named Source Code to download Wireshark.tar.bz
# tar -jxvf wireshark.x.x.x.tar.bz -C /root
# cd wireshark.x.x.x
If you want to read more information about the wireshark installation
You can
# less INSTALL or # less README
# ./configure
# make
# make install
To start wireshark
# wireshark
If it didn't work, please check for the path of lib
-------------------------------------------------------------------------------------------
For openSuSE 11.2 here is some solutions to make it work
First, you have to remake the libpcap.
Because there is no pcap.h in the lib.
Then, you have to check for libpcap version.
Go to the website and download the tarball
http://www.tcpdump.org/
# tar -zxvf libpcap.x.x.x.tar.gz -C /root
# cd libpcap.x.x.x
# ./configure
# ./make
# ./make install
# cd wireshark.x.x.x
# ./configure
# ./make
# ./make install
After starting wireshark, you will get a message like "libwiretap.so.0, No file or Directory".
It means there is no libwiretap.so.0 in your lib.
But you can use command "locate" to find the file.
Then make sure your lib
# cp -aR /usr/local/lib/* /usr/lib/
Down
http://www.wireshark.org/download.html
Click the hyperlink named Source Code to download Wireshark.tar.bz
# tar -jxvf wireshark.x.x.x.tar.bz -C /root
# cd wireshark.x.x.x
If you want to read more information about the wireshark installation
You can
# less INSTALL or # less README
# ./configure
# make
# make install
To start wireshark
# wireshark
If it didn't work, please check for the path of lib
-------------------------------------------------------------------------------------------
For openSuSE 11.2 here is some solutions to make it work
First, you have to remake the libpcap.
Because there is no pcap.h in the lib.
Then, you have to check for libpcap version.
Go to the website and download the tarball
http://www.tcpdump.org/
# tar -zxvf libpcap.x.x.x.tar.gz -C /root
# cd libpcap.x.x.x
# ./configure
# ./make
# ./make install
# cd wireshark.x.x.x
# ./configure
# ./make
# ./make install
After starting wireshark, you will get a message like "libwiretap.so.0, No file or Directory".
It means there is no libwiretap.so.0 in your lib.
But you can use command "locate" to find the file.
Then make sure your lib
# cp -aR /usr/local/lib/* /usr/lib/
Down
訂閱:
文章 (Atom)