modem池配置

router>en
router#config terminal
router(config)# username xxx password xxxxx
router(config)#username xxx password xxx
router(config)#username xxxx password xxx
router(config)#username xxx password xxxx
router(config)#username xxx password xxxx
router(config)# no ip domain-lookup
router(config)#interface Loopback0
router(config-if)#ip address 192.168.2.254 255.255.255.0
router(config-if)#no ip directed-broadcast
router(config-if)#interface FastEthernet0/0
router(config-if)#ip address 192.168.1.254 255.255.255.0
router(config-if)#no ip directed-broadcast
router(config-if)#speed auto
router(config)#interface Group-Async1
router(config-if)#ip unnumbered Loopback0
router(config-if)#encapsulation ppp
router(config-if)#async default routing
router(config-if)#async mode interactive
router(config-if)#peer default ip address pool dialin_pool
router(config-if)#ppp authentication chap pap callin
router(config-if)#group-range 97 108 /这是LINE的范围,你可以用SHOU LINE看看,应该有32个连续的线号,把这32个连续的线路号码,写到这里即可
router(config-if)#interface Dialer0
router(config-if)#ip unnumbered Loopback0
router(config-if)#encapsulation ppp
router(config-if)#dialer in-band
router(config-if)#dialer-group 1
router(config-if)#peer default ip address pool dialin_pool
router(config-if)#ppp authentication chap pap callin
router(config-if)#exit
router(config)# ip local pool dialin_pool 192.168.1 192.168.1.33 /给拨入用户分配的IP地址池
router(config)#ip route 0.0.0.0 0.0.0.0 Dialer0
router(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
router(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.254
router(config)#dialer-list 1 protocol ip permit
router(config)#line con 0
router(config-if)#transport input none
router(config-if)#line 97 108 /#这是LINE的范围,你可以用SHOU LINE看看,应该有32个连续的线号,把这32个连续的线路号码,写到这里即可
router(config-if)#autoselect during-login
router(config-if)#autocommand ppp
router(config-if)#modem inout
router(config-if)#modem autoconfigure
router(config-if)#modem autodiscovrey
router(config-if)#transport input all
router(config-if)#flowcontrol hardware
router(config-if)#line aux 0
router(config-if)#line vty 0 4
router(config-if)#password 7 xxxxxxx
router(config-if)#^Z
router#write memory 
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值