NATDHCP和内部端口映射www和telnet服务
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了NATDHCP和内部端口映射www和telnet服务,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1734字,纯文字阅读大概需要3分钟。
内容图文
![NATDHCP和内部端口映射www和telnet服务](/upload/InfoBanner/zyjiaocheng/535/cc1ae3873f5a4c38ab2660b0dc467cdb.jpg)
拓扑图如下: 650) this.width=650;" alt="" src="" border="0" /> 路由器R0作为设备内网路由器出口 R1为外网路由器 路由器R0的配置如下: hostname Router ! ! ! ! ip dhcp excluded-address
拓扑图如下:
路由器R0作为设备内网路由器出口 R1为外网路由器
路由器R0的配置如下:
hostname Router
!
!
!
!
ip dhcp excluded-address 192.168.100.1 192.168.100.10
!
ip dhcp pool zxf
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.100.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 200.200.200.2 255.255.255.252
ip nat outside
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
ip nat pool hello 200.200.200.2 200.200.200.2 netmask 255.255.255.252
ip nat inside source list 1 pool hello overload
ip nat inside source static tcp 192.168.100.3 23 200.200.200.2 23
ip nat inside source static tcp 192.168.100.11 80 200.200.200.2 8080
ip nat inside source static tcp 192.168.100.4 80 200.200.200.2 9999
ip classless
ip route 0.0.0.0 0.0.0.0 200.200.200.1
!
!
access-list 1 permit 192.168.100.0 0.0.0.255
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
路由器R1配置如下:
interface FastEthernet0/0
ip address 200.200.200.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 100.100.100.100 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
ip classless
!!!!!!!!!!!!!!
详细配置见附件:
shanliren
内容总结
以上是互联网集市为您收集整理的NATDHCP和内部端口映射www和telnet服务全部内容,希望文章能够帮你解决NATDHCP和内部端口映射www和telnet服务所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。