注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 利用手机和电池实现反地心..
 帮助

远程10.5.3配置动态NAT-overload


2008-01-31 08:57:39
ISP1#show run
!
interface Loopback0
 ip address 10.0.1.2 255.255.255.252
!
interface Serial1/1
 ip address 10.0.0.5 255.255.255.252
 no sh
!
ip classless
ip route 42.0.0.48 255.255.255.240 10.0.0.6
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`~~~~~~~~~~~~`
san1#show run
!
interface FastEthernet0/0
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 no sh
!
interface Serial1/0
 ip address 10.0.0.6 255.255.255.252
 ip nat outside
 no sh
!
ip nat translation timeout 10
ip nat pool mynatpool 42.0.0.55 42.0.0.62 netmask 255.255.255.240
ip nat inside source list 2 pool mynatpool overload
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.5
no ip http server
!
!
access-list 2 permit 192.168.0.0 0.0.0.255
!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~``
PC1#show run
!
interface FastEthernet0/0
 ip address 192.168.0.20 255.255.255.0
 no sh
!
ip default-gateway 192.168.0.1
!no ip routing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`~~~~~~~~
PC2#show run
!
!
interface FastEthernet0/0
 ip address 192.168.0.5 255.255.255.0
 no sh
!
ip default-gateway 192.168.0.1
no ip routing
!




    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: