天下网吧 >> 网吧方案 >> 网络方案 >> 正文

没有路由实现网络的互通

  R1:

  interface Loopback0

  ip address 1.1.1.1 255.255.255.0

  !

  interface Serial1/0

  ip address 12.1.1.1 255.255.255.0

  ip policy route-map cisco

  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 cisco

  ip classless

  no ip http server

  !

  !

  ip access-list extended cisco

  permit ip host 1.1.1.1 host 3.3.3.3

  route-map cisco permit 10

  match ip address cisco

  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 cisco

  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 cisco

  ip classless

  no ip http server

  !

  !

  ip access-list extended cisco

  permit ip host 1.1.1.1 host 3.3.3.3

  route-map cisco permit 10

  match ip address cisco

  set ip default next-hop 23.1.1.3

  !

  !

  line con 0

  exec-timeout 0 0

  logging synchronous

  line aux 0

  line vty 0 4

  !

  end

[1] [2] [3] 下一页

 

  R3:

  interface Loopback0

  ip address 3.3.3.3 255.255.255.0

  !

  interface Serial1/1

  ip address 23.1.1.3 255.255.255.0

  serial restart-delay 0

  !

  interface Serial1/2

  ip address 37.1.1.3 255.255.255.0

  ip policy route-map cisco

  serial restart-delay 0

  !

  ip local policy route-map cisco

  ip classless

  ip http server

  !

  !

  ip access-list extended cisco

  permit ip host 3.3.3.3 host 1.1.1.1

  route-map cisco permit 10

  match ip address cisco

  set ip default next-hop 37.1.1.7

本文来源:天下网吧 作者:网吧方案

声明
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com,系统开号,技术支持,服务联系QQ:1175525021本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下