分类: 系统运维
2008-05-20 17:36:17
蓝色家园内部 局域网:10.1.8.0/24
蓝色家园路由器的Ethernet 0:10.1.8.1/24
hostname bluegarden
!
enable password bluegarden
username bluegarden password bluegarden
!
no ip name-server
!
ip subnet-zero
no ip domain-lookup
ip routing
!
interface Ethernet 0
no shutdown
ip address 10.1.8.1 255.255.255.0
!
interface Serial 0
no ip address
shutdown
!
interface Serial 1
no ip address
shutdown
!
interface Group-Async 1
no shutdown
ip unnumbered Ethernet 0(这样可以节省一个地址)
ip tcp header-compression passive
encapsulation ppp
async mode dedicated
group-range (端口范围)
ppp authentication chap
no cdp enable
peer default ip address pool bluegarden
!
router rip
version 2
network 10.1.8.0 255.255.255.0
no auto-summary
!
ip local pool bluegarden 10.1.8.10 10.1.8.50
ip classless
no ip http server
snmp-server community public RO
no snmp-server location
no snmp-server contact
!
line console 0
password bluegarden
login
!
line vty 0 4
password bluegarden
login
!
end