- 30
- 0
- 约3.2千字
- 约 6页
- 2018-01-04 发布于河南
- 举报
网络配置综合实验1
网络配置综合实验1
【实验名称】
交换综合实验
【实验目的】
构建交换网络的三级结构
【背景描述】
你是某系统集成公司的技术工程师,公司现在承接一个企业网的搭建项目,经过现场勘测及充分与客户沟通,你建议该网络采用经典的三级网络构架,现项目方案已经得到客户的任何,并且请你负责整个网络的实施。
【需求分析】
通过合理的三层网络构架,实现用户接入网络的安全、快捷,不允许VLAN10的用户去访问VLAN30的WWW服务,VLAN20下用户不受限制,VLAN10的用户接口需要配置端口安全,设置最大连接数为3,如果违规则采取restrict措施,VLAN20的用户接口需要配置端口安全,设置最大连接数为2,如果违规则采取restrict措施;配置静态路由使全网互通;配置NAT功能,使内网用户使用-这段地址去访问互联网;将内网的WWW服务发布到互联网上,使用内网地址为54,公网地址为,并要求可以通过内网地址访问WWW服务器;使用ACL防止冲击波病毒。
【实验拓扑图】
【实验拓扑说明】
整个实验用2960交换机模拟两个接入层交换机,用一台3560交换机模拟汇聚交换机,用一台3560交换机模拟核心交换机。VLAN10 和VLAN20用户通过汇聚交换机实现VLAN间路由。
汇聚交换机和核心交换机之间通过静态路由,实现内网用户的对外数据包转发及对内网服务器的访问。
核心交换机与内网出口路由器连接,在内网出口路由器上启用NAT功能,保证内网用户可以访问外网。
【IP地址规划】
设备名称
端口名称
IP地址
汇聚交换机
VLAN10
/24
VLAN20
/24
VLAN30
/24
核心交换机
VLAN10
/24
VLAN20
/24
VLAN30
/24
FA0/11
/30
内网出口路由器
FA0/0
/30
FA1/0
/28
互联网路由器
FA1/0
/28
【配置步骤】
步骤1,配置接入层交换机
接入层交换机1
hostname Jieru1
interface FastEthernet0/1
switchport mode trunk
interface FastEthernet0/2
switchport access vlan 10
switchport port-security maximum 3
switchport port-security violation restrict
interface FastEthernet0/3
switchport access vlan 10
switchport port-security maximum 3
switchport port-security violation restrict
以下端口同样,省略……
接入层交换机2
hostname Jieru2
interface FastEthernet0/1
switchport mode trunk
interface FastEthernet0/2
switchport access vlan 20
switchport port-security maximum 2
switchport port-security violation restrict
interface FastEthernet0/3
switchport access vlan 20
switchport port-security maximum 2
switchport port-security violation restrict
!以下端口同样,省略……
步骤2 配置汇聚层交换机
hostname Huiju
interface FastEthernet0/1
switchport mode trunk
interface FastEthernet0/2
switchport mode trunk
interface FastEthernet0/10
switchport mode trunk
interface Vlan10
ip address
ip access-group 110 in
interface Vlan20
ip address
interface Vlan30
ip address
ip route Vlan10
access-list 110 deny tcp 55 55 eq www
access-list 110 permit ip any any
步骤3 配置核心层交换机
hostname Hexin
interface FastEthernet0/9
switchport access vlan 30
switchport mode access
interface Fast
原创力文档

文档评论(0)