首页 > 学院 > 网络通信 > 正文

远程对拨的典型配置

2019-11-04 20:39:34
字体:
来源:转载
供稿:网友

  对于蓝色家园总部与分部之间通过两个路由器实现对拨,实现数据资源的互相交流.具体拓扑图及子网划分情况如下:
  远程对拨的典型配置
点击查看大图

  蓝色家园总部局域网:10.1.8.0/24
  
            E0: 10.1.8.1 255.255.255.0
  
         蓝色家园分部局域网: 10.1.9.0/24
  
            E0: 10.1.9.1 255.255.255.0
  
  总部路由器配置
  
  version 11.2
  service udp-small-servers
    service tcp-small-servers
  !
  hostname shanghai
  !
  enable secret bluegarden
  !
  username bluegarden passWord bluegarden
  ip subnet-zero
  no ip domain-lookup
  !
  interface Ethernet0
  ip address 10.1.8.1 255.255.255.0
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Async1
  no ip address
  encapsulation ppp
  async default routing
  async mode dedicated
  dialer in-band
  dialer rotary-group 0
  no cdp enable
  !
  interface Dialer0
  ip unnumbered Ethernet0
  ip tcp header-comPRession passive
  encapsulation ppp
  dialer in-band
  dialer map snapshot 1 name Beijing 01055520089
  dialer map ip 10.1.9.1 name Beijing broadcast 01055520089
  dialer-group 1
  snapshot server 5 dialer
  no cdp enable
  ppp authentication chap
  !
  router rip
  version 2
  network 10.1.8.0 255.255.255.0(假如不加掩码,则默认为10.0.0.0)
  no auto-summary
  !
  ip classless
  dialer-list 1 protocol ip permit
  !
  line con 0
  password Bluegarden
  login
  line vty 0 4
  password Bluegarden
  login
  !
  end
  
  分部(北京)路由器设置
  
  service udp-small-servers
  service tcp-small-servers
  !
  hostname Beijing
  !
  enable secret Bluegarden
  !
  username Bluegarden password Bluegarden
  ip subnet-zero
  no ip domain-lookup
  !
  interface Ethernet0
  ip address 10.1.9.1 255.255.255.0
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Async1
  no ip address
  encapsulation ppp
  async default routing
  async mode dedicated
  dialer in-band
  dialer rotary-group 0
  no cdp enable
  !
  interface Dialer0
  ip unnumbered Ethernet0
  encapsulation ppp
  dialer in-band
  dialer map snapshot 1 name Shanghai 02155520089
  dialer map ip 10.1.8.1 name Shanghai broadcast 02155520089
  dialer-group 1
  snapshot client 5 360 dialer
  no cdp enable
  ppp authentication chap
  !
  router rip
  version 2
  network 10.1.9.0 255.255.255.0
  no auto-summary
  !
  ip classless
  dialer-list 1 protocol ip permit
  !
  line con 0
  password Bluegarden
  login
  line vty 0 4
  password Bluegarden
  login
  !
  end


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表