1.测试拓扑:
2.基本配置:
R1:
interface FastEthernet0/0
ip address 202.100.1.2 255.255.255.0
no shut
ASA842:
interface GigabitEthernet0
nameif inside
ip address 10.1.1.254 255.255.255.0
no shut
interface GigabitEthernet1
nameif outside
ip address 202.100.1.1 255.255.255.0
no shut
route outside 0.0.0.0 0.0.0.0 202.100.1.2
R2:
interface FastEthernet0/0
ip address 10.1.1.1 255.255.255.0
no shut
ip route 0.0.0.0 0.0.0.0 10.1.1.254
enable secret cisco
line vty 0 4
password cisco
login
-----R1开启telnet服务
PC1:
IP:10.1.1.2/24
GW:10.1.1.254
时间: 2024-10-29 16:38:09