cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
257
Views
0
Helpful
1
Replies

Routing issue

itdsmartnet
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

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

Review Cisco Networking products for a $25 gift card