├── .DS_Store
├── Lab1
├── dns.pcap
├── http.pcap
├── ping.pcap
├── traceroute.pcap
└── 实验1.doc
├── Lab2
├── conf1.txt
├── conf2.txt
└── 计网Lab2 刘思锐 3200102708.doc
├── Lab4
├── 3200102708 Lab4 刘思锐.zip
├── R1.txt
├── R2.txt
├── R3.txt
├── R4.txt
├── R5.txt
├── Ref
│ ├── R1.txt
│ ├── R2.txt
│ ├── R3.txt
│ ├── R4.txt
│ ├── R5.txt
│ └── lab4.pdf
├── topo.png
├── 实验报告 3200102708 Lab4.pdf
└── 实验报告模版_实验4.doc
├── Lab5
└── 实验报告模版_实验5.doc
├── Lab7
├── .idea
│ ├── .gitignore
│ ├── Lab7.iml
│ ├── misc.xml
│ └── modules.xml
└── 实验报告模版_实验7.doc
├── Lab8
├── .DS_Store
├── Project
│ ├── .DS_Store
│ ├── code
│ │ ├── head.h
│ │ ├── server
│ │ ├── server.cpp
│ │ └── utils.cpp
│ ├── files
│ │ ├── html
│ │ │ ├── noimg.html
│ │ │ └── test.html
│ │ ├── img
│ │ │ └── logo.jpg
│ │ └── txt
│ │ │ └── test.txt
│ └── readme.md
├── 实验报告 Lab8 刘思锐 3200102708.doc
└── 实验报告 Lab8 刘思锐 3200102708.pdf
├── README.md
├── 参考资料
├── CCNA2.0中文版教材 .zip
├── Routersim2.1(路由器模拟软件).zip
├── WinPcap_2_3.exe
├── ethereal-setup-0.9.10a.exe
├── 实验 DHCP-DNS-WWW 实验指导v1.zip
├── 实验 Ethereal使用方法.doc
├── 实验 TcpDump的表达式详解.htm
├── 实验 socket-MFC(陆魁军).zip
├── 实验 socket-Win32资料.zip
├── 实验 安装和配置FTP服务器和WEB服务器.zip
├── 实验 模拟软件RouterSim实验指导v3.rar
├── 实验 网络命令(陆魁军)v2.txt
└── 实验 网络命令使用说明v3.doc
├── 第三方实验报告
├── 1
│ ├── Lab1.doc
│ ├── dns.pcap
│ ├── http.pcap
│ ├── ping.pcap
│ └── tracert.pcap
├── 2
│ └── lab2.pdf
├── 3
│ ├── R1.txt
│ ├── S2.txt
│ └── lab3.pdf
├── 4
│ ├── R1.txt
│ ├── R2.txt
│ ├── R3.txt
│ ├── R4.txt
│ ├── R5.txt
│ └── lab4.pdf
├── 5
│ ├── R1.txt
│ ├── R10.txt
│ ├── R2.txt
│ ├── R3.txt
│ ├── R4.txt
│ ├── R5.txt
│ ├── R6.txt
│ ├── R7.txt
│ ├── R8.txt
│ ├── R9.txt
│ └── lab5.pdf
├── 6
│ ├── R1.txt
│ ├── R2.txt
│ ├── R3.txt
│ ├── R4.txt
│ ├── R5.txt
│ ├── R6.txt
│ ├── R7.txt
│ ├── R8.txt
│ └── lab6.pdf
├── 7
│ ├── Lab7.pdf
│ └── source
│ │ ├── Global.h
│ │ ├── client.cpp
│ │ └── server.cpp
├── 8
│ ├── lab8.pdf
│ └── src
│ │ ├── NetworkManager.cpp
│ │ ├── NetworkManager.hpp
│ │ ├── NetworkManager.hpp.gch
│ │ ├── RequestManager.cpp
│ │ ├── RequestManager.hpp
│ │ ├── csapp.c
│ │ ├── csapp.h
│ │ ├── html
│ │ ├── noimg.html
│ │ └── test.html
│ │ ├── img
│ │ └── logo.jpg
│ │ ├── main.cpp
│ │ ├── makefile
│ │ ├── readme.md
│ │ └── txt
│ │ └── test.txt
└── .DS_Store
├── 计网复习资料
├── 2022lkj100.docx
├── 2022lkj100答案版.docx
├── 计算机网络 2018-2019 Fall&Winter Final.pdf
├── 计算机网络 2018-2019 我的答案.pdf
├── 试卷整理.pdf
├── 错题.assets
│ └── 9321673094790_.pic.jpg
└── 错题.md
├── 计网笔记.assets
├── Screenshot 2022-10-30 at 19.46.33.png
├── image-20220927101827694.png
├── image-20220927105825252.png
├── image-20220927113559664.png
├── image-20220927114319170.png
├── image-20220927114432504.png
├── image-20220927114619841.png
├── image-20220927115025141.png
├── image-20221012111133883.png
├── image-20221012112514968.png
├── image-20221012112856390.png
├── image-20221012113929618.png
├── image-20221012122552656.png
├── image-20221012122610551.png
├── image-20221012122937249.png
├── image-20221012123701717.png
├── image-20221012123739030.png
├── image-20221012125111535.png
├── image-20221012141438822.png
├── image-20221012145916567.png
├── image-20221012162105560.png
├── image-20221017102703084.png
├── image-20221017104047121.png
├── image-20221017111640583.png
├── image-20221030154057054.png
├── image-20221030193926262.png
├── image-20221030200325849.png
├── image-20221030201126230.png
├── image-20221031094628481.png
├── image-20221031100856744-7182138.png
├── image-20221031100856744.png
├── image-20221031101025919.png
├── image-20221031101515402.png
├── image-20221031102201202.png
├── image-20221031102851091.png
├── image-20221031103617293.png
├── image-20221031103738760.png
├── image-20221107100724584.png
├── image-20221107102201820.png
├── image-20221107103653569.png
├── image-20221107104841712.png
├── image-20221107105527285.png
├── image-20221107110449483.png
├── image-20221107112352387.png
├── image-20221107114858921.png
├── image-20221107115325467.png
├── image-20221114114340708.png
├── image-20221114115832580.png
├── image-20221114121814849.png
├── image-20221114121910741.png
├── image-20221114122429032.png
├── image-20221114122439926.png
├── image-20221114132438605.png
├── image-20221114134709648.png
├── image-20221114140316597.png
├── image-20221114145136100.png
├── image-20221114145712230.png
├── image-20221114192551060.png
├── image-20221115123753275.png
├── image-20221115125834763.png
├── image-20221117195500559.png
├── image-20221121144048915.png
├── image-20221121145450769.png
├── image-20221121145516907.png
├── image-20221121150849094.png
├── image-20221121151502598.png
└── image-20221128103018999.png
├── 计网笔记.md
└── 课程网站答案
├── Ch.5 exercise1.png
├── Ch.5 exercise2.png
├── Ch.5 exercise3.png
├── Ch.5 exercise4.png
├── Ch.5 exercise5.png
├── Ch.5 exercise6.png
├── Ch.6 exercise1.png
├── Ch.6 exercise2.png
├── Ch.6 exercise3.png
├── Ch.6 exercise4.png
├── Ch.6 exercise5.png
├── Ch.7 exercise1.png
├── Ch.7 exercise2.png
├── Quiz5-1.png
├── Quiz5-2.png
├── Quiz6-1.png
├── Quiz6-2.png
├── Quiz6-3.png
├── Quiz6-4.png
├── Quiz6-5.png
├── Quiz7-1.png
├── Quiz7-2.png
├── Quiz7-3.png
├── Quiz7-4.png
├── Quiz7-5.png
├── Quiz8-1.png
├── Quiz8-2.png
├── Quiz8-3.png
├── Quiz8-4.png
└── Quiz8-5.png
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/.DS_Store
--------------------------------------------------------------------------------
/Lab1/dns.pcap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab1/dns.pcap
--------------------------------------------------------------------------------
/Lab1/http.pcap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab1/http.pcap
--------------------------------------------------------------------------------
/Lab1/ping.pcap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab1/ping.pcap
--------------------------------------------------------------------------------
/Lab1/traceroute.pcap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab1/traceroute.pcap
--------------------------------------------------------------------------------
/Lab1/实验1.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab1/实验1.doc
--------------------------------------------------------------------------------
/Lab2/conf1.txt:
--------------------------------------------------------------------------------
1 | Switch#show ru
2 | Switch#show running-config
3 | Building configuration...
4 |
5 | Current configuration 3223 bytes
6 | !
7 | ! Last configuration change at 000529 UTC Sat Feb 4 2017
8 | !
9 | version 15.2
10 | no service pad
11 | service timestamps debug datetime msec
12 | service timestamps log datetime msec
13 | no service password-encryption
14 | !
15 | hostname Switch
16 | !
17 | boot-start-marker
18 | boot-end-marker
19 | !
20 | !
21 | no aaa new-model
22 | system mtu routing 1500
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | no ip domain-lookup
30 | !
31 | !
32 | !
33 | !
34 | !
35 | !
36 | !
37 | crypto pki trustpoint TP-self-signed-3983218688
38 | enrollment selfsigned
39 | subject-name cn=IOS-Self-Signed-Certificate-3983218688
40 | revocation-check none
41 | rsakeypair TP-self-signed-3983218688
42 | !
43 | !
44 | crypto pki certificate chain TP-self-signed-3983218688
45 | certificate self-signed 01
46 | 3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
47 | 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
48 | 69666963 6174652D 33393833 32313836 3838301E 170D3030 30313034 30313236
49 | 34355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
50 | 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 39383332
51 | 31383638 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
52 | 810097DE FAE35ED7 BA3EB7E1 95DAE674 A05D391E A3FD3B09 1A17B418 ED44579F
53 | 9AB3A788 A06040A8 A3D8451E 0152BC72 21EC857D BE37524E D94FB076 E9D8BEB8
54 | 863A0A8A 6F1F301C 2E2396E1 F3E9BFF1 6F7CB957 DC82BA15 8761F411 718E9171
55 | 76037063 60FFE3AB A28DBF14 58D2053E 09664A02 0EF93C29 17AA215E 18FEBBEB
56 | 28E70203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
57 | 551D2304 18301680 14AEF623 8598F33F E5655F26 BAE9C411 383DFA07 02301D06
58 | 03551D0E 04160414 AEF62385 98F33FE5 655F26BA E9C41138 3DFA0702 300D0609
59 | 2A864886 F70D0101 05050003 81810037 34F1808E 07222CAC 418B377A 8679B5AA
60 | CC094626 D1B5C92A 4DCD293C 91C8EA78 0190BA57 7CCF6619 FF0E662F 900DBEC7
61 | E51C18E3 1601B4A9 F4073C96 9A447780 092246FB 907740BA 5C909F9C 88A53119
62 | DF51E120 CDE0C77A 6D75D4EF 67DBB1E4 7039AEC4 FE2B3C3C 7B5A1CCB AC46067A
63 | CE249B0E BBE59C16 2AE0452A 2886D0
64 | quit
65 | !
66 | spanning-tree mode rapid-pvst
67 | spanning-tree extend system-id
68 | !
69 | !
70 | !
71 | !
72 | vlan internal allocation policy ascending
73 | !
74 | !
75 | !
76 | !
77 | !
78 | !
79 | !
80 | !
81 | !
82 | !
83 | !
84 | !
85 | interface GigabitEthernet01
86 | switchport mode trunk
87 | !
88 | interface GigabitEthernet02
89 | !
90 | interface GigabitEthernet03
91 | switchport access vlan 2
92 | switchport mode access
93 | !
94 | interface GigabitEthernet04
95 | !
96 | interface GigabitEthernet05
97 | switchport access vlan 2
98 | switchport mode trunk
99 | spanning-tree vlan 1 port-priority 16
100 | !
101 | interface GigabitEthernet06
102 | switchport access vlan 2
103 | switchport mode trunk
104 | spanning-tree vlan 1 port-priority 16
105 | !
106 | interface GigabitEthernet07
107 | !
108 | interface GigabitEthernet08
109 | switchport mode trunk
110 | spanning-tree vlan 2,16 port-priority 16
111 | !
112 | interface GigabitEthernet09
113 | !
114 | interface GigabitEthernet010
115 | switchport access vlan 2
116 | !
117 | interface GigabitEthernet011
118 | !
119 | interface GigabitEthernet012
120 | !
121 | interface Vlan1
122 | ip address 192.168.0.10 255.255.255.0
123 | !
124 | interface Vlan2
125 | ip address 192.168.1.1 255.255.255.0
126 | !
127 | ip forward-protocol nd
128 | ip http server
129 | ip http secure-server
130 | !
131 | !
132 | !
133 | !
134 | no vstack
135 | !
136 | line con 0
137 | exec-timeout 0 0
138 | logging synchronous
139 | line vty 0 4
140 | password 123456
141 | login
142 | line vty 5 15
143 | login
144 | !
145 | !
146 | monitor session 1 source interface Gi01 , Gi03 - 4 , Gi06 - 7 , Gi010
147 | monitor session 1 destination interface Gi011
148 | !
149 | end
150 |
151 | Switch#
152 |
--------------------------------------------------------------------------------
/Lab2/conf2.txt:
--------------------------------------------------------------------------------
1 | Switch#show running-config
2 | Building configuration...
3 |
4 | Current configuration : 1195 bytes
5 | !
6 | ! Last configuration change at 03:02:02 UTC Fri Feb 22 2002
7 | !
8 | version 15.2
9 | no service pad
10 | service timestamps debug datetime msec
11 | service timestamps log datetime msec
12 | no service password-encryption
13 | !
14 | hostname Switch
15 | !
16 | boot-start-marker
17 | boot-end-marker
18 | !
19 | !
20 | no aaa new-model
21 | system mtu routing 1500
22 | !
23 | !
24 | !
25 | !
26 | !
27 | !
28 | !
29 | !
30 | !
31 | !
32 | !
33 | !
34 | !
35 | !
36 | !
37 | spanning-tree mode rapid-pvst
38 | spanning-tree extend system-id
39 | !
40 | !
41 | !
42 | !
43 | vlan internal allocation policy ascending
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | !
55 | !
56 | interface GigabitEthernet0/1
57 | !
58 | interface GigabitEthernet0/2
59 | !
60 | interface GigabitEthernet0/3
61 | switchport mode trunk
62 | !
63 | interface GigabitEthernet0/4
64 | !
65 | interface GigabitEthernet0/5
66 | switchport mode trunk
67 | spanning-tree vlan 1 port-priority 16
68 | !
69 | interface GigabitEthernet0/6
70 | switchport access vlan 2
71 | !
72 | interface GigabitEthernet0/7
73 | !
74 | interface GigabitEthernet0/8
75 | switchport access vlan 2
76 | switchport mode trunk
77 | spanning-tree vlan 2 port-priority 16
78 | !
79 | interface GigabitEthernet0/9
80 | !
81 | interface GigabitEthernet0/10
82 | !
83 | interface GigabitEthernet0/11
84 | !
85 | interface GigabitEthernet0/12
86 | !
87 | interface Vlan1
88 | no ip address
89 | shutdown
90 | !
91 | ip forward-protocol nd
92 | ip http server
93 | ip http secure-server
94 | !
95 | !
96 | !
97 | !
98 | no vstack
99 | !
100 | line con 0
101 | line vty 5 15
102 | !
103 | !
104 | end
105 |
106 | Switch#
107 |
--------------------------------------------------------------------------------
/Lab2/计网Lab2 刘思锐 3200102708.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab2/计网Lab2 刘思锐 3200102708.doc
--------------------------------------------------------------------------------
/Lab4/3200102708 Lab4 刘思锐.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab4/3200102708 Lab4 刘思锐.zip
--------------------------------------------------------------------------------
/Lab4/R1.txt:
--------------------------------------------------------------------------------
1 |
2 | ip tcp synwait-time 5
3 | !
4 | !
5 | !
6 | !
7 | !
8 | interface FastEthernet0/0
9 | ip address 10.0.0.2 255.255.0.0
10 | duplex auto
11 | speed auto
12 | !
13 | interface Serial0/0
14 | ip address 192.168.12.1 255.255.255.0
15 | clock rate 2000000
16 | !
17 | interface FastEthernet0/1
18 | ip address 192.168.8.1 255.255.255.0
19 | duplex auto
20 | speed auto
21 | !
22 | interface Serial0/1
23 | no ip address
24 | shutdown
25 | clock rate 2000000
26 | !
27 | interface Serial0/2
28 | no ip address
29 | shutdown
30 | clock rate 2000000
31 | !
32 | interface Serial0/3
33 | no ip address
34 | shutdown
35 | clock rate 2000000
36 | !
37 | interface FastEthernet1/0
38 | ip address 10.1.0.2 255.255.0.0
39 | duplex auto
40 | speed auto
41 | !
42 | interface FastEthernet2/0
43 | no ip address
44 | shutdown
45 | duplex auto
46 | speed auto
47 | !
48 | interface FastEthernet3/0
49 | no ip address
50 | shutdown
51 | duplex auto
52 | speed auto
53 | !
54 | interface FastEthernet4/0
55 | !
56 | interface FastEthernet4/1
57 | !
58 | interface FastEthernet4/2
59 | !
60 | interface FastEthernet4/3
61 | !
62 | interface FastEthernet4/4
63 | !
64 | interface FastEthernet4/5
65 | !
66 | interface FastEthernet4/6
67 | !
68 | interface FastEthernet4/7
69 | !
70 | interface FastEthernet4/8
71 | !
72 | interface FastEthernet4/9
73 | !
74 | interface FastEthernet4/10
75 | !
76 | interface FastEthernet4/11
77 | !
78 | interface FastEthernet4/12
79 | !
80 | interface FastEthernet4/13
81 | !
82 | interface FastEthernet4/14
83 | !
84 | interface FastEthernet4/15
85 | !
86 | interface Vlan1
87 | no ip address
88 | !
89 | !
90 | ip forward-protocol nd
91 | ip route 0.0.0.0 0.0.0.0 192.168.12.2
92 | ip route 10.162.0.0 255.255.0.0 192.168.12.2
93 | ip route 172.16.0.0 255.255.255.0 192.168.8.2
94 | ip route 172.16.0.0 255.255.255.0 192.168.12.2 30
95 | ip route 172.16.1.0 255.255.255.0 192.168.8.2
96 | ip route 172.16.1.0 255.255.255.0 192.168.12.2 30
97 | ip route 192.168.24.4 255.255.255.255 192.168.12.2
98 | ip route 192.168.30.0 255.255.255.0 192.168.12.2
99 | ip route 192.168.31.0 255.255.255.0 192.168.12.2
100 | ip route 192.168.35.1 255.255.255.255 192.168.8.2
101 | !
102 | !
103 | no ip http server
104 | no ip http secure-server
105 | !
106 | no cdp log mismatch duplex
107 | !
108 | !
109 | !
110 |
--------------------------------------------------------------------------------
/Lab4/R2.txt:
--------------------------------------------------------------------------------
1 |
2 | username R4 password 0 3200102708
3 | !
4 | !
5 | ip tcp synwait-time 5
6 | !
7 | !
8 | !
9 | !
10 | !
11 | interface FastEthernet0/0
12 | ip address dhcp
13 | ip nat outside
14 | ip virtual-reassembly
15 | duplex auto
16 | speed auto
17 | !
18 | interface Serial0/0
19 | ip address 192.168.12.2 255.255.255.0
20 | ip nat inside
21 | ip virtual-reassembly
22 | clock rate 128000
23 | !
24 | interface FastEthernet0/1
25 | no ip address
26 | shutdown
27 | duplex auto
28 | speed auto
29 | !
30 | interface Serial0/1
31 | ip address 192.168.24.2 255.255.255.0
32 | encapsulation ppp
33 | clock rate 2000000
34 | ppp authentication chap
35 | !
36 | interface Serial0/2
37 | no ip address
38 | shutdown
39 | clock rate 2000000
40 | !
41 | interface Serial0/3
42 | no ip address
43 | shutdown
44 | clock rate 2000000
45 | !
46 | interface FastEthernet1/0
47 | no ip address
48 | shutdown
49 | duplex auto
50 | speed auto
51 | !
52 | interface FastEthernet2/0
53 | no ip address
54 | shutdown
55 | duplex auto
56 | speed auto
57 | !
58 | interface FastEthernet3/0
59 | no ip address
60 | shutdown
61 | duplex auto
62 | speed auto
63 | !
64 | interface FastEthernet4/0
65 | !
66 | interface FastEthernet4/1
67 | !
68 | interface FastEthernet4/2
69 | !
70 | interface FastEthernet4/3
71 | !
72 | interface FastEthernet4/4
73 | !
74 | interface FastEthernet4/5
75 | !
76 | interface FastEthernet4/6
77 | !
78 | interface FastEthernet4/7
79 | !
80 | interface FastEthernet4/8
81 | !
82 | interface FastEthernet4/9
83 | !
84 | interface FastEthernet4/10
85 | !
86 | interface FastEthernet4/11
87 | !
88 | interface FastEthernet4/12
89 | !
90 | interface FastEthernet4/13
91 | !
92 | interface FastEthernet4/14
93 | !
94 | interface FastEthernet4/15
95 | !
96 | interface Vlan1
97 | no ip address
98 | !
99 | !
100 | ip forward-protocol nd
101 | ip route 192.168.8.1 255.255.255.255 192.168.12.1
102 | !
103 | !
104 | no ip http server
105 | no ip http secure-server
106 | ip nat source list 2 interface FastEthernet0/0 overload
107 | !
108 | access-list 2 permit 10.0.0.0 0.255.255.255
109 | no cdp log mismatch duplex
110 | !
111 | !
112 | !
113 |
--------------------------------------------------------------------------------
/Lab4/R3.txt:
--------------------------------------------------------------------------------
1 |
2 | ip tcp synwait-time 5
3 | !
4 | !
5 | !
6 | !
7 | !
8 | interface FastEthernet0/0
9 | ip address 192.168.35.2 255.255.255.0
10 | duplex auto
11 | speed auto
12 | !
13 | interface Serial0/0
14 | no ip address
15 | shutdown
16 | clock rate 2000000
17 | !
18 | interface FastEthernet0/1
19 | ip address 192.168.8.2 255.255.255.0
20 | duplex auto
21 | speed auto
22 | !
23 | interface Serial0/1
24 | no ip address
25 | shutdown
26 | clock rate 2000000
27 | !
28 | interface Serial0/2
29 | no ip address
30 | shutdown
31 | clock rate 2000000
32 | !
33 | interface Serial0/3
34 | no ip address
35 | shutdown
36 | clock rate 2000000
37 | !
38 | interface FastEthernet1/0
39 | ip address 192.168.27.2 255.255.255.0
40 | duplex auto
41 | speed auto
42 | !
43 | interface FastEthernet2/0
44 | no ip address
45 | shutdown
46 | duplex auto
47 | speed auto
48 | !
49 | interface FastEthernet3/0
50 | no ip address
51 | shutdown
52 | duplex auto
53 | speed auto
54 | !
55 | interface FastEthernet4/0
56 | !
57 | interface FastEthernet4/1
58 | !
59 | interface FastEthernet4/2
60 | !
61 | interface FastEthernet4/3
62 | !
63 | interface FastEthernet4/4
64 | !
65 | interface FastEthernet4/5
66 | !
67 | interface FastEthernet4/6
68 | !
69 | interface FastEthernet4/7
70 | !
71 | interface FastEthernet4/8
72 | !
73 | interface FastEthernet4/9
74 | !
75 | interface FastEthernet4/10
76 | !
77 | interface FastEthernet4/11
78 | !
79 | interface FastEthernet4/12
80 | !
81 | interface FastEthernet4/13
82 | !
83 | interface FastEthernet4/14
84 | !
85 | interface FastEthernet4/15
86 | !
87 | interface Vlan1
88 | no ip address
89 | !
90 | !
91 | ip forward-protocol nd
92 | ip route 10.0.0.0 255.255.0.0 192.168.8.1
93 | ip route 10.1.0.0 255.255.0.0 192.168.8.1
94 | ip route 172.16.0.0 255.255.255.0 192.168.27.1
95 | ip route 172.16.1.0 255.255.255.0 192.168.27.1
96 | !
97 | !
98 | no ip http server
99 | no ip http secure-server
100 | !
101 | no cdp log mismatch duplex
102 | !
103 | !
104 | !
105 |
--------------------------------------------------------------------------------
/Lab4/R4.txt:
--------------------------------------------------------------------------------
1 |
2 | username R2 password 0 3200102708
3 | !
4 | !
5 | ip tcp synwait-time 5
6 | !
7 | !
8 | !
9 | !
10 | !
11 | interface FastEthernet0/0
12 | ip address 172.16.0.1 255.255.255.0
13 | duplex auto
14 | speed auto
15 | !
16 | interface Serial0/0
17 | no ip address
18 | shutdown
19 | clock rate 2000000
20 | !
21 | interface FastEthernet0/1
22 | ip address 172.16.1.1 255.255.255.0
23 | duplex auto
24 | speed auto
25 | !
26 | interface Serial0/1
27 | ip address 192.168.24.4 255.255.255.0
28 | encapsulation ppp
29 | clock rate 2000000
30 | ppp authentication chap
31 | !
32 | interface Serial0/2
33 | no ip address
34 | shutdown
35 | clock rate 2000000
36 | !
37 | interface Serial0/3
38 | no ip address
39 | shutdown
40 | clock rate 2000000
41 | !
42 | interface FastEthernet1/0
43 | ip address 192.168.27.1 255.255.255.0
44 | duplex auto
45 | speed auto
46 | !
47 | interface FastEthernet2/0
48 | no ip address
49 | shutdown
50 | duplex auto
51 | speed auto
52 | !
53 | interface FastEthernet3/0
54 | no ip address
55 | shutdown
56 | duplex auto
57 | speed auto
58 | !
59 | interface FastEthernet4/0
60 | !
61 | interface FastEthernet4/1
62 | !
63 | interface FastEthernet4/2
64 | !
65 | interface FastEthernet4/3
66 | !
67 | interface FastEthernet4/4
68 | !
69 | interface FastEthernet4/5
70 | !
71 | interface FastEthernet4/6
72 | !
73 | interface FastEthernet4/7
74 | !
75 | interface FastEthernet4/8
76 | !
77 | interface FastEthernet4/9
78 | !
79 | interface FastEthernet4/10
80 | !
81 | interface FastEthernet4/11
82 | !
83 | interface FastEthernet4/12
84 | !
85 | interface FastEthernet4/13
86 | !
87 | interface FastEthernet4/14
88 | !
89 | interface FastEthernet4/15
90 | !
91 | interface Vlan1
92 | no ip address
93 | !
94 | !
95 | ip forward-protocol nd
96 | ip route 10.0.0.0 255.255.0.0 192.168.27.2
97 | ip route 10.0.0.0 255.255.0.0 192.168.24.2 30
98 | ip route 10.1.0.0 255.255.0.0 192.168.27.2
99 | ip route 10.1.0.0 255.255.0.0 192.168.24.2 30
100 | ip route 192.168.8.1 255.255.255.255 192.168.24.2
101 | ip route 192.168.12.1 255.255.255.255 192.168.24.2
102 | ip route 192.168.35.1 255.255.255.255 192.168.27.2
103 | !
104 | !
105 | no ip http server
106 | no ip http secure-server
107 | !
108 | no cdp log mismatch duplex
109 | !
110 | !
111 | !
112 |
--------------------------------------------------------------------------------
/Lab4/R5.txt:
--------------------------------------------------------------------------------
1 |
2 | ip tcp synwait-time 5
3 | !
4 | !
5 | !
6 | !
7 | !
8 | interface FastEthernet0/0
9 | ip address 192.168.35.1 255.255.255.0
10 | ip nat outside
11 | ip virtual-reassembly
12 | duplex auto
13 | speed auto
14 | !
15 | interface Serial0/0
16 | no ip address
17 | shutdown
18 | clock rate 2000000
19 | !
20 | interface FastEthernet0/1
21 | ip address 192.168.50.1 255.255.255.0
22 | ip nat inside
23 | ip virtual-reassembly
24 | duplex auto
25 | speed auto
26 | !
27 | interface Serial0/1
28 | no ip address
29 | shutdown
30 | clock rate 2000000
31 | !
32 | interface Serial0/2
33 | no ip address
34 | shutdown
35 | clock rate 2000000
36 | !
37 | interface Serial0/3
38 | no ip address
39 | shutdown
40 | clock rate 2000000
41 | !
42 | interface FastEthernet1/0
43 | no ip address
44 | shutdown
45 | duplex auto
46 | speed auto
47 | !
48 | interface FastEthernet2/0
49 | no ip address
50 | shutdown
51 | duplex auto
52 | speed auto
53 | !
54 | interface FastEthernet3/0
55 | no ip address
56 | shutdown
57 | duplex auto
58 | speed auto
59 | !
60 | interface FastEthernet4/0
61 | !
62 | interface FastEthernet4/1
63 | !
64 | interface FastEthernet4/2
65 | !
66 | interface FastEthernet4/3
67 | !
68 | interface FastEthernet4/4
69 | !
70 | interface FastEthernet4/5
71 | !
72 | interface FastEthernet4/6
73 | !
74 | interface FastEthernet4/7
75 | !
76 | interface FastEthernet4/8
77 | !
78 | interface FastEthernet4/9
79 | !
80 | interface FastEthernet4/10
81 | !
82 | interface FastEthernet4/11
83 | !
84 | interface FastEthernet4/12
85 | !
86 | interface FastEthernet4/13
87 | !
88 | interface FastEthernet4/14
89 | !
90 | interface FastEthernet4/15
91 | !
92 | interface Vlan1
93 | no ip address
94 | !
95 | !
96 | ip forward-protocol nd
97 | ip route 10.0.0.0 255.255.0.0 192.168.35.2
98 | ip route 10.1.0.0 255.255.0.0 192.168.35.2
99 | ip route 172.16.0.0 255.255.255.0 192.168.35.2
100 | ip route 172.16.1.0 255.255.255.0 192.168.35.2
101 | !
102 | !
103 | no ip http server
104 | no ip http secure-server
105 | ip nat inside source list 1 interface FastEthernet0/0 overload
106 | !
107 | access-list 1 permit 192.168.0.0 0.0.0.255
108 | access-list 1 permit 192.168.50.0 0.0.0.255
109 | no cdp log mismatch duplex
110 | !
111 | !
112 | !
113 |
--------------------------------------------------------------------------------
/Lab4/Ref/R1.txt:
--------------------------------------------------------------------------------
1 | R1#show running-config
2 | Building configuration...
3 |
4 | Current configuration : 2299 bytes
5 | !
6 | version 12.4
7 | service timestamps debug datetime msec
8 | service timestamps log datetime msec
9 | no service password-encryption
10 | !
11 | hostname R1
12 | !
13 | boot-start-marker
14 | boot-end-marker
15 | !
16 | !
17 | no aaa new-model
18 | memory-size iomem 5
19 | no ip icmp rate-limit unreachable
20 | ip cef
21 | !
22 | !
23 | !
24 | !
25 | no ip domain lookup
26 | ip auth-proxy max-nodata-conns 3
27 | ip admission max-nodata-conns 3
28 | !
29 | !
30 | !
31 | !
32 | !
33 | !
34 | !
35 | !
36 | !
37 | !
38 | !
39 | !
40 | !
41 | !
42 | !
43 | !
44 | !
45 | !
46 | !
47 | ip tcp synwait-time 5
48 | !
49 | !
50 | !
51 | !
52 | !
53 | interface FastEthernet0/0
54 | ip address 10.0.0.1 255.255.0.0
55 | duplex auto
56 | speed auto
57 | !
58 | interface Serial0/0
59 | ip address 192.168.12.1 255.255.255.0
60 | clock rate 2000000
61 | !
62 | interface FastEthernet0/1
63 | ip address 192.168.13.1 255.255.255.0
64 | duplex auto
65 | speed auto
66 | !
67 | interface Serial0/1
68 | no ip address
69 | shutdown
70 | clock rate 2000000
71 | !
72 | interface Serial0/2
73 | no ip address
74 | shutdown
75 | clock rate 2000000
76 | !
77 | interface Serial0/3
78 | no ip address
79 | shutdown
80 | clock rate 2000000
81 | !
82 | interface FastEthernet1/0
83 | ip address 10.1.0.1 255.255.0.0
84 | duplex auto
85 | speed auto
86 | !
87 | interface FastEthernet2/0
88 | no ip address
89 | shutdown
90 | duplex auto
91 | speed auto
92 | !
93 | interface FastEthernet3/0
94 | no ip address
95 | shutdown
96 | duplex auto
97 | speed auto
98 | !
99 | interface FastEthernet4/0
100 | !
101 | interface FastEthernet4/1
102 | !
103 | interface FastEthernet4/2
104 | !
105 | interface FastEthernet4/3
106 | !
107 | interface FastEthernet4/4
108 | !
109 | interface FastEthernet4/5
110 | !
111 | interface FastEthernet4/6
112 | !
113 | interface FastEthernet4/7
114 | !
115 | interface FastEthernet4/8
116 | !
117 | interface FastEthernet4/9
118 | !
119 | interface FastEthernet4/10
120 | !
121 | interface FastEthernet4/11
122 | !
123 | interface FastEthernet4/12
124 | !
125 | interface FastEthernet4/13
126 | !
127 | interface FastEthernet4/14
128 | !
129 | interface FastEthernet4/15
130 | !
131 | interface Vlan1
132 | no ip address
133 | !
134 | !
135 | ip forward-protocol nd
136 | ip route 0.0.0.0 0.0.0.0 192.168.12.2
137 | ip route 172.16.0.0 255.255.255.0 192.168.13.3
138 | ip route 172.16.0.0 255.255.255.0 192.168.12.2 30
139 | ip route 172.16.1.0 255.255.255.0 192.168.13.3
140 | ip route 172.16.1.0 255.255.255.0 192.168.12.2 30
141 | ip route 172.16.41.0 255.255.255.0 192.168.12.2
142 | ip route 192.168.24.4 255.255.255.255 192.168.12.2
143 | ip route 192.168.35.5 255.255.255.255 192.168.13.3
144 | !
145 | !
146 | no ip http server
147 | no ip http secure-server
148 | !
149 | no cdp log mismatch duplex
150 | !
151 | !
152 | !
153 | control-plane
154 | !
155 | !
156 | !
157 | !
158 | !
159 | !
160 | !
161 | !
162 | !
163 | !
164 | line con 0
165 | exec-timeout 0 0
166 | privilege level 15
167 | logging synchronous
168 | line aux 0
169 | exec-timeout 0 0
170 | privilege level 15
171 | logging synchronous
172 | line vty 0 4
173 | login
174 | !
175 | !
176 | end
--------------------------------------------------------------------------------
/Lab4/Ref/R2.txt:
--------------------------------------------------------------------------------
1 | R2#show running-config
2 | Building configuration...
3 |
4 | Current configuration : 2405 bytes
5 | !
6 | version 12.4
7 | service timestamps debug datetime msec
8 | service timestamps log datetime msec
9 | no service password-encryption
10 | !
11 | hostname R2
12 | !
13 | boot-start-marker
14 | boot-end-marker
15 | !
16 | !
17 | no aaa new-model
18 | memory-size iomem 5
19 | no ip icmp rate-limit unreachable
20 | ip cef
21 | !
22 | !
23 | !
24 | !
25 | no ip domain lookup
26 | ip auth-proxy max-nodata-conns 3
27 | ip admission max-nodata-conns 3
28 | !
29 | !
30 | !
31 | !
32 | !
33 | !
34 | !
35 | !
36 | !
37 | !
38 | !
39 | !
40 | !
41 | !
42 | !
43 | !
44 | !
45 | username R4 password 0 1234
46 | !
47 | !
48 | ip tcp synwait-time 5
49 | !
50 | !
51 | !
52 | !
53 | !
54 | interface FastEthernet0/0
55 | ip address dhcp
56 | ip nat outside
57 | ip virtual-reassembly
58 | duplex auto
59 | speed auto
60 | !
61 | interface Serial0/0
62 | ip address 192.168.12.2 255.255.255.0
63 | ip nat inside
64 | ip virtual-reassembly
65 | clock rate 128000
66 | !
67 | interface FastEthernet0/1
68 | no ip address
69 | shutdown
70 | duplex auto
71 | speed auto
72 | !
73 | interface Serial0/1
74 | ip address 192.168.24.2 255.255.255.0
75 | encapsulation ppp
76 | clock rate 2000000
77 | !
78 | interface Serial0/2
79 | no ip address
80 | shutdown
81 | clock rate 2000000
82 | !
83 | interface Serial0/3
84 | no ip address
85 | shutdown
86 | clock rate 2000000
87 | !
88 | interface FastEthernet1/0
89 | no ip address
90 | shutdown
91 | duplex auto
92 | speed auto
93 | !
94 | interface FastEthernet2/0
95 | no ip address
96 | shutdown
97 | duplex auto
98 | speed auto
99 | !
100 | interface FastEthernet3/0
101 | no ip address
102 | shutdown
103 | duplex auto
104 | speed auto
105 | !
106 | interface FastEthernet4/0
107 | !
108 | interface FastEthernet4/1
109 | !
110 | interface FastEthernet4/2
111 | !
112 | interface FastEthernet4/3
113 | !
114 | interface FastEthernet4/4
115 | !
116 | interface FastEthernet4/5
117 | !
118 | interface FastEthernet4/6
119 | !
120 | interface FastEthernet4/7
121 | !
122 | interface FastEthernet4/8
123 | !
124 | interface FastEthernet4/9
125 | !
126 | interface FastEthernet4/10
127 | !
128 | interface FastEthernet4/11
129 | !
130 | interface FastEthernet4/12
131 | !
132 | interface FastEthernet4/13
133 | !
134 | interface FastEthernet4/14
135 | !
136 | interface FastEthernet4/15
137 | !
138 | interface Vlan1
139 | no ip address
140 | !
141 | !
142 | ip forward-protocol nd
143 | ip route 0.0.0.0 0.0.0.0 172.16.41.255
144 | ip route 10.0.0.0 255.255.0.0 192.168.12.1 30
145 | ip route 10.1.0.0 255.255.0.0 192.168.12.1 30
146 | ip route 172.16.0.0 255.255.255.0 192.168.24.4 30
147 | ip route 172.16.1.0 255.255.255.0 192.168.24.4 30
148 | ip route 192.168.13.1 255.255.255.255 192.168.12.1
149 | !
150 | !
151 | no ip http server
152 | no ip http secure-server
153 | ip nat inside source list 2 interface FastEthernet0/0 overload
154 | !
155 | access-list 2 permit 10.0.0.0 0.255.255.255
156 | no cdp log mismatch duplex
157 | !
158 | !
159 | !
160 | control-plane
161 | !
162 | !
163 | !
164 | !
165 | !
166 | !
167 | !
168 | !
169 | !
170 | !
171 | line con 0
172 | exec-timeout 0 0
173 | privilege level 15
174 | logging synchronous
175 | line aux 0
176 | exec-timeout 0 0
177 | privilege level 15
178 | logging synchronous
179 | line vty 0 4
180 | login
181 | !
182 | !
183 | end
--------------------------------------------------------------------------------
/Lab4/Ref/R3.txt:
--------------------------------------------------------------------------------
1 | R3#show running-config
2 | Building configuration...
3 |
4 | Current configuration : 2095 bytes
5 | !
6 | version 12.4
7 | service timestamps debug datetime msec
8 | service timestamps log datetime msec
9 | no service password-encryption
10 | !
11 | hostname R3
12 | !
13 | boot-start-marker
14 | boot-end-marker
15 | !
16 | !
17 | no aaa new-model
18 | memory-size iomem 5
19 | no ip icmp rate-limit unreachable
20 | ip cef
21 | !
22 | !
23 | !
24 | !
25 | no ip domain lookup
26 | ip auth-proxy max-nodata-conns 3
27 | ip admission max-nodata-conns 3
28 | !
29 | !
30 | !
31 | !
32 | !
33 | !
34 | !
35 | !
36 | !
37 | !
38 | !
39 | !
40 | !
41 | !
42 | !
43 | !
44 | !
45 | !
46 | !
47 | ip tcp synwait-time 5
48 | !
49 | !
50 | !
51 | !
52 | !
53 | interface FastEthernet0/0
54 | ip address 192.168.35.3 255.255.255.0
55 | duplex auto
56 | speed auto
57 | !
58 | interface Serial0/0
59 | no ip address
60 | shutdown
61 | clock rate 2000000
62 | !
63 | interface FastEthernet0/1
64 | ip address 192.168.13.3 255.255.255.0
65 | duplex auto
66 | speed auto
67 | !
68 | interface Serial0/1
69 | no ip address
70 | shutdown
71 | clock rate 2000000
72 | !
73 | interface Serial0/2
74 | no ip address
75 | shutdown
76 | clock rate 2000000
77 | !
78 | interface Serial0/3
79 | no ip address
80 | shutdown
81 | clock rate 2000000
82 | !
83 | interface FastEthernet1/0
84 | ip address 192.168.34.3 255.255.255.0
85 | duplex auto
86 | speed auto
87 | !
88 | interface FastEthernet2/0
89 | no ip address
90 | shutdown
91 | duplex auto
92 | speed auto
93 | !
94 | interface FastEthernet3/0
95 | no ip address
96 | shutdown
97 | duplex auto
98 | speed auto
99 | !
100 | interface FastEthernet4/0
101 | !
102 | interface FastEthernet4/1
103 | !
104 | interface FastEthernet4/2
105 | !
106 | interface FastEthernet4/3
107 | !
108 | interface FastEthernet4/4
109 | !
110 | interface FastEthernet4/5
111 | !
112 | interface FastEthernet4/6
113 | !
114 | interface FastEthernet4/7
115 | !
116 | interface FastEthernet4/8
117 | !
118 | interface FastEthernet4/9
119 | !
120 | interface FastEthernet4/10
121 | !
122 | interface FastEthernet4/11
123 | !
124 | interface FastEthernet4/12
125 | !
126 | interface FastEthernet4/13
127 | !
128 | interface FastEthernet4/14
129 | !
130 | interface FastEthernet4/15
131 | !
132 | interface Vlan1
133 | no ip address
134 | !
135 | !
136 | ip forward-protocol nd
137 | ip route 10.0.0.0 255.255.0.0 192.168.13.1
138 | ip route 10.1.0.0 255.255.0.0 192.168.13.1
139 | ip route 172.16.0.0 255.255.255.0 192.168.34.4
140 | ip route 172.16.1.0 255.255.255.0 192.168.34.4
141 | !
142 | !
143 | no ip http server
144 | no ip http secure-server
145 | !
146 | no cdp log mismatch duplex
147 | !
148 | !
149 | !
150 | control-plane
151 | !
152 | !
153 | !
154 | !
155 | !
156 | !
157 | !
158 | !
159 | !
160 | !
161 | line con 0
162 | exec-timeout 0 0
163 | privilege level 15
164 | logging synchronous
165 | line aux 0
166 | exec-timeout 0 0
167 | privilege level 15
168 | logging synchronous
169 | line vty 0 4
170 | login
171 | !
172 | !
173 | end
--------------------------------------------------------------------------------
/Lab4/Ref/R4.txt:
--------------------------------------------------------------------------------
1 | R4#show running-config
2 | Building configuration...
3 |
4 | Current configuration : 2574 bytes
5 | !
6 | version 12.4
7 | service timestamps debug datetime msec
8 | service timestamps log datetime msec
9 | no service password-encryption
10 | !
11 | hostname R4
12 | !
13 | boot-start-marker
14 | boot-end-marker
15 | !
16 | !
17 | no aaa new-model
18 | memory-size iomem 5
19 | no ip icmp rate-limit unreachable
20 | ip cef
21 | !
22 | !
23 | no ip dhcp use vrf connected
24 | !
25 | ip dhcp pool 1
26 | network 172.16.0.0 255.255.255.0
27 | default-router 172.16.0.1
28 | !
29 | ip dhcp pool 2
30 | network 172.16.1.0 255.255.255.0
31 | default-router 172.16.1.1
32 | !
33 | !
34 | no ip domain lookup
35 | ip auth-proxy max-nodata-conns 3
36 | ip admission max-nodata-conns 3
37 | !
38 | !
39 | !
40 | !
41 | !
42 | !
43 | !
44 | !
45 | !
46 | !
47 | !
48 | !
49 | !
50 | !
51 | !
52 | !
53 | !
54 | username R2 password 0 1234
55 | !
56 | !
57 | ip tcp synwait-time 5
58 | !
59 | !
60 | !
61 | !
62 | !
63 | interface FastEthernet0/0
64 | ip address 172.16.0.1 255.255.255.0
65 | duplex auto
66 | speed auto
67 | !
68 | interface Serial0/0
69 | ip address 192.168.24.4 255.255.255.0
70 | encapsulation ppp
71 | clock rate 2000000
72 | ppp authentication chap
73 | !
74 | interface FastEthernet0/1
75 | ip address 172.16.1.1 255.255.255.0
76 | duplex auto
77 | speed auto
78 | !
79 | interface Serial0/1
80 | no ip address
81 | shutdown
82 | clock rate 2000000
83 | !
84 | interface Serial0/2
85 | no ip address
86 | shutdown
87 | clock rate 2000000
88 | !
89 | interface Serial0/3
90 | no ip address
91 | shutdown
92 | clock rate 2000000
93 | !
94 | interface FastEthernet1/0
95 | ip address 192.168.34.4 255.255.255.0
96 | duplex auto
97 | speed auto
98 | !
99 | interface FastEthernet2/0
100 | no ip address
101 | shutdown
102 | duplex auto
103 | speed auto
104 | !
105 | interface FastEthernet3/0
106 | no ip address
107 | shutdown
108 | duplex auto
109 | speed auto
110 | !
111 | interface FastEthernet4/0
112 | !
113 | interface FastEthernet4/1
114 | !
115 | interface FastEthernet4/2
116 | !
117 | interface FastEthernet4/3
118 | !
119 | interface FastEthernet4/4
120 | !
121 | interface FastEthernet4/5
122 | !
123 | interface FastEthernet4/6
124 | !
125 | interface FastEthernet4/7
126 | !
127 | interface FastEthernet4/8
128 | !
129 | interface FastEthernet4/9
130 | !
131 | interface FastEthernet4/10
132 | !
133 | interface FastEthernet4/11
134 | !
135 | interface FastEthernet4/12
136 | !
137 | interface FastEthernet4/13
138 | !
139 | interface FastEthernet4/14
140 | !
141 | interface FastEthernet4/15
142 | !
143 | interface Vlan1
144 | no ip address
145 | !
146 | !
147 | ip forward-protocol nd
148 | ip route 10.0.0.0 255.255.0.0 192.168.34.3
149 | ip route 10.0.0.0 255.255.0.0 192.168.24.2 30
150 | ip route 10.1.0.0 255.255.0.0 192.168.34.3
151 | ip route 10.1.0.0 255.255.0.0 192.168.24.2 30
152 | ip route 192.168.12.1 255.255.255.255 192.168.24.2
153 | ip route 192.168.13.1 255.255.255.255 192.168.24.2
154 | ip route 192.168.35.5 255.255.255.255 192.168.13.3
155 | ip route 192.168.35.5 255.255.255.255 192.168.34.3
156 | !
157 | !
158 | no ip http server
159 | no ip http secure-server
160 | !
161 | no cdp log mismatch duplex
162 | !
163 | !
164 | !
165 | control-plane
166 | !
167 | !
168 | !
169 | !
170 | !
171 | !
172 | !
173 | !
174 | !
175 | !
176 | line con 0
177 | exec-timeout 0 0
178 | privilege level 15
179 | logging synchronous
180 | line aux 0
181 | exec-timeout 0 0
182 | privilege level 15
183 | logging synchronous
184 | line vty 0 4
185 | login
186 | !
187 | !
188 | end
--------------------------------------------------------------------------------
/Lab4/Ref/R5.txt:
--------------------------------------------------------------------------------
1 | R5#show running-config
2 | Building configuration...
3 |
4 | Current configuration : 2263 bytes
5 | !
6 | version 12.4
7 | service timestamps debug datetime msec
8 | service timestamps log datetime msec
9 | no service password-encryption
10 | !
11 | hostname R5
12 | !
13 | boot-start-marker
14 | boot-end-marker
15 | !
16 | !
17 | no aaa new-model
18 | memory-size iomem 5
19 | no ip icmp rate-limit unreachable
20 | ip cef
21 | !
22 | !
23 | !
24 | !
25 | no ip domain lookup
26 | ip auth-proxy max-nodata-conns 3
27 | ip admission max-nodata-conns 3
28 | !
29 | !
30 | !
31 | !
32 | !
33 | !
34 | !
35 | !
36 | !
37 | !
38 | !
39 | !
40 | !
41 | !
42 | !
43 | !
44 | !
45 | !
46 | !
47 | ip tcp synwait-time 5
48 | !
49 | !
50 | !
51 | !
52 | !
53 | interface FastEthernet0/0
54 | ip address 192.168.35.5 255.255.255.0
55 | ip nat outside
56 | ip virtual-reassembly
57 | duplex auto
58 | speed auto
59 | !
60 | interface Serial0/0
61 | no ip address
62 | shutdown
63 | clock rate 2000000
64 | !
65 | interface FastEthernet0/1
66 | ip address 192.168.0.1 255.255.255.0
67 | ip nat inside
68 | ip virtual-reassembly
69 | duplex auto
70 | speed auto
71 | !
72 | interface Serial0/1
73 | no ip address
74 | shutdown
75 | clock rate 2000000
76 | !
77 | interface Serial0/2
78 | no ip address
79 | shutdown
80 | clock rate 2000000
81 | !
82 | interface Serial0/3
83 | no ip address
84 | shutdown
85 | clock rate 2000000
86 | !
87 | interface FastEthernet1/0
88 | no ip address
89 | shutdown
90 | duplex auto
91 | speed auto
92 | !
93 | interface FastEthernet2/0
94 | no ip address
95 | shutdown
96 | duplex auto
97 | speed auto
98 | !
99 | interface FastEthernet3/0
100 | no ip address
101 | shutdown
102 | duplex auto
103 | speed auto
104 | !
105 | interface FastEthernet4/0
106 | !
107 | interface FastEthernet4/1
108 | !
109 | interface FastEthernet4/2
110 | !
111 | interface FastEthernet4/3
112 | !
113 | interface FastEthernet4/4
114 | !
115 | interface FastEthernet4/5
116 | !
117 | interface FastEthernet4/6
118 | !
119 | interface FastEthernet4/7
120 | !
121 | interface FastEthernet4/8
122 | !
123 | interface FastEthernet4/9
124 | !
125 | interface FastEthernet4/10
126 | !
127 | interface FastEthernet4/11
128 | !
129 | interface FastEthernet4/12
130 | !
131 | interface FastEthernet4/13
132 | !
133 | interface FastEthernet4/14
134 | !
135 | interface FastEthernet4/15
136 | !
137 | interface Vlan1
138 | no ip address
139 | !
140 | !
141 | ip forward-protocol nd
142 | ip route 10.0.0.0 255.255.0.0 192.168.35.3
143 | ip route 10.1.0.0 255.255.0.0 192.168.35.3
144 | ip route 172.16.0.0 255.255.255.0 192.168.35.3
145 | ip route 172.16.1.0 255.255.255.0 192.168.35.3
146 | !
147 | !
148 | no ip http server
149 | no ip http secure-server
150 | ip nat inside source list 1 interface FastEthernet0/0 overload
151 | !
152 | access-list 1 permit 192.168.0.0 0.0.0.255
153 | no cdp log mismatch duplex
154 | !
155 | !
156 | !
157 | control-plane
158 | !
159 | !
160 | !
161 | !
162 | !
163 | !
164 | !
165 | !
166 | !
167 | !
168 | line con 0
169 | exec-timeout 0 0
170 | privilege level 15
171 | logging synchronous
172 | line aux 0
173 | exec-timeout 0 0
174 | privilege level 15
175 | logging synchronous
176 | line vty 0 4
177 | login
178 | !
179 | !
180 | end
--------------------------------------------------------------------------------
/Lab4/Ref/lab4.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab4/Ref/lab4.pdf
--------------------------------------------------------------------------------
/Lab4/topo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab4/topo.png
--------------------------------------------------------------------------------
/Lab4/实验报告 3200102708 Lab4.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab4/实验报告 3200102708 Lab4.pdf
--------------------------------------------------------------------------------
/Lab4/实验报告模版_实验4.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab4/实验报告模版_实验4.doc
--------------------------------------------------------------------------------
/Lab5/实验报告模版_实验5.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab5/实验报告模版_实验5.doc
--------------------------------------------------------------------------------
/Lab7/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # 默认忽略的文件
2 | /shelf/
3 | /workspace.xml
4 | # 基于编辑器的 HTTP 客户端请求
5 | /httpRequests/
6 | # Datasource local storage ignored files
7 | /dataSources/
8 | /dataSources.local.xml
9 |
--------------------------------------------------------------------------------
/Lab7/.idea/Lab7.iml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Lab7/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Lab7/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Lab7/实验报告模版_实验7.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab7/实验报告模版_实验7.doc
--------------------------------------------------------------------------------
/Lab8/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab8/.DS_Store
--------------------------------------------------------------------------------
/Lab8/Project/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yile-liu/ZJU_computer_network/485b7b6d04fa1b2ca5fccec13e0928441cc4de38/Lab8/Project/.DS_Store
--------------------------------------------------------------------------------
/Lab8/Project/code/head.h:
--------------------------------------------------------------------------------
1 | #ifndef LAB8_HEAD
2 |
3 | #define LAB8_HEAD
4 |
5 | #include
6 | #include
7 | #include
8 | #include
9 | #include