实
验
任
务 实验需求:
1.配置路由器和ASA的接口,实现网络互通
2.配置路由
R1能够Telnet到RR,RR不能够Telnet到R1,
3.使用命令show xlate 查看NAT转换表网络
实验拓扑:ide
思
路
及
实
验
步
骤 配置思路:
1.配置ASA防火墙对应端口的IP并设置端口名与优先级接口
no shutdown
ip address 172.16.1.254 255.255.255.0
exit
object network inside (指定须要进行地址转换的网段)
subnet 10.1.1.0 255.255.255.0
exit
object network in-out (定义全局地址池)
rang 172.16.1.100 172.16.1.200
exit
object network inside (创建转换对应关系)
nat (inside,outside) dynamic in-out
qip
R1:
enable
configuration terminal
hostname R1
interface fastEthernet 0/0
no shutdown
ip address 10.1.1.1 255.255.255.0
exit
no ip routing (关闭路由功能)
ip default-gateway 10.1.1.254(设置网关)
end
ping 10.1.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end路由
RR:
enable
configuration terminal
hostname RR
no ip routing
interface fastEthernet 1/0
no shutdown
ip address 172.16.1.1 255.255.255.0
end
ping 172.16.1.254 (验证到网关是否互通)terminal
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
endit
实
验
任
务 实验需求:
1.配置路由器和ASA的接口,实现网络互通
2.配置路由
R1能够Telnet到RR,RR不能够Telnet到R1,
3.使用命令show xlate 查看NAT转换表io
实验拓扑:ast
思
路
及
实
验
步
骤 配置思路:
1.配置ASA防火墙对应端口的IP并设置端口名与优先级class
no shutdown
ip address 172.16.1.254 255.255.255.0
exit
object network inside (指定须要进行地址转换的网段)
subnet 10.1.1.0 255.255.255.0
exit
object network in-out (定义全局地址池)
rang 172.16.1.100 172.16.1.200
exit
object network inside (创建转换对应关系)
nat (inside,outside) dynamic in-out
q
R1:
enable
configuration terminal
hostname R1
interface fastEthernet 0/0
no shutdown
ip address 10.1.1.1 255.255.255.0
exit
no ip routing (关闭路由功能)
ip default-gateway 10.1.1.254(设置网关)
end
ping 10.1.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
RR:
enable
configuration terminal
hostname RR
no ip routing
interface fastEthernet 1/0
no shutdown
ip address 172.16.1.1 255.255.255.0
end
ping 172.16.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
实
验
任
务 实验需求:
1.配置路由器和ASA的接口,实现网络互通
2.配置路由
R1能够Telnet到RR,RR不能够Telnet到R1,
3.使用命令show xlate 查看NAT转换表
实验拓扑:
思
路
及
实
验
步
骤 配置思路:
1.配置ASA防火墙对应端口的IP并设置端口名与优先级
no shutdown
ip address 172.16.1.254 255.255.255.0
exit
object network inside (指定须要进行地址转换的网段)
subnet 10.1.1.0 255.255.255.0
exit
object network in-out (定义全局地址池)
rang 172.16.1.100 172.16.1.200
exit
object network inside (创建转换对应关系)
nat (inside,outside) dynamic in-out
q
R1:
enable
configuration terminal
hostname R1
interface fastEthernet 0/0
no shutdown
ip address 10.1.1.1 255.255.255.0
exit
no ip routing (关闭路由功能)
ip default-gateway 10.1.1.254(设置网关)
end
ping 10.1.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
RR:
enable
configuration terminal
hostname RR
no ip routing
interface fastEthernet 1/0
no shutdown
ip address 172.16.1.1 255.255.255.0
end
ping 172.16.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
实
验
任
务 实验需求:
1.配置路由器和ASA的接口,实现网络互通
2.配置路由
R1能够Telnet到RR,RR不能够Telnet到R1,
3.使用命令show xlate 查看NAT转换表
实验拓扑:
思
路
及
实
验
步
骤 配置思路:
1.配置ASA防火墙对应端口的IP并设置端口名与优先级
no shutdown
ip address 172.16.1.254 255.255.255.0
exit
object network inside (指定须要进行地址转换的网段)
subnet 10.1.1.0 255.255.255.0
exit
object network in-out (定义全局地址池)
rang 172.16.1.100 172.16.1.200
exit
object network inside (创建转换对应关系)
nat (inside,outside) dynamic in-out
q
R1:
enable
configuration terminal
hostname R1
interface fastEthernet 0/0
no shutdown
ip address 10.1.1.1 255.255.255.0
exit
no ip routing (关闭路由功能)
ip default-gateway 10.1.1.254(设置网关)
end
ping 10.1.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
RR:
enable
configuration terminal
hostname RR
no ip routing
interface fastEthernet 1/0
no shutdown
ip address 172.16.1.1 255.255.255.0
end
ping 172.16.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
实
验
任
务 实验需求:
1.配置路由器和ASA的接口,实现网络互通
2.配置路由
R1能够Telnet到RR,RR不能够Telnet到R1,
3.使用命令show xlate 查看NAT转换表
实验拓扑:
思
路
及
实
验
步
骤 配置思路:
1.配置ASA防火墙对应端口的IP并设置端口名与优先级
no shutdown
ip address 172.16.1.254 255.255.255.0
exit
object network inside (指定须要进行地址转换的网段)
subnet 10.1.1.0 255.255.255.0
exit
object network in-out (定义全局地址池)
rang 172.16.1.100 172.16.1.200
exit
object network inside (创建转换对应关系)
nat (inside,outside) dynamic in-out
q
R1:
enable
configuration terminal
hostname R1
interface fastEthernet 0/0
no shutdown
ip address 10.1.1.1 255.255.255.0
exit
no ip routing (关闭路由功能)
ip default-gateway 10.1.1.254(设置网关)
end
ping 10.1.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
RR:
enable
configuration terminal
hostname RR
no ip routing
interface fastEthernet 1/0
no shutdown
ip address 172.16.1.1 255.255.255.0
end
ping 172.16.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
实
验
任
务 实验需求:
1.配置路由器和ASA的接口,实现网络互通
2.配置路由
R1能够Telnet到RR,RR不能够Telnet到R1,
3.使用命令show xlate 查看NAT转换表
实验拓扑:
思
路
及
实
验
步
骤 配置思路:
1.配置ASA防火墙对应端口的IP并设置端口名与优先级
no shutdown
ip address 172.16.1.254 255.255.255.0
exit
object network inside (指定须要进行地址转换的网段)
subnet 10.1.1.0 255.255.255.0
exit
object network in-out (定义全局地址池)
rang 172.16.1.100 172.16.1.200
exit
object network inside (创建转换对应关系)
nat (inside,outside) dynamic in-out
q
R1:
enable
configuration terminal
hostname R1
interface fastEthernet 0/0
no shutdown
ip address 10.1.1.1 255.255.255.0
exit
no ip routing (关闭路由功能)
ip default-gateway 10.1.1.254(设置网关)
end
ping 10.1.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
RR:
enable
configuration terminal
hostname RR
no ip routing
interface fastEthernet 1/0
no shutdown
ip address 172.16.1.1 255.255.255.0
end
ping 172.16.1.254 (验证到网关是否互通)
设置远程
enable
configuration terminal
enable password 123
line vty 0
password 123
end
结
果
验
证
在R1上远程RR
在RR上远程R1
在ASA输入show xlate 查看NAT转化表