没有路由实现网络的互通
2009-11-06 19:32
274 查看
因为不能上传超过200K的文件现在图通过附件的形式发送到博客中下面是无路由实现全网互通的实例。
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
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
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end
R7:
interface Serial1/0
ip address 17.1.1.7 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
ip address 37.1.1.7 255.255.255.0
ip policy route-map cisco
serial restart-delay 0
!
ip local policy route-map cisco
no ip http server
no ip http secure-server
!
!
!
ip access-list extended cisco
permit ip host 3.3.3.3 host 1.1.1.1
!
logging alarm informational
!
!
!
route-map cisco permit 10
match ip address cisco
set ip default next-hop 17.1.1.1
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
!
!
end本文出自 “yaoshenshen” 博客,谢绝转载!
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
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
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end
R7:
interface Serial1/0
ip address 17.1.1.7 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
ip address 37.1.1.7 255.255.255.0
ip policy route-map cisco
serial restart-delay 0
!
ip local policy route-map cisco
no ip http server
no ip http secure-server
!
!
!
ip access-list extended cisco
permit ip host 3.3.3.3 host 1.1.1.1
!
logging alarm informational
!
!
!
route-map cisco permit 10
match ip address cisco
set ip default next-hop 17.1.1.1
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
!
!
end本文出自 “yaoshenshen” 博客,谢绝转载!
相关文章推荐
- 路由:实现不同网络互通
- 四台路由三台PC机实现互连互通
- VirtualBox配置虚拟网卡(桥接)――实现主机-虚拟机网络互通
- 小型网络架构—运用OSPF实现不同区域间网络的互通
- openstack通过Network Namespace和iptables实现租户私有网络互访和L3路由功能
- LVS 的DR直接路由实现负载均衡并实现NAS(网络附加储存技术)
- 交换路由实现全网互通
- VirtualBox 配置虚拟网卡(桥接),实现主机-虚拟机网络互通(图文教程)
- Docker 1.9 Overlay Network实现跨主机网络互通
- 中小型网络最全的VLAN技术(三)——实现不同网段间通信——三层交换(路由)原理
- 任何国家都无法限制数字货币。为什么呢? 要想明白这个问题需要具备一点区块链的基础知识: 区块链使用的大致技术包括以下几种: a.点对点网络设计 b.加密技术应用 c.分布式算法的实现 d.数据存储技术 e.拜占庭算法 f.权益证明POW,POS,DPOS 原因一: 点对点网络设计 其中点对点的P2P网络是bittorent ,由于是点对点的网络,没有中心化,因此在全球分布式的网
- 一道路由上机题(双星型网络流量分布实现方式案例)
- 华为: rip 实现网络互通,以及acl的应用
- [转]virtualbox虚拟机网络配置,实现内网外网互通!
- VMmare-suse11网络配置实现宿主机和虚拟机互通(若宿主机能联网则虚拟机亦可联网)
- 巧设IP路由 实现不同网段互通
- 配置不同网段静态路由,实现互联互通。
- 任何国家都无法限制数字货币。为什么呢? 要想明白这个问题需要具备一点区块链的基础知识: 区块链使用的大致技术包括以下几种: a.点对点网络设计 b.加密技术应用 c.分布式算法的实现 d.数据存储技术 e.拜占庭算法 f.权益证明POW,POS,DPOS 原因一: 点对点网络设计 其中点对点的P2P网络是bittorent ,由于是点对点的网络,没有中心化,因此在全球分布式的网
- 网吧巧设IP路由 实现不同网段互通
- 网关,路由,局域网内的通信及不同的网络间通信实现的原理剖析