Type1 直接連接
Type2 有DR
Type3 轉送到不同AREA
Type4
Type5 ASBR傳送到所有AREA
Type7 NSSA
CCNP OSPF Lab3
Router2
conf t
int f0/0
bandwidth 1000
ip add 172.16.0.2 255.255.128.0
no shut
int s1/0
clock rate 2000000
ip add 172.16.128.2 255.255.128.0
no shut
int lo1
ip add 172.17.0.2 255.255.255.255
end
Router3
conf t
int f0/0
ip add 10.10.1.2 255.0.0.0
no shut
int f0/1
ip add 192.168.34.3 255.255.255.0
no shut
int s1/0
ip add 172.16.128.3 255.255.128.0
no shut
int lo1
ip add 172.17.0.3 255.255.255.255
end
Router4
conf t
int f0/0
bandwidth 1000
ip add 192.168.34.4 255.255.255.0
no shut
int s1/0
ip add 192.168.45.4 255.255.255.0
no shut
int lo1
ip add 172.17.0.4 255.255.255.255
end
Router5
conf t
int s1/0
clock rate 115200
ip add 192.168.45.5 255.255.255.0
no shut
int lo1
ip add 172.17.0.5 255.255.255.255
end
MicroCore
ifconfig eth0 172.16.0.1 netmask 255.255.128.0 up
route add -net 0.0.0.0 gw 172.16.0.2
MicroCore_2
ifconfig eth0 10.10.1.1 netmask 255.0.0.0 up
route add -net 0.0.0.0 gw 10.10.1.2
Router2
conf t
router ospf 1
network 172.16.0.0 0.0.127.255 area 1
network 172.16.128.0 0.0.127.255 area 1
end
Router3
conf t
router ospf 1
network 172.16.128.0 0.0.127.255 area 1
network 10.0.0.0 0.255.255.255 area 1
network 192.168.34.0 0.0.0.255 area 0
end
Router4
conf t
router ospf 1
network 192.168.34.0 0.0.0.255 area 0
network 192.168.45.0 0.0.0.255 area 2
end
Router5
conf t
router ospf 1
network 192.168.45.0 0.0.0.255 area 2
end
CCNP OSPF Lab2
RouterA
conf t
int f0/0
bandwidth 1000
ip add 192.168.1.1 255.255.255.0
ip ospf pri 4
no shut
int lo0
ip add 172.17.0.1 255.255.255.255
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end
RouterB
conf t
int f0/1
ip add 192.168.1.2 255.255.255.0
ip ospf pri 3
no shut
int lo0
ip add 172.17.0.2 255.255.255.255
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end
RouterC
conf t
int f0/0
bandwidth 1000
ip add 192.168.1.3 255.255.255.0
ip ospf pri 2
no shut
int lo0
ip add 172.17.0.3 255.255.255.255
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end
RouterD
conf t
int f0/0
bandwidth 1000
ip add 192.168.1.4 255.255.255.0
no shut
int lo0
ip add 172.17.0.4 255.255.255.255
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end
CCNP OSPF Lab1
Host PC用Router扮, 所以要打dup full, speed 100, 另外打bandwidth 1000扮e0
Router3
en
conf t
host Router3
int f0/0
ip add 10.10.1.2 255.0.0.0
dup full
speed 100
no shut
int s1/0
ip add 192.168.0.1 255.255.255.0
no shut
Router2
en
conf t
host Router2
int f0/0
ip add 172.16.0.2 255.255.0.0
bandwidth 1000
dup full
speed 100
no shut
int s1/0
ip add 192.168.0.2 255.255.255.0
clock rate 2000000
no shut
Router3
router ospf 1
network 192.168.0.0 0.0.0.255 area 0
network 10.0.0.0 0.255.255.255 area 0
Router2
router ospf 1
network 192.168.0.0 0.0.0.255 area 0
network 172.16.0.0 0.0.255.255 area 0
Ubuntu 安裝GNS3最新版
apt-add-repository ppa:gns3/ppa
apt-get update
apt-get install gns3
http://sobek.su/Cisco/IOS/37xx/3725/c3725-advipservicesk9-mz.124-25d.bin
Remark: Qemu一直測試失敗, 最後選擇用Router當Host PC測試
http://www.gns3.net/qemu/
Qemu version 0.14.1 for Ubuntu 32-bit
./Qinstall
apt-get install zlib1g-dev
Qemu version 0.14.1 patched sources
./confirgure
make
make install
http://sourceforge.net/projects/gns-3/files/Qemu%20Appliances/
linux-microcore-3.4.img
Cisco Model 分類
WS-C2960S-48FPD-L
WS-C2960S-48LPD-L
WS-C2960S-48TD-L
WS-C2960S-48TS-S
Port後面
FP=POE 740W
LP=POE 370W
T=Standard
D=10G SFP
S=1G SFP
最尾License
S=Lan lite
L=Lan base
———-
WS-C3750X-24T-L
WS-C3750X-24P-L
WS-C3750X-48PF-L
WS-C3750X-12S-S
WS-C3750X-24S-E
Model後面
3750=10/100
3750G=10/100/1000
3750E=down 10/100/1000, up 10000
3750x=down 10/100/1000, SFP
Port後面
T=Standard
P=POE 715W
PF=POE 1100W
S=12 GE SFP Ethernet Ports
最尾License
L=Lan Base
S=IP Base
E=IP Services
vsFTPD on Ubuntu
apt-get install vsftpd
vi /etc/vsftpd.conf
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
use_localtime=YES
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome to {My Server name} FTP service.
chroot_local_user=YES
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.user_list
listen_port={My Port}
allow_writeable_chroot=YES
vi /etc/vsftpd.user_list
tim
Zimbra Free Edition 8.5 and Disclaimer
apt-get install libperl5.18 libaio1 unzip pax sysstat sqlite3 libgmp10
wget http://files2.zimbra.com/downloads/8.5.0_GA/zcs-8.5.0_GA_3042.UBUNTU14_64.20140828191919.tgz
zmprov mcf zimbraRemoteManagementPort {My Port}
zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
vi /opt/zimbra/data/altermime/.txt
abc
vi /opt/zimbra/data/altermime/.html
def
zmcontrol restart
zmmtactl restart && zmamavisdctl restart
zmtlsctl redirect
8.5.0 have a disclaimer bug and will fix it for 8.5.1
zmprov md {My Domain} zimbraAmavisDomainDisclaimerText “abc”
zmprov md {My Domain} zimbraAmavisDomainDisclaimerHTML “<html><body>def</body></html>”
/opt/zimbra/libexec/zmaltermimeconfig -e {My Domain}