网络实验拓扑:

防火墙实验案例_路由表配置IP:

iou1:

IOU1(config)#interface ethernet 0/0
IOU1(config-if)#ip address 10.1.1.1 255.255.255.0
IOU1(config-if)#duplex full
IOU1(config-if)#no shutdown
IOU1(config-if)#ex

iou2:

IOU2(config)#interface ethernet 0/0
IOU2(config-if)#ip address 172.16.2.2 255.255.255.0
IOU2(config-if)#duplex full
IOU2(config-if)#no shutdown
IOU2(config-if)#exit

ASA:

ciscoasa(config)# interface gigabitEthernet 0
ciscoasa(config-if)# nameif inside
INFO: Security level for "inside" set to 100 by default.
ciscoasa(config-if)# ip address 10.1.1.2 255.255.255.0
ciscoasa(config-if)# no shutdown
ciscoasa(config-if)# exit
ciscoasa(config)# interface gigabitEthernet 1
ciscoasa(config-if)# nameif outside
INFO: Security level for "outside" set to 0 by default.
ciscoasa(config-if)# ip address 172.16.2.1 255.255.255.0
ciscoasa(config-if)# no shutdown
ciscoasa(config-if)# exit

默认路由表:

iou1:

IOU1(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.2

iou2:

IOU2(config)#ip route 0.0.0.0 0.0.0.0 172.16.2.1

防火墙实验案例_ide_02

配置telnet:

iou1:

IOU1(config)#username bdqn password cisco
IOU1(config)#line vty 0 4
IOU1(config-line)#login local
IOU1(config-line)#transport input telnet
IOU1(config-line)#exit

iou2:

IOU2(config)#username bdqn password cisco
IOU2(config)#line vty 0 4
IOU2(config-line)#login local
IOU2(config-line)#transport input telnet
IOU2(config-line)#exit

防火墙实验案例_ide_03

配置ACLping:

ASA:

ciscoasa(config)# access-lis ping permit icmp any any
ciscoasa(config)# access-group ping in interface outside

防火墙实验案例_ide_04

配置实现iou2 telnet iou1:

ASA:

ciscoasa(config)# access-list telnet permit ip host 172.16.2.2 host 10.1.1.1
ciscoasa(config)# access-group telnet in interface outside

防火墙实验案例_路由表_05