资源描述
实验二 防火墙的网桥模式
一、 实验目的:配置防火墙的网桥模式,验证网桥模式下配置的有效性
二、 背景描述:你是公司的网络工程技术人员,决定在防火墙启用网桥模式,直接与外网路由器相连,现在需要在防火墙上做适当配置。
三、 实现功能: 通过在防火墙上启用网桥模式,实现通过防火墙路由器与三层交换机通信正常。
四、 实验设备:RG-WALL 60 防火墙一台、路由器R1762(1台)、三层交换机S3760(1台)
五、 实验拓扑:
六、实验内容:
步骤1.路由器基本配置
G5-R1762-1>
G5-R1762-1>enable 14
Password: student
G5-R1762-1#configure terminal
G5-R1762-1(config)#
G5-R1762-1(config)#hostname R1
R1(config)#line vty 0 4
R1(config-line)#login
R1(config-line)#password star
R1(config-line)#exit
R1(config)#interface fastEthernet 1/0
R1(config-if)#ip address 172.16.1.12 255.255.255.0
R1(config-if)#no shutdown
步骤2.交换机基本配置
G5-S3750-1>
G5-S3750-1>enable 14
Password:
G5-S3750-1#configure
G5-S3750-1(config)#vlan 11
G5-S3750-1(config-vlan)#exit
G5-S3750-1(config)#interface fastEthernet 0/11
G5-S3750-1(config-if)#switchport access vlan 11
G5-S3750-1(config-if)#exit
G5-S3750-1(config)#interface vlan 11
G5-S3750-1(config-if)#ip address 172.16.1.11 255.255.255.0
G5-S3750-1(config-if)#no shutdown
G5-S3750-1(config-if)#
步骤3.防火墙网桥模式配置
1)登录防火墙
2)配置端口的工作模式
3)配置安全策略→安全规则→包过滤规则
验证测试:验证路由器与三层交换机可以互相访问
R1#ping 172.16.1.11
Sending 5,100-byte ICMP Echoes to 172.16.1.11,timeout is 2 seconds:
<press ctrl+c to break>
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max=1/1/1 ms
注意事项
1) 路由器与防火墙相连的双绞线为交叉线。
2) 防火墙的桥模式相当于在路由器与三层交换机之间加了一台二层交换机。
3) 路由器与三层交换机通过防火墙通信的地址要在同一网段。
展开阅读全文