在C.O.R.E. 4.8我无法跟踪从连接到一个路由器(r1)的主机(h1)到另一路由器(r2)上的另一主机(h2)的路由。两个路由器已连接。像这样: h1 <-> r1 <-> r2 <-> h2
我尝试在路由器上使用OSPF和RIP服务,但我不知道如何正确配置它们。
也许不相关,但是在路由器上运行的所有服务都显示以下错误消息:
DATE: Mon May 13 14:54:45 2019
LEVEL: ERROR (2)
NODE: 1 (n1)
SESSION: 38179
SOURCE: service:zebra
validate command failed: pidof zebra
我希望数据包将从h1转发到h2。发生的情况是找不到h2。两个路由器之间的Ping和traceroute有效,但是终端窗口显示:
Couldn't highlight next hop: 10.0.1.1
Couldn't highlight next hop: 10.0.1.2
如果您对此感兴趣,请参见以下网络代码:
node n1 {
type router
model router
network-config {
hostname n1
!
interface eth1
ip address 10.0.1.1/24
ipv6 address 2001:1::1/64
!
interface eth0
ip address 10.0.0.1/24
ipv6 address 2001:0::1/64
!
}
canvas c1
iconcoords {110.0 110.0}
labelcoords {110.0 142.0}
interface-peer {eth0 n3}
interface-peer {eth1 n2}
}
node n2 {
type router
model router
network-config {
hostname n2
!
interface eth1
ip address 10.0.2.1/24
ipv6 address 2001:2::1/64
!
interface eth0
ip address 10.0.1.2/24
ipv6 address 2001:1::2/64
!
}
canvas c1
iconcoords {418.0 110.0}
labelcoords {418.0 142.0}
interface-peer {eth0 n1}
interface-peer {eth1 n4}
}
node n3 {
type router
model PC
network-config {
hostname n3
!
interface eth0
ip address 10.0.0.20/24
ipv6 address 2001:0::20/64
!
}
canvas c1
iconcoords {65.0 342.0}
labelcoords {65.0 374.0}
interface-peer {eth0 n1}
}
node n4 {
type router
model PC
network-config {
hostname n4
!
interface eth0
ip address 10.0.2.20/24
ipv6 address 2001:2::20/64
!
}
canvas c1
iconcoords {304.0 361.0}
labelcoords {304.0 393.0}
interface-peer {eth0 n2}
}
link l1 {
nodes {n3 n1}
bandwidth 0
}
link l2 {
nodes {n1 n2}
bandwidth 0
}
link l3 {
nodes {n2 n4}
bandwidth 0
}
canvas c1 {
name {Canvas1}
}
option global {
interface_names no
ip_addresses yes
ipv6_addresses no
node_labels yes
link_labels yes
show_api no
background_images no
annotations yes
grid yes
traffic_start 0
}
option session {
}