09-29-2008 10:33 PM - edited 03-03-2019 11:44 PM
hi, i have 3845 router with two gigabit interface and one serial interface. when i issue sh running command the output for those interfaces is as follows.
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
ip address 202.142.153.140 255.255.255.248
!
interface GigabitEthernet0/1
ip address 202.142.153.116 255.255.255.248
!
interface Serial0/0/0
ip address 15.15.15.1 255.255.255.0
clock rate 2000000
when i issue show ip route the output is as follows.
C 202.142.153.136 is directly connected, GigabitEthernet0/0
C 202.142.153.112 is directly connected, GigabitEthernet0/1
C 15.15.15.0 is directly connected, Serial0/0/0
S* 0.0.0.0/0 [1/0] via 202.142.153.137
The problem is that why the sh ip route shows different ip address. i.e 202.142.153.112 and 202.142.153.136 where as directly connected interfaces are connected interfaces are configured with 202.142.153.116 and 202.142.153.140.
Thanks
Solved! Go to Solution.
09-29-2008 10:38 PM
It's showing you the subnet rather than the actual IP address assigned to the interface ie.
202.142.153.136 255.255.255.248 = 202.142.153.136 - 202.142.153.147
202.142.153.112 255.255.255.248 =
202.142.153.112 - 202.142.153.117
sh ip route will report the subnet rather than the individual hosts, unless of course the interface has been configured with a /32 subnet mask.
Jon
09-29-2008 10:38 PM
It's showing you the subnet rather than the actual IP address assigned to the interface ie.
202.142.153.136 255.255.255.248 = 202.142.153.136 - 202.142.153.147
202.142.153.112 255.255.255.248 =
202.142.153.112 - 202.142.153.117
sh ip route will report the subnet rather than the individual hosts, unless of course the interface has been configured with a /32 subnet mask.
Jon
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