cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1152
Views
15
Helpful
7
Replies

cant ping between hosts

ferdao71493
Level 1
Level 1

I need help and it is urgent please. I configured it till dhcp but I only cant ping from pc a to other hosts??

file are attached

1 Accepted Solution

Accepted Solutions

Hello,

 

that is because you are not advertising all your local networks in OSPF on the Gateway router. Add the lines marked in bold:

 

router ospf 10
log-adjacency-changes
network 192.168.10.0 0.0.0.3 area 10
network 209.165.201.224 0.0.0.3 area 10
network 192.168.10.32 0.0.0.31 area 0

network 192.168.10.64 0.0.0.31 area 0

!

View solution in original post

7 Replies 7

Hello

Apologies but it seems like you are asking these forums to complete your school assignments, I have supplied you one lot of completed work and I believe others have also
I don’t think it is wise you seeking this assistance as then you won’t learn the subjects for yourself.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

No sir, you are wrong. I am asking these questions while I am studying for my exam. 

Thank you anyway.

Hello,

 

this seems to be a different lab than the one before ? Either way, check if the ACL in part 3 does what it is supposed to do...

 

Revised file attached...

Thank you sir, actually I found out that I was pinging a wrong address, I could ping in between the hosts.

But another problem I am facing is after configuring the OSPF, in PArt 1.

I can not ping the loopback from hosts. Could you please help?

Hello,

 

that is because you are not advertising all your local networks in OSPF on the Gateway router. Add the lines marked in bold:

 

router ospf 10
log-adjacency-changes
network 192.168.10.0 0.0.0.3 area 10
network 209.165.201.224 0.0.0.3 area 10
network 192.168.10.32 0.0.0.31 area 0

network 192.168.10.64 0.0.0.31 area 0

!

Attached the revised file...

As an aside, although there's nothing wrong with what Georg is suggesting, I just wanted to mention, OSPF network statements don't advertise the network prefix in the network statement, its IP and mask are used, like an ACL's, to match interfaces whose IP matches it. For those matched interfaces, the interface's network is advertised.

See:
https://community.cisco.com/t5/routing/ospf-network-statement-match-only-on-the-ip-address-or-will-it/td-p/3995633
https://blog.ipspace.net/2007/07/be-smart-when-using-ospf-network.html

This distinction can be important, because, for example, you can insure only one interface is matched, by using the interface's IP like a host IP in an ACL's ACE, or conversely, you can match every interface IP on the router using just a single OSPF network statement (both shown in 2nd reference). Also like an ACL, you can overlap IP address blocks allowing nested IP address ranges to be assigned to different areas (not shown in above references - example follows).

network x.x.x.x 0.0.0.0 area X !match just one interface IP (/32)
network y.0.0.0 0.255.255.255 area Y !match interface IPs all in the same /8
network 0.0.0.0 255.255.255.255 area Z !match all interface IPs
Review Cisco Networking for a $25 gift card