一、主要配置内容
1. 配置系统治理密码
2. 配置不同3. INTERFACE(接口)ip地址
4. 配置与大学之间的TUNNEL
5. 配置地址翻译NAT
6. 配置静态路由及动态路由协议OSPF
二、主要配置说明
Router2621#show run
Building configuration...
Current configuration:
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname Router2621 //设置主机名,即命令行前提示符,CONFIG T进入配置模式,HOSTNAME +命名即可
!
enable password 123 //设置超级用户密码
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
ip inspect name rock FTP alert on audit-trail on timeout 6000
ip inspect name rli http alert on audit-trail on
ip inspect name hong tcp
ip inspect name wang tcp alert on audit-trail on
ip audit notify log
ip audit po max-events 100
isdn voice-call-failure 0
!
!
!
//设置逻辑接口LOOPBACK0的IP 地址,主要为地址翻译用,对外翻译地址为211.67.96.254
interface Loopback0
ip address 211.67.96.254 255.255.255.0
!
//与大学路由器做TUNNEL,并设置地址翻译
interface Tunnel3
bandwidth 10000
ip address 10.10.10.10 255.255.255.252
ip nat outside
tunnel source FastEthernet0/1
tunnel destination 172.17.204.2
新闻热点
疑难解答