- Posts: 10
- Thank you received: 0
OSPF question.
14 years 8 months ago #33969
by sam4sg
OSPF question. was created by sam4sg
I have 4 routers.
R1 R2 R3 R4.
R1 is advertising its route via OSPF to R2 R3 and R4.
from R1
router ospf 1
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.2.0 0.0.0.255 area 0
network 204.204.5.0 0.0.0.255 area 21
!
router ospf 11
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.1.0 0.0.0.255 area 0
network 204.204.5.0 0.0.0.255 area 31
!
router ospf 20
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.3.0 0.0.0.255 area 0
network 204.204.5.0 0.0.0.255 area 41
From R2
router ospf 2
log-adjacency-changes
redistribute eigrp 1 subnets
network 62.239.1.0 0.0.0.255 area 0
!
router ospf 10
log-adjacency-changes
redistribute eigrp 1 subnets
network 62.239.2.0 0.0.0.255 area 0
!
router ospf 20
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.3.0 0.0.0.255 area 0
!
R3
router ospf 10
log-adjacency-changes
redistribute eigrp 1 subnets
network 62.239.2.0 0.0.0.255 area 0
!
router ospf 11
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.1.0 0.0.0.255 area 0
!
router ospf 3
log-adjacency-changes
redistribute eigrp 1 subnets
network 165.21.110.0 0.0.0.255 area 0
!
ip classless
R4
router ospf 1
log-adjacency-changes
redistribute eigrp 1 subnets
redistribute eigrp 2 subnets
redistribute eigrp 3 subnets
network 204.200.2.0 0.0.0.255 area 0
!
router ospf 2
log-adjacency-changes
redistribute eigrp 1 subnets
redistribute eigrp 2 subnets
redistribute eigrp 3 subnets
network 62.239.1.0 0.0.0.255 area 0
!
router ospf 3
log-adjacency-changes
redistribute eigrp 1 subnets
redistribute eigrp 2 subnets
redistribute eigrp 3 subnets
network 165.21.110.0 0.0.0.255 area 0
problem is that the network advertised by R1 network 204.204.5.0 0.0.0.255 area 21 is only appearing on Router 4. it does not appear on R2 or R3. However, the eigrp routes pushed via ospf from R1 reaches all other routers. Just its own 204.200.5.0 reaches 1 , but not others.
What could be the issue?
Thanks,
R1 R2 R3 R4.
R1 is advertising its route via OSPF to R2 R3 and R4.
from R1
router ospf 1
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.2.0 0.0.0.255 area 0
network 204.204.5.0 0.0.0.255 area 21
!
router ospf 11
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.1.0 0.0.0.255 area 0
network 204.204.5.0 0.0.0.255 area 31
!
router ospf 20
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.3.0 0.0.0.255 area 0
network 204.204.5.0 0.0.0.255 area 41
From R2
router ospf 2
log-adjacency-changes
redistribute eigrp 1 subnets
network 62.239.1.0 0.0.0.255 area 0
!
router ospf 10
log-adjacency-changes
redistribute eigrp 1 subnets
network 62.239.2.0 0.0.0.255 area 0
!
router ospf 20
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.3.0 0.0.0.255 area 0
!
R3
router ospf 10
log-adjacency-changes
redistribute eigrp 1 subnets
network 62.239.2.0 0.0.0.255 area 0
!
router ospf 11
log-adjacency-changes
redistribute eigrp 1 subnets
network 204.200.1.0 0.0.0.255 area 0
!
router ospf 3
log-adjacency-changes
redistribute eigrp 1 subnets
network 165.21.110.0 0.0.0.255 area 0
!
ip classless
R4
router ospf 1
log-adjacency-changes
redistribute eigrp 1 subnets
redistribute eigrp 2 subnets
redistribute eigrp 3 subnets
network 204.200.2.0 0.0.0.255 area 0
!
router ospf 2
log-adjacency-changes
redistribute eigrp 1 subnets
redistribute eigrp 2 subnets
redistribute eigrp 3 subnets
network 62.239.1.0 0.0.0.255 area 0
!
router ospf 3
log-adjacency-changes
redistribute eigrp 1 subnets
redistribute eigrp 2 subnets
redistribute eigrp 3 subnets
network 165.21.110.0 0.0.0.255 area 0
problem is that the network advertised by R1 network 204.204.5.0 0.0.0.255 area 21 is only appearing on Router 4. it does not appear on R2 or R3. However, the eigrp routes pushed via ospf from R1 reaches all other routers. Just its own 204.200.5.0 reaches 1 , but not others.
What could be the issue?
Thanks,
14 years 8 months ago #34011
by Chojin
CCNA / CCNP / CCNA - Security / CCIP / Prince2 / Checkpoint CCSA
Replied by Chojin on topic Re: OSPF question.
Forgive me for not putting any effort in your config (short in time atm ).
Can you post the full configs for the routers?
Just a couple of thoughts:
1)
If you are also running EIGRP besides OSPF your routing tables, your routing tables will display the EIGRP routes because of the lower AD. (ofcourse if your prefix is more accurate it would show even if it ospf)
2)
OSPF works with area-types. Within these area types not all LSA (Link state advertisements) are allowed. It could be you have configured your area's as stub.
p.s.
We will solve this problem
Can you post the full configs for the routers?
Just a couple of thoughts:
1)
If you are also running EIGRP besides OSPF your routing tables, your routing tables will display the EIGRP routes because of the lower AD. (ofcourse if your prefix is more accurate it would show even if it ospf)
2)
OSPF works with area-types. Within these area types not all LSA (Link state advertisements) are allowed. It could be you have configured your area's as stub.
p.s.
We will solve this problem
CCNA / CCNP / CCNA - Security / CCIP / Prince2 / Checkpoint CCSA
Time to create page: 0.113 seconds