配置要求:
1)PC1和PC2可以ping通dmz区域的172.16.1.100服务器(web服务器)
2)PC1和PC2可以ping通202.16.3.1,需要使用Easy-IP NAT
3)202.16.2.1主机使用http协议访问dmz发布到untrust区域服务器的IP地址202.16.1.50
内容:
1、掌握基本接口配置
2、掌握静态路由配置,
3、掌握防火墙安全策略及内容
拓扑图如下:
各设备配置如下:
交换机配置:
SW1配置:
sy
sys SW1
v b 10 20 创建VLAN
int e0/0/1
po link-type ac 接口模式为access
po de v 10 加入vlan10
int e0/0/2
po link-type ac
po de v 20
int g0/0/1
po link-type tr 接口模式为trunk(干路传输)
po tr allow-pass v al 允许所有vlan通过
int g0/0/2
po link-type tr
po tr allow-pass v al
stp instance 0 root primary 设置该交换机为根交换机
SW2配置
sy
sys SW2
v b 10 30 40 创建vlan
dhcp en 打开DHCP功能
int v 10 进入vlanif 10
ip add 192.168.10.254 24 创建vlanif 10 地址(用户地址)
dhcp sel int DHCP从接口分配
int v 30
ip add 192.168.30.1 24 SW2与SW3接口地址
int v 40
ip add 192.168.40.1 24 与R1接口地址
int g0/0/1
po link-type tr
po tr allow-pass v al
int g0/0/2
po link-type ac
po de v 40
int eth-trunk 1 创建聚合口
po link-type tr
po tr allow-pass v a