Routing issue

Answered Question
Sep 29th, 2008
User Badges:

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

Correct Answer by Jon Marshall about 8 years 7 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Mon, 09/29/2008 - 22:38
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

Actions

This Discussion