设为首页收藏本站language 语言切换
查看: 914|回复: 0
收起左侧

远程用户间对拨

[复制链接]
发表于 2013-12-2 15:53:32 | 显示全部楼层 |阅读模式
对于蓝色家园总部与分部之间通过两个路由器实现对拨,实现数据资源的互相交流.具体拓扑图及子网划分
情况如下:
蓝色家园总部局域网: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
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
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
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
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



该贴已经同步到 huangjun6920的微博
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-26 13:47 , Processed in 1.357689 second(s), 27 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表