您的当前位置:首页小型网络的架设

小型网络的架设

2023-07-27 来源:乌哈旅游


长 春 大 学 课 程 设 计 说 明 书

题目名称 小型网络的架设 院(系) 软件学院 专业(班级) 网络Z09310 学生姓名 林威光 指导教师 彭代志 起止日期 2011.4.11~2011.4.15

1

目 录

1 2 3 4 5 6

需求分析................................................................................................................................... 3 网络拓扑图............................................................................................................................... 3 IP地址规划.............................................................................................................................. 3 配置命令................................................................................................................................... 4 组播 .......................................................................................................................................... 6 WWW、FTP服务器的架设 .................................................................................................. 6

2

1 需求分析

为了实现点播功能,既发送者发出的点播信息,用户可以接收到,因此考虑使用路由组播技术。但路由组播技术的前提是全网必须连通,因此考虑使用ospf路由协议,为了防止有链路备份,进行链路聚合。同时,为了让外网的用户也能访问到组播服务器的点播信息,因此决定采用NAT(EASY IP)地址转换技术。

2 网络拓扑图

如图1:

图1:拓扑

3 IP地址规划

区域 1 SW1 IP地址 E2/0 192.168.1.2(VLAN2) E4/0 192.168.2.2(VLAN3) E6/0 192.168.3.2 255.255.255.0 E8/0 192.168.4.2 255.255.255.0

子网掩码 255.255.255.0 网关 192.168.1.2 255.255.255.0 192.168.2.2 192.168.3.2 192.168.4.2 3

E10/0 192.168.5.2 255.255.255.0 2 RT1 G0/1 192.168.3.1 255.255.255.0 192.168.5.2 192.168.3.2 S1/0 100.1.1.1 255.255.255.0 100.1.1.1 3 RT2 S1/0 100.1.1.2 255.255.255.0 100.1.1.1 4 配置命令

(注:写明在某网络设备的主要设计规划、配置命令及注释语言)

[SW1]

system-view [h3c]

[h3c]sysname SW1 [SW1]vlan 2

[SW1]interface Vlan-interface 2

[SW1-Vlan-interface2]ip address 192.168.1.2 24 [SW1]vlan 3

[SW1]interface Vlan-interface 3

[SW1-Vlan-interface3]ip address 192.168.2.2 24 [SW1-Ethernet1/0/6]port link-mode route [SW1-Ethernet1/0/6]ip address 192.168.3.2 24 [SW1-Ethernet1/0/8]port link-mode route [SW1-Ethernet1/0/8]ip address 192.168.4.2 24 [SW1-Ethernet1/0/10]port link-mode route [SW1-Ethernet1/0/10]ip address 192.168.5.2 24 [SW1-Ethernet1/0/2] port link-type trunk

[SW1-Ethernet1/0/2] port trunk permit vlan all [SW1-Ethernet1/0/4] port link-type trunk

[SW1-Ethernet1/0/4] port trunk permit vlan all [SW1]ospf 10

[SW1-ospf-10] area 0

[SW1-ospf-10-area-0.0.0.0]network 192.168.1.2 0.0.0.255 [SW1-ospf-10-area-0.0.0.0]network 192.168.2.2 0.0.0.255 [SW1-ospf-10-area-0.0.0.0]network 192.168.3.2 0.0.0.255 [SW1-ospf-10-area-0.0.0.0]network 192.168.4.2 0.0.0.255 [SW1-ospf-10-area-0.0.0.0]network 192.168.5.2 0.0.0.255 [SW1]multicast routing-enable [SW1]igmp [SW1]version 2

[SW1-Ethernet1/0/8]pim dm [SW1-Ethernet1/0/2]pim dm [SW1-Ethernet1/0/4]pim dm [SW2]

4

system-view [h3c]sysname SW2

[SW2]interface Ethernet 1/0/2

[SW2-Ethernet1/0/2]undo loopback-detection enable [SW2-Ethernet1/0/2]port link-aggregation group 1 [SW2]interface Ethernet 1/0/3

[SW2-Ethernet1/0/3]undo loopback-detection enable [SW2-Ethernet1/0/3]port link-aggregation group 1 [SW2]interface Ethernet 1/0/4

[SW2-Ethernet1/0/4] port link-type trunk

[SW2-Ethernet1/0/4] port trunk permit vlan all

[SW3]

system-view [h3c]sysname SW3

[SW3]interface Ethernet 1/0/2

[SW3-Ethernet1/0/2]undo loopback-detection enable [SW3-Ethernet1/0/2]port link-aggregation group 1 [SW3]interface Ethernet 1/0/3

[SW3-Ethernet1/0/3]undo loopback-detection enable [SW3-Ethernet1/0/3]port link-aggregation group 1 [SW3]interface Ethernet 1/0/4

[SW3-Ethernet1/0/4] port link-type trunk

[SW3-Ethernet1/0/4] port trunk permit vlan all [RT1]

system-view [h3c]sysname RT1

[RT1]interface GigabitEthernet 0/1

[RT1-GigabitEthernet0/1]ip address 192.168.3.1 24 [RT1]interface serial 1/0

[RT1- Serial1/0]ip address 100.1.1.1 24 [RT1]acl number 2000

[RT1-acl-basic-2000]rule 0 permit source 192.168.3.1 0.0.0.255 [RT1- Serial1/0]nat outbound 2000

[RT1- Serial1/0] nat server protocol tcp global 100.1.1.1 www inside 192.168.3.1 www [RT2]

system-view system-view [h3c]sysname RT2

[RT2]interface Serial 1/0

[RT2-Serial1/0]ip address 100.1.1.2 24

5

5 组播

图2:组播源发送端:

图2

图3:组播接收端:

图3

6 WWW、FTP服务器的架设

步骤一:打开控制面板,运行IIS。IIS界面如图5.1所示。

6

7

8

因篇幅问题不能全部显示,请点此查看更多更全内容