当前位置: 技术问答>linux和unix
在虚拟机中配置zebra路由器的问题
来源: 互联网 发布时间:2016-11-29
本文导语: 路由器1:r1:eth0:ip192.168.0.1/24 路由器2:r2:eth0:192.168.0.254/24,eth1:192.168.1.1/24 路由器3:r3:eth0:192.168.1.254/24 我的问题是:路由器2接收到的路由器3的hello报文怎么是从eth0来的? 日志提示:2010/03/22 10:13:28 OSPF: Packe...
路由器1:r1:eth0:ip192.168.0.1/24
路由器2:r2:eth0:192.168.0.254/24,eth1:192.168.1.1/24
路由器3:r3:eth0:192.168.1.254/24
我的问题是:路由器2接收到的路由器3的hello报文怎么是从eth0来的?
日志提示:2010/03/22 10:13:28 OSPF: Packet from [192.168.1.254] received on wrong link eth0
路由器2接受到得路由器1的hello报文怎么是从eth1来的?
日志提示:2010/03/22 10:13:54 OSPF: Packet from [192.168.0.1] received on wrong link eth1
急等。谢谢。配置OSPF协议
路由器2的日志:
2010/03/22 10:13:24 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:25 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:13:27 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:13:28 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:28 OSPF: Packet from [192.168.1.254] received on wrong link eth0
2010/03/22 10:13:34 OSPF: Packet from [192.168.0.1] received on wrong link eth1
2010/03/22 10:13:34 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:35 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:13:37 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:13:38 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:38 OSPF: Packet from [192.168.1.254] received on wrong link eth0
2010/03/22 10:13:44 OSPF: Packet from [192.168.0.1] received on wrong link eth1
2010/03/22 10:13:44 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:45 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:13:47 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:13:48 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:48 OSPF: Packet from [192.168.1.254] received on wrong link eth0
2010/03/22 10:13:54 OSPF: Packet from [192.168.0.1] received on wrong link eth1
2010/03/22 10:13:54 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:55 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:13:57 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:13:58 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:58 OSPF: Packet from [192.168.1.254] received on wrong link eth0
2010/03/22 10:14:04 OSPF: Packet from [192.168.0.1] received on wrong link eth1
2010/03/22 10:14:04 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:14:05 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:14:07 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:14:08 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:14:08 OSPF: Packet from [192.168.1.254] received on wrong link eth0
路由器2:r2:eth0:192.168.0.254/24,eth1:192.168.1.1/24
路由器3:r3:eth0:192.168.1.254/24
我的问题是:路由器2接收到的路由器3的hello报文怎么是从eth0来的?
日志提示:2010/03/22 10:13:28 OSPF: Packet from [192.168.1.254] received on wrong link eth0
路由器2接受到得路由器1的hello报文怎么是从eth1来的?
日志提示:2010/03/22 10:13:54 OSPF: Packet from [192.168.0.1] received on wrong link eth1
急等。谢谢。配置OSPF协议
路由器2的日志:
2010/03/22 10:13:24 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:25 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:13:27 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:13:28 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:28 OSPF: Packet from [192.168.1.254] received on wrong link eth0
2010/03/22 10:13:34 OSPF: Packet from [192.168.0.1] received on wrong link eth1
2010/03/22 10:13:34 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:35 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:13:37 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:13:38 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:38 OSPF: Packet from [192.168.1.254] received on wrong link eth0
2010/03/22 10:13:44 OSPF: Packet from [192.168.0.1] received on wrong link eth1
2010/03/22 10:13:44 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:45 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:13:47 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:13:48 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:48 OSPF: Packet from [192.168.1.254] received on wrong link eth0
2010/03/22 10:13:54 OSPF: Packet from [192.168.0.1] received on wrong link eth1
2010/03/22 10:13:54 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:55 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:13:57 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:13:58 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:13:58 OSPF: Packet from [192.168.1.254] received on wrong link eth0
2010/03/22 10:14:04 OSPF: Packet from [192.168.0.1] received on wrong link eth1
2010/03/22 10:14:04 OSPF: Packet 192.168.0.1 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:14:05 OSPF: make_hello: options: 2, int: eth0:192.168.0.254
2010/03/22 10:14:07 OSPF: make_hello: options: 2, int: eth1:192.168.1.1
2010/03/22 10:14:08 OSPF: Packet 192.168.1.254 [Hello:RECV]: Options *|-|-|-|-|-|E|*
2010/03/22 10:14:08 OSPF: Packet from [192.168.1.254] received on wrong link eth0
|
不懂,没听说过这个