对于远程用户拨入蓝色家园是远程用户共享家园的资源的很好方式,在下面的实例中介绍了远程用户拨入的配置.
蓝色家园内部局域网: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