加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

PSTN16900拨号上网案例分析2(Internet接入)

(2005-10-11 19:27:34)
分类: ~~~ Wan ~~~
router a-------------PSTN--------16900(ISP)(INTERNET)
 
//router a
modemcap entry default:FD=&F:AA=S0=1:CD=7C1:DTR=&D3;NEC=E0:NRS=Q1
 
int dialer 1
  description connected to internet
  ip address negotiated
  ip nat outside
  encap ppp
  dialer in-band  //?
  dialer idle-timeout 120
  dialer string 16900
  dialer hold-queue 10  //?
  dialer-group 1
  pulse-time 3  //?
  ppp authe chap pap callin
  ppp chap hostname 169
  ppp chap pasword 169
  ppp pap sent-username 169 password 169
  no cdp enable
 
int fa0/0
  description connected to lan a
  ip addr 192.168.10.254 255.255.255.0
  ip nat inside
  keepalive 10
 
int serial 0/0
  physical-layer async
  description connected to internet
  async mode dedicated
  dialer rotary-group 1
 
dialer-list 1 protocol ip permit
 
ip nat translation timeout 86400
ip nat translation tcp-timeout 86400
ip nat translation udp-timeout 300
ip nat translation dns-timeout 60
ip nat translation finrst-timeout 60
ip nat inside source list 1 interface dialer 1 overload
 
router rip
  ver 2
  netw 192.168.10.0
  passive-interface dialer 1
  no auto-summary
 
ip route 0.0.0.0 0.0.0.0 dialer 1
 
line 1
  modem inout
  modem autoconfigure type default
  transport input all
  stopbits 1
  speed 38400
  flowcontrol hardware
 
 

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有