[prev in list] [next in list] [prev in thread] [next in thread]
List: zebra
Subject: [zebra 11015] Re: First Time to ospf (Long mail)
From: bino () indoakses-online ! com
Date: 2001-10-31 2:27:02
[Download RAW message or body]
Dear All.
On Tue, 30 October 2001, Stephane Bortzmeyer wrote:
> Everything seems perfectly normal. Could you indicate as well what the
> problem is (you told us in your first message but you apparently
> changed the setup, this one is not the one described in your drawing).
My-Station
|
RTR-B ----RTR-A ------RTR-C
| |
+--------------------+
RTR-A :
Eth 0 : 10.1.1.254/24 (point-to-point to Rtr-B)
eth 1 : 192.168.1.254/24 (point-to-point to Rtr-C)
eth2 : ignored
RTR-B :
eth0 : 10.1.1.1/24 ( To Rtr - A)
eth1 : 172.17.1.254 /24 ( To Rtr - C)
RTR - C :
Eth 0 : 192.168.1.1/24 (To Rtr-A)
Eth 1 : 172.17.1.1/24 (To RTR-B)
Problem :
From RTR-A :
Every time I Ping 172.1.1.1 (Eth1 of RTR-C), the packets always trowed trough rtr-B.
We all knew that the shortest path is via 192.168.1.1 (eth0 of rtr-C)
From RTR-C :
Every time I Ping 10.1.1.1 (Eth0 of RTR-B), the packets always trowed trough rtr-A.
We all knew that the shortest path is via 172.17.1.254 (eth1 of rtr-B)
Sincerely
-bino-
----------------------- BEGIN Of RTR-A -----------------------------
RTR-A# ip route
192.168.0.0/28 dev eth2 proto kernel scope link src 192.168.0.8
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.254
10.1.1.0/24 dev eth0 proto kernel scope link src 10.1.1.254
172.17.1.0/24 via 10.1.1.1 dev eth0 proto zebra metric 20
RTR-A# telnet 127.0.0.1 2604
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Hello, this is zebra (version 0.91a).
Copyright 1996-2001 Kunihiro Ishiguro.
User Access Verification
Password:
ospfd-a> ena
ospfd-a# sh run
Current configuration:
!
hostname ospfd-a
password zebra
log stdout
!
!
!
interface lo
!
interface eth0
ip ospf network point-to-point
!
interface eth1
ip ospf network point-to-point
!
interface eth2
!
router ospf
ospf router-id 10.1.1.254
redistribute kernel
redistribute connected
redistribute static
network 10.1.1.0/24 area 0
network 192.168.1.0/24 area 0
neighbor 10.1.1.1
neighbor 192.168.1.1
!
line vty
!
end
ospfd-a# sh ip ospf route
============ OSPF network routing table ============
N 10.1.1.0/24 [10] area: 0.0.0.0
directly attached to eth0
N IA 172.17.1.0/24 [20] area: 0.0.0.0
via 10.1.1.1, eth0
via 192.168.1.1, eth1
N 192.168.1.0/24 [10] area: 0.0.0.0
directly attached to eth1
============ OSPF router routing table =============
R 10.1.1.1 [10] area: 0.0.0.0, ABR, ASBR
via 10.1.1.1, eth0
R 192.168.1.1 [10] area: 0.0.0.0, ABR, ASBR
via 192.168.1.1, eth1
============ OSPF external routing table ===========
ospfd-a# sh ip ospf data
OSPF Router with ID (10.1.1.254)
Router Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Link count
10.1.1.1 10.1.1.1 182 0x80000009 0xae39 2
10.1.1.254 10.1.1.254 178 0x80000007 0xd3a9 4
192.168.1.1 192.168.1.1 184 0x80000004 0x4a29 2
Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Route
172.17.1.0 10.1.1.1 296 0x80000001 0xc3c3 172.17.1.0/24
172.17.1.0 192.168.1.1 435 0x80000001 0x1a0f 172.17.1.0/24
ASBR-Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum
10.1.1.1 192.168.1.1 194 0x80000001 0x05d4
192.168.1.1 10.1.1.1 276 0x80000001 0x8b4e
AS External Link States
Link ID ADV Router Age Seq# CkSum Route
192.168.0.0 10.1.1.254 190 0x80000001 0x3c1d E2 192.168.0.0/28 [0x0]
ospfd-a# sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL
10.1.1.1 1 Full/DROther 00:00:37 10.1.1.1 eth0 0 0 0
192.168.1.1 1 Full/DROther 00:00:36 192.168.1.1 eth1 0 0 0
ospfd-a# exit
------------------------BEGIN OF RTR-B-----------------------------------------------
RTR-B# telnet 127.0.0.1 2604
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Hello, this is zebra (version 0.91a).
Copyright 1996-2001 Kunihiro Ishiguro.
User Access Verification
Password:
ospfd-b> ena
ospfd-b# sh run
Current configuration:
!
hostname ospfd-b
password zebra
log stdout
!
!
!
interface lo
!
interface eth0
ip ospf network point-to-point
!
interface eth1
ip ospf network point-to-point
!
router ospf
ospf router-id 10.1.1.1
redistribute kernel
redistribute connected
redistribute static
network 10.1.1.0/24 area 0
network 172.17.1.0/24 area 1
neighbor 10.1.1.254
neighbor 172.17.1.1
!
line vty
!
end
ospfd-b# sh ip ospf data
OSPF Router with ID (10.1.1.1)
Router Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Link count
10.1.1.1 10.1.1.1 275 0x80000009 0xae39 2
10.1.1.254 10.1.1.254 272 0x80000007 0xd3a9 4
192.168.1.1 192.168.1.1 278 0x80000004 0x4a29 2
Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Route
172.17.1.0 10.1.1.1 305 0x80000001 0xc3c3 172.17.1.0/24
172.17.1.0 192.168.1.1 529 0x80000001 0x1a0f 172.17.1.0/24
ASBR-Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum
10.1.1.1 192.168.1.1 288 0x80000001 0x05d4
192.168.1.1 10.1.1.1 368 0x80000001 0x8b4e
Router Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum Link count
10.1.1.1 10.1.1.1 296 0x80000003 0xff2a 2
192.168.1.1 192.168.1.1 297 0x80000004 0x11b7 2
Summary Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum Route
10.1.1.0 10.1.1.1 305 0x80000001 0xc673 10.1.1.0/24
10.1.1.0 192.168.1.1 267 0x80000001 0x8150 10.1.1.0/24
192.168.1.0 10.1.1.1 261 0x80000001 0x08c9 192.168.1.0/24
192.168.1.0 192.168.1.1 977 0x80000001 0xf983 192.168.1.0/24
ASBR-Summary Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum
10.1.1.1 10.1.1.1 261 0x80000001 0x77ac
10.1.1.254 10.1.1.1 261 0x80000001 0xc277
10.1.1.254 192.168.1.1 267 0x80000001 0x19c2
192.168.1.1 192.168.1.1 257 0x80000001 0xaabc
AS External Link States
Link ID ADV Router Age Seq# CkSum Route
192.168.0.0 10.1.1.254 1051 0x80000001 0x3c1d E2 192.168.0.0/28 [0x0]
ospfd-b# sh ip ospf route
============ OSPF network routing table ============
N 10.1.1.0/24 [10] area: 0.0.0.0
directly attached to eth0
N 172.17.1.0/24 [10] area: 0.0.0.1
directly attached to eth1
N 192.168.1.0/24 [20] area: 0.0.0.0
via 10.1.1.254, eth0
============ OSPF router routing table =============
R 10.1.1.1 IA [30] area: 0.0.0.0, ASBR
via 10.1.1.254, eth0
R 10.1.1.254 [10] area: 0.0.0.0, ASBR
via 10.1.1.254, eth0
R 192.168.1.1 [20] area: 0.0.0.0, ABR, ASBR
via 10.1.1.254, eth0
[10] area: 0.0.0.1, ABR, ASBR
via 172.17.1.1, eth1
============ OSPF external routing table ===========
N E2 192.168.0.0/28 [10/20] tag: 0
via 10.1.1.254, eth0
ospfd-b# sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL
10.1.1.254 1 Full/DROther 00:00:35 10.1.1.254 eth0 0 0 0
192.168.1.1 1 Full/DROther 00:00:38 172.17.1.1 eth1 0 0 0
ospfd-b# exit
RTR-B# ip route
192.168.0.0/28 via 10.1.1.254 dev eth0 proto zebra metric 10
192.168.1.0/24 via 10.1.1.254 dev eth0 proto zebra metric 20
10.1.1.0/24 dev eth0 proto kernel scope link src 10.1.1.1
172.17.1.0/24 dev eth1 proto kernel scope link src 172.17.1.254
-----------------------BEGIN of RTR-C --------------------------------------
RTR-C# ip route
192.168.0.0/28 via 192.168.1.254 dev eth0 proto zebra metric 10
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.1
10.1.1.0/24 via 192.168.1.254 dev eth0 proto zebra metric 20
172.17.1.0/24 dev eth1 proto kernel scope link src 172.17.1.1
Hello, this is zebra (version 0.91a).
Copyright 1996-2001 Kunihiro Ishiguro.
User Access Verification
Password:
ospfd-c>ena
ospfd-c# sh run
Current configuration:
!
hostname ospfd-c
password zebra
log stdout
!
!
!
interface lo
!
interface eth0
ip ospf network point-to-point
!
interface eth1
ip ospf network point-to-point
!
router ospf
ospf router-id 192.168.1.1
redistribute kernel
redistribute connected
redistribute static
network 172.17.1.0/24 area 1
network 192.168.1.0/24 area 0
neighbor 172.17.1.254
neighbor 192.168.1.254
!
line vty
!
end
ospfd-c# sh ip ospf data
OSPF Router with ID (192.168.1.1)
Router Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Link count
10.1.1.1 10.1.1.1 444 0x80000009 0xae39 2
10.1.1.254 10.1.1.254 440 0x80000007 0xd3a9 4
192.168.1.1 192.168.1.1 444 0x80000004 0x4a29 2
Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Route
172.17.1.0 10.1.1.1 557 0x80000001 0xc3c3 172.17.1.0/24
172.17.1.0 192.168.1.1 696 0x80000001 0x1a0f 172.17.1.0/24
ASBR-Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum
10.1.1.1 192.168.1.1 454 0x80000001 0x05d4
192.168.1.1 10.1.1.1 537 0x80000001 0x8b4e
Router Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum Link count
10.1.1.1 10.1.1.1 465 0x80000003 0xff2a 2
192.168.1.1 192.168.1.1 464 0x80000004 0x11b7 2
Summary Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum Route
10.1.1.0 10.1.1.1 556 0x80000001 0xc673 10.1.1.0/24
10.1.1.0 192.168.1.1 434 0x80000001 0x8150 10.1.1.0/24
192.168.1.0 10.1.1.1 430 0x80000001 0x08c9 192.168.1.0/24
192.168.1.0 192.168.1.1 1145 0x80000001 0xf983 192.168.1.0/24
ASBR-Summary Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum
10.1.1.1 10.1.1.1 430 0x80000001 0x77ac
10.1.1.254 10.1.1.1 430 0x80000001 0xc277
10.1.1.254 192.168.1.1 434 0x80000001 0x19c2
192.168.1.1 192.168.1.1 424 0x80000001 0xaabc
AS External Link States
Link ID ADV Router Age Seq# CkSum Route
192.168.0.0 10.1.1.254 1219 0x80000001 0x3c1d E2 192.168.0.0/28 [0x0]
ospfd-c# sh ip ospf route
============ OSPF network routing table ============
N 10.1.1.0/24 [20] area: 0.0.0.0
via 192.168.1.254, eth0
N 172.17.1.0/24 [10] area: 0.0.0.1
directly attached to eth1
N 192.168.1.0/24 [10] area: 0.0.0.0
directly attached to eth0
============ OSPF router routing table =============
R 10.1.1.1 [20] area: 0.0.0.0, ABR, ASBR
via 192.168.1.254, eth0
[10] area: 0.0.0.1, ABR, ASBR
via 172.17.1.254, eth1
R 10.1.1.254 [10] area: 0.0.0.0, ASBR
via 192.168.1.254, eth0
R 192.168.1.1 IA [30] area: 0.0.0.0, ASBR
via 192.168.1.254, eth0
============ OSPF external routing table ===========
N E2 192.168.0.0/28 [10/20] tag: 0
via 192.168.1.254, eth0
ospfd-c# sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL
10.1.1.254 1 Full/DROther 00:00:30 192.168.1.254 eth0 0 0 0
10.1.1.1 1 Full/DROther 00:00:35 172.17.1.254 eth1 0 0 0
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic