02-03-2025 05:29 AM
Hi,
I saw that there is a default route in the routing table that I cannot find in the running configuration. When I type show ip route
(as shown below), I see a default route with two next hops (192.168.1.1 and 10.10.10.1).
R1#show ip route
S* 0.0.0.0/0 [1/0] via 192.168.1.1
[1/0] via 10.10.10.1
--------------------------------------
R1#show running config | in ip route
ip route 0.0.0.0 0.0.0.0 192.168.1.1
I configured only a default route with the next hop of 192.168.1.1, but I did not configure any other routes. Also, I cannot find the 10.10.10.1 route in the running configuration.
02-03-2025 05:32 AM
are you use dhcp to assign IP to any of interface?
MHM
02-03-2025 05:34 AM
No, I am not using any dhcp
02-03-2025 05:37 AM
Can I see config of router
MHM
02-03-2025 05:42 AM
It is a production router, unfortunately I can not share the config
02-03-2025 05:44 AM
Don't worry
Show run | i dhcp
Show ip route 0.0.0.0 detail
Share above
MHM
02-03-2025 05:49 AM
R1# show ip route 0.0.0.0 0.0.0.0
Routing entry for 0.0.0.0/0, supernet
Known via "static", distance 1, metric 0, candidate default path
Routing Descriptor Blocks:
* 192.168.1.1
No protocol data available
Route metric is 0, traffic share count is 1
10.10.10.1
No protocol data available
Route metric is 0, traffic share count is 1
------------------------------------------
R1#show running-config | in dhcp
no ip dhcp use class
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