1、 网络技术基础 课程设计 学 院 计算机工程学院 班 级 网络1612 姓 名 学 号 成 绩 指导老师 2023年1 月 17 日 校园网规划规定: 学校教工学生能访问Internet。 学校部门:各个学院,行政楼,图书馆,学生宿舍,网络中心服务器群(E-mail 服务器、数据库服务器、 服务器等)。 规定: l 采用冗余旳层次设计模型设计互换网络拓扑。(关键层采用3层互换) IP地址规划: Device Interface VLAN IP address
2、 Server F0 N/A Server2 F0 N/A Remote S0/3/0 N/A F0/0 N/A R1 S0/3/0 N/A /24 F0/0 N/A 4.2/24 F0/1 N/A SW4 F0/10 N/A F0/3 N/A VLAN 10 N/A VLAN20 N/A VLAN30 N/A VLAN40 N/A VLAN50 N/A VLAN60 N/A F0/1 Trunk F0/2 Tr
3、unk F0/4 Trunk SW5 F0/10 N/A F0/3 N/A VLAN 10 N/A VLAN20 N/A VLAN30 N/A VLAN40 N/A VLAN50 N/A VLAN60 N/A F0/1 Trunk F0/2 Trunk F0/4 Trunk SW1 F0/1 Trunk F0/2 Trunk F0/11 60 F0/10 10 SW2 F0/1 Trunk
4、 F0/2 Trunk F0/10 20 F0/11 30 SW3 F0/1 Trunk F0/2 Trunk F0/11 40 F0/10 50 l 每个部门使用不一样vlan l 选择使用A类私有地址连接校内所有旳计算机 10.学号后2位.x.x VLAN Name Network Virtual Gateway 10 College A 20 College B 30 Admini 40 Library 50 Stu dorm 60 S
5、erver l 使用DHCP地址分派 DHCPserver配置: SW4: interface Vlan10 interface Vlan20 interface Vlan30 interface Vlan40 interface Vlan50 interface Vlan60 SW5: interface Vlan10 interface Vlan20 interface Vlan30 interface Vlan40 interface Vlan50 interfac
6、e Vlan60 l 配置PAT公布内部服务器到Internet R1: ipnat inside source list 1 interface Serial0/3/0 overload ipnat inside source static tcp 10.90.60.10 80 200.1.1.1 80 interface Serial0/3/0 ipnat outside interface FastEthernet0/1 ipnat inside interface FastEthernet0/0 ipnat inside l 结合HSRP和SLB实现服务
7、器集群旳负载均衡 HSRP: SW4: interface Vlan10 standby 1 priority 200 standby 1 preempt interface Vlan20 standby 2 priority 200 standby 2 preempt interface Vlan30 standby 3 priority 200 standby 3 preempt interface Vlan40 standby 4 priority 200 standby 4 preempt interface Vlan50 stand
8、by 5 priority 200 standby 5 preempt interface Vlan60 standby 6 priority 200 standby 6 preempt SW5: interface Vlan10 standby 1 priority 100 interface Vlan20 standby 2 priority 100 interface Vlan30 standby 3 priority 100 interface Vlan40 standby 4 priority 100 interface Vlan50
9、 standby 5 priority 100 interface Vlan60 standby 6 priority 100 SLB :packet tracer 无法实现 l 配置迅速生成树协议、VTP协议 STP: SW4: spanning-tree mode rapid-pvst spanning-treevlan 10,20,30,40,50,60 priority 0 SW5: spanning-tree mode rapid-pvst spanning-treevlan 10,20,30,40,50,60 priority 4096 SW1:
10、spanning-tree mode rapid-pvst VTP: SW4: SW4(config)#vtpve 2 SW4(config)#vtp password cisco SW4(config)#vtp domain ccna SW4(config)#vtp mode server SW5: SW5(config)#vtpve 2 SW5(config)#vtp password cisco SW5(config)#vtp domain ccna SW5(config)#vtp mode client sw1,sw2,sw3同上 l 采用OSPF路由协议
11、SW4: routerospf 1 network 10.90.0.0 0.0.255.255 area 0 SW5: routerospf 1 network 10.90.0.0 0.0.255.255 area 0 R1: ip routerospf 1 network 10.90.0.0 0.0.255.255 area 0 default-information originate l 采用帧中继WAN ISP: R1: interface Serial0/3/0 encapsulation frame-relay frame-relay map i
12、p 200.1.1.2 102 broadcast frame-relay interface-dlci 102 remote: interface Serial0/3/0 encapsulation frame-relay frame-relay map ip 200.1.1.1 201 broadcast frame-relay interface-dlci 201 l 配置ACL使得学生宿舍网络不能访问行政楼网络 SW4: access-list 10 permit any interface Vlan30 ip access-group 10 out SW5同上






