兰溪在线|lanxi.online|兰溪新闻|兰溪在线|兰溪论坛|兰溪信息|兰溪网|兰西网

 找回密码
 立即注册

微信登录

微信扫一扫,快速登录

搜索
热搜: 活动 交友 discuz

社区广播台

查看: 506|回复: 0

没有路由实现网络的互通

[复制链接]

508

主题

508

帖子

1526

积分

金牌会员

Rank: 6Rank: 6

积分
1526
发表于 2019-4-12 10:36:21 | 显示全部楼层 |阅读模式
ip address 12.1.1.1 255.255.255.0
ip policy route-map cio
serial restart-delay 0
clock rate 64000
!
interface Serial1/2
ip address 17.1.1.1 255.255.255.0
serial restart-delay 0
clock rate 64000
!
ip local policy route-map cio
ip classless
no ip http server
!
!
ip access-list extended cio
permit ip host 1.1.1.1 host 3.3.3.3
route-map cio permit 10
match ip address cio
set ip default next-hop 12.1.1.2
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end
R2:
interface Serial1/0
ip address 12.1.1.2 255.255.255.0
ip policy route-map cio
serial restart-delay 0
!
interface Serial1/1
ip address 23.1.1.2 255.255.255.0
serial restart-delay 0
!
ip local policy route-map cio
ip classless
no ip http server
!
!
ip access-list extended cio
permit ip host 1.1.1.1 host 3.3.3.3
route-map cio permit 10
match ip address ci
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 微信登录

本版积分规则

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