實
驗
任
務 實驗需求:
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轉化表