06-16-2022 02:54 AM
Hello, I have issues with my Router KL's PCs that cannot ping to my ISP Router's Internet Web Server as shown below:
However, Penang Router's PCs, all of them can ping to the Internet Web Server and browse as well.
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.
06-16-2022 03:15 AM - edited 06-16-2022 03:15 AM
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
06-16-2022 06:33 AM - edited 06-16-2022 06:48 AM
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.
06-16-2022 08:24 AM
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.
06-23-2022 03:41 PM - edited 06-23-2022 03:49 PM
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 **
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide