书城教材教辅组网技术实训
22843800000042

第42章 项目20大型(单核心)网络(1)

20.1实训目的

通过该项目实训,掌握大型企业单核心网络的常用组网技术和实现方法。

20.2项目背景

为了加快某集团的信息化建设,新的集团企业网将建设一个以集团办公自动化、电子商务、业务综合管理、多媒体视频会议、远程通信、信息发布及查询为核心,实现内、外沟通的现代化计算机网络系统。该网络系统是日后支持办公自动化、供应链管理,以及各应用系统运行的基础设施,为了确保这些关键应用系统的正常运行、安全和发展,系统必须具备如下的特性:

①采用先进的网络通信技术完成集团企业网的建设,实现各分公司的信息化;

②在整个企业集团内实现所有部门的办公自动化,提高工作效率和管理服务水平;

③在整个企业集团内实现资源共享、产品信息共享、实时新闻发布;

④在整个企业集团内实现财务电算化;

⑤在整个企业集团内实现集中式的供应链管理系统和客户服务关系管理系统。

20.3实训任务

(1)根据项目背景及要求,做出需求分析;

(2)根据需求分析,做出网络拓扑设计;

(3)根据需求分析,做出 IP地址规划方案;

(4)根据设计方案实施项目。

20.4实训设计

20.4.1需求分析

根据收集到的企业需求,做出针对性分析。

20.4.2项目网络拓扑

根据网络需求分析,设计网络拓扑结构。

20.4.3IP地址规划

在网络拓扑结构基础上,规划设计本项目的IP地址。

20.4.4实训设备

出口设备为1台R2624路由器;核心设备为1台S68系列(或 S65/S35系列设备),配置2块千兆光纤接口;汇聚设备为2台S3550-24,每台配置1块千兆光纤接口;接入设备为4台S2126C二层交换机4台;实训PC为8台;终端用户的默认网关指向各自对应的VLAN接口的IP地址,设备管理地址为192.168.0.0/24网段,其中S6806E交换机的地址为192.168.0.254。

20.5实训步骤

实训配置分为:网络设备的基本配置、OSPF配置及其测试、网络连通性测试和NAT功能测试四部分。以下配置默认在全局配置模式下进行。

20.5.1网络设备的基本配置

1.S2126G-Al基本配置

hostname S2126G-Al

Vlan1

exit

Vlan10

! 划分 Vlan10

exit

Vlan20

! 划分 Vlan20

exit

Vlan30

! 划分 Vlan30

exit

enable secret leVel10star

! 设置telnet 密码

enable secret leVel150star

! 设置特权模式密码

interface range fastEthernet0/1-3

sWitchport access Vlan10

exit

! 将 f0/1、f0/2和f0/3划分到Vlan10里

interface range fastEthernet0/4-6

sWitchport access Vlan20

exit

! 将 f0/4、f0/5和f0/6划分到Vlan20里

interface range fastEthernet0/7-9

sWitchport access Vlan30

exit

! 将 f0/7、f0/8和f0/9 划分到Vlan30里

interface fastEthernet0/10

sWitchport mode trunk

exit

! 将 f0/10设置为trunk 模式

interface Vlan1

ip address192.168.0.1255.255.255.0

no shut

exit

! 设置管理IP地址

ip default-gateWay192.168.0.254

end

S2126G-Al#

2.S2126G-A2基本配置

hostname S2126G-A2

Vlan1

exit

Vlan10

exit

Vlan20

exit

Vlan30

exit

enable secret leVel10star

enable secret leVel150star

interface range fastEthernet0/1-3

sWitchport access Vlan l0

exit

interface range fastEthernet0/4-6

sWitchport access Vlan20

exit

interface range fastEthernet0/7-9

sWitchport access Vlan30

exit

interface fastEthernet0/20

sWitchport mode trunk

exit

interface Vlan1

ip address192.168.0.2255.255.255.0

no shut

exit

! 设备管理IP地址

ip default-gateWay192.168.0.254

end

S2126G-A2#

3.S2126G-B1基本配置

hostname S2126G-B1

Vlan1

exit

Vlan 50

exit

Vlan60

exit

Vlan 70

exit

enable secret leVel10star

enable secret leVel150star

interface range FastEthernet0/1-3

sWitchport access Vlan 50

exit

interface range fastEthernet0/4-6

sWitchport access Vlan60

exit

interface range fastEthernet0/7-9

sWitchport access Vlan 70

exit

interface fastEthernet0/10

sWitchport mode trunk

exit

interface Vlan1

ip address192.168.0.3255.255.255.0

no shut

exit

! 设置管理IP地址

ip default-gateWay192.168.0.254

end

4.S2126G-B2基本配置

hostname S2126C-B2

Vlan1

exit

Vlan 50

exit

Vlan60

exit

Vlan 70

exit

enable secret leVel10star

enable secret leVel150star

interface range fastEthernet0/1-3

sWitchport access Vlan 50

exit

interface range fastEthernet0/4-6

sWitchport access Vlan60

exit

interface range fastEthernet0/7-9

sWitchport access Vlan 70

exit

interface fastEthernet0/20

sWitchport mode trunk

exit

interface Vlan1

ip address192.168.0.4255.255.255.0

no shut

exit

! 设置管理IP地址

IPdefault-gateWay192.168.0.254

end

5.53550-24-A基本配置

hostname S3550-24-A

Vlan1

exit

Vlan10

exit

Vlan20

exit

Vlan30

exit

Vlan100

exit

interface FastEthernet0/1

sWitchport mode trunk.

exit

interface FastEthernet0/10

sWitchport mode trunk

exit

interface FastEthernet0/20

sWitchport mode trunk

exit

interface Vlan1

ip address192.168.0.5255.255.255.0

no shut

exit

!为交换机分配管理IP地址

interface Vlan10

ip address172.16.10.1255.255.255.0

no shut

exit

!为Vlan10分配IP地址

interface Vlan20

ip address172.16.20.1255.255.255.0

no shut

exit

!为Vlan20分配IP地址

interface Vlan30

ip address172.16.30.1255.255.255.0

no shut

exit

!为Vlan30分配IP地址

interface Vlan100

ip address192.168.128.44255.255.255.248

no shut

exit

!为Vlan100分配IP地址

ip default-gateWay192.168.0.254

end

6.S3550-24-B基本配置

hostname S3550-24-B

Vlan1

exit

Vlan 50

exit

Vlan60

exit

Vlan 70

exit

Vlan200

exit

enable secret leVel10star

enable secret leVel150star

interface FastEthernet0/1

sWitchport mode trunk

exit

interface FastEthernet0/10

sWitchport mode trunk

exit

interface FastEthernet0/20

sWitchport mode trunk

exit

interface Vlan1

ip address192.168.0.6255.255.255.0

no shut

exit

interface Vlan 50

ip address172.18.50.1255.255.255.0

no shut

exit

interface Vlan60

ip address172.18.60.1255.255.255.0

no shut

exit

interface Vlan 70

ip address172.18.70.1255.255.255.0

no shut

exit

interface Vlan200

ip address192.168.129.44255.255.255.248

no shut

exit

ip default-gateWay192.168.0.254

end

7.S6806E-A基本配置

hostname S6806E-A

enable secret leVel10star

enable secret leVel150star

interface GigabitEthernet 4/1

sWitchport mode trunk

exit

interface GigabitEthernet 4/2

sWitchport mode trunk

exit

interface GigabitEthernet 4/10

sWitchport access Vlan300

exit

interface Vlan1

ip address192.168.0.254255.255.255.0

no shut

exit

interface Vlan100

ip address192.168.128.45255.255.255.248

no shut

exit

interface Vlan200

ip address192.168.129.45255.255.255.248

no shut

exit

interface Vlan300

ip address192.168.86.17255.255.255.240

no shut

exit

end

8.R2624-A基本配置

hostname R2624-A

enable passWord star

interface FastEthernet0

ip address192.168.86.30255.255.255.240

no shut

ip nat inside

exit

interface FastEthernet1

ip address210.96.100.85255.255.255.252

no shut

ip nat outside

exit

line con0

line aux0

line Vty04

passWord star

login

end

20.5.2OSPF路由选择协议配置及测试

1.S3550-24-A OSPF路由协议配置

router ospf

! 在路由器上启动ospf进程

area0.0.0.0

netWork172.16.10.0255.255.255.0area0.0.0.0

! 指定参与交换ospf更新的网络及这些网络所属的区域

netWork172.16.20.0255.255.255.0area0.0.0.0

! 指定参与交换ospf更新的网络及这些网络所属的区域

netWork172.16.30.0255.255.255.0area0.0.0.0