cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
830
Views
0
Helpful
4
Replies

PC cannot ping to ISP (Internet Web Server) after OSPF Configuration

HeroVax
Level 1
Level 1

Hello, I have issues with my Router KL's PCs that cannot ping to my ISP Router's Internet Web Server as shown below:

 

 

1.png

However, Penang Router's PCs, all of them can ping to the Internet Web Server and browse as well. 

2.png

 

 

I already configured the OSPF for both KL and Penang Routers correctly, and IP Route from Penang Router to ISP Router. I'm not sure what is the main problem here. Thank you.

4 Replies 4

Hi

 Your devices does not permit configuration. But, the "destination host unrecheable" message means that router

Kuala Lumpur does not have route to 182.10.0.0 network.  If you are using OSPF, make sure all interfaces and networks are in area 0.

For static route you can do:

ip route 0.0.0.0 0.0.0.0 15.0.6.10  on router Kuala Lumpur

and

ip route 15.0.0.0 0.255.255.255  192.168.10.1 on router ISP

Hello @Flavio Miranda ,

 

I've tried your solutions to do the static route, and I do it as follows:
Router KL

KualaLumpur(config)#ip route 182.10.0.0 255.255.0.0 15.0.6.10

 

Results: Now, all PCs from KL Router can ping to my Internet Web Server, however I would like to use the OSPF configuration to do this task.

 

I've configured my KL Router's OSPF as follows:

router ospf 10
router-id 1.1.1.1
log-adjacency-changes
passive-interface GigabitEthernet0/0/0.10
passive-interface GigabitEthernet0/0/0.30
passive-interface GigabitEthernet0/0/0.40
passive-interface GigabitEthernet0/0/0.50
passive-interface GigabitEthernet0/0/0.60
passive-interface GigabitEthernet0/0/0.80
network 15.0.0.0 0.255.255.255 area 0
network 15.0.6.8 0.0.0.3 area 0

 

Penang Router's OSPF as follows:

router ospf 10

router-id 2.2.2.2

log-adjacency-changes

passive-interface GigabitEthernet0/0/0.40

passive-interface GigabitEthernet0/0/0.50

passive-interface GigabitEthernet0/0/0.60

passive-interface GigabitEthernet0/0/0.70

passive-interface GigabitEthernet0/0/0.99

network 192.168.10.0 0.0.0.255 area 0

network 15.0.6.8 0.0.0.3 area 0

network 15.0.0.0 0.255.255.255 area 0

default-information originate

 

How can I make use of OSPF configuration to ensure that KL Router's PCs can ping to my Internet Web Server (182.10.0.2)?

 

I would also like to point out that, KL Router and Penang Router, I have configured MD5 Authentication.

Then, Penang Router to ISP Router, I have configured PPP and CHAP Authentication.

 

I'm not sure maybe because of one of these configurations above, that led to my KL Router unable to ping the Internet Web Server.

If it's actually has no other way except doing the static routes, I would like to thank you for answering.

Thanks.

 

You always need to check you routing protocol:

show ip route

show ip route ospf

show ip ospf nei

 

Make sure you ospf is working properly. Probably not.

 

Solution to your file is ip route 0.0.0.0 0.0.0.0 Serial0/1/1 on Penang router .  

 default-information originate is not working on Penang router because it does not have default route.  This is normal in OSPF and it is how it works by default.

note that real OSPF IOS does come with always option in default-information originate but this always option is missing in PT.  Option always would mean send /propagate default route via OSPF even if you do not have one. 

this is why your file does not work until you add default route.

 

Regards, ML
**Please Rate All Helpful Responses **

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card