Chinaunix首页 | 论坛 | 博客
  • 博客访问: 107712
  • 博文数量: 28
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 300
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-10 09:48
文章分类

全部博文(28)

文章存档

2010年(1)

2009年(27)

我的朋友

分类: 系统运维

2009-07-18 15:20:18

最近配置了一台路由器的PAT应用。直接上配置清单。
 
Building Configuration...done
Current configuration: 1433 bytes
version 4.3.4(integrity)
hostname hujiao
service taskname debug
service taskname log
user maipu password 7 QWVWWW\WOWPWWWPXRW
user maipu privilege 15
user bird enable-password ]XQXQXXXQYSX
enable password [WOWWWWXOW encrypt
enable timeout 30000
service password-encrypt
no service enhanced-secure

snmp-server view default 1.3.6.1 include
snmp-server community public view default rw
ip access-list standard 1
permit 172.17.32.0 0.0.15.255
exit

interface loopback0
exit
interface fastethernet0
ip address 172.18.24.253 255.255.255.0
ip nat outside
exit
interface fastethernet1
ip address 172.17.47.254 255.255.240.0
ip nat inside
exit
ip nat pool nat-pool 172.18.24.253 172.18.24.253 netmask 255.255.255.0
ip nat inside source list 1 pool nat-pool overload
ip route 0.0.0.0 0.0.0.0 172.18.24.254
line vty 0 4
login local
exit
ip dhcp pool 200
network 172.17.32.0 255.255.240.0
default-router 172.17.47.254
dns-server 192.168.2.86
netbios-name-server 192.168.2.86
lease 365 0 0
exit
阅读(1358) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~