Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Routing issue

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
Hall of Fame Super Blue

Re: Routing issue

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 REPLY
Hall of Fame Super Blue

Re: Routing issue

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

97
Views
0
Helpful
1
Replies