1、网络拓扑信息
2、网络地址基本配置
outside路由器:
interface FastEthernet0/0
ip address 11.1.1.1 255.255.255.0
inside路由器
interface FastEthernet0/0
ip address 10.1.1.1 255.255.255.0
ip route 1.1.1.0 255.255.255.0 10.1.1.10
interface Ethernet0/0
nameif outside
security-level 0
ip address 11.1.1.10 255.255.255.0
!
interface Ethernet0/1
nameif inside
security-level 100
ip address 10.1.1.10 255.255.255.0
route outside 1.1.1.0 255.255.255.0 11.1.1.1 1
route inside 2.2.2.0 255.255.255.0 10.1.1.1 1
3、需求与配置
static (inside,outside) tcp 11.1.1.2 www 2.2.2.2 8080 netmask 255.255.255.255
access-list oti extended permit ip any host 11.1.1.2
access-group oti in interface outside
需求2:
内部用户访问其内部IP地址10.1.1.3时,做其目的地址转换,转换为1.1.1.3
static (outside,inside) 10.1.1.3 1.1.1.3 netmask 255.255.255.255
static (inside,outside) 11.1.1.4 2.2.2.4 netmask 255.255.255.255
static (outside,inside) 10.1.1.4 1.1.1.4 netmask 255.255.255.255
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。