不使用任何路由协议使3台路由器通信
2009-07-01 17:25
405 查看
R1---------R2---------R3
R2上什么都不能做。。。
3台路由不能做任何的路由协议。。
让R1和R3通信。。。。。
配置如下:
路由器0配置:
en
conf t
host R1
int s0/0
ip add 192.168.1.1 255.255.255.0
no sh
exit
ip default-gateway 192.168.1.2(默认网关)
no ip routing(网关是2层协议,所以要关闭路由功能)
end
路由器1配置:
en
conf t
host R2
int s0/0
ip add 192.168.1.2 255.255.255.0
no sh
exit
int s0/1
ip add 192.168.2.1 255.255.255.0
no sh
end
路由器2配置:
en
conf t
host R3
int s1/0
ip add 192.168.2.2 255.255.255.0
no sh
exit
ip default-gateway 192.168.2.1(默认网关)
no ip routing(网关是2层协议,所以要关闭路由功能)
end
相关文章推荐
- 使用路由器实现不同VLAN间通信_路由交换
- 使用C#实现基于TCP和UDP协议的网络通信程序的基本示例
- 多个VLAN通信&华为cisco路由协议优先级
- 飞鸽使用的通信协议是什么(未完待续)
- 路由器原理和路由协议、算法详解(3)
- 使用Lua脚本为wireshark编写自定义通信协议解析器插件
- 华为路由器与Cisco 路由器规定的路由协议优先级比较
- H3C 路由器禁止使用traceroute 探测路由
- TCP和UDP两个协议在Java通信编程中是如何被使用的
- 使用路由器进行VLAN间路由时的问题
- 视频监听安防平台-libuv库通信协议封装-支持udp和tcpserver同时使用
- 使用lwip协议实现UDP通信
- java使用UDP协议进行服务器客户端通信
- 路由器原理和路由协议、算法详解
- 服务端使用c++实现websocket协议解析及通信
- 路由器原理和路由协议、算法详解(4)
- 使用 LDAP 目录协议实现 Domino 邮件路由
- 实验 不写路由的情况下使用策略路由实现跨网段通信
- 终端通过两台路由器相互通信(静态路由设置)