07-07-2024 08:19 PM
Hi. I'm having trouble on how to replicate my setup on an actual Cisco 2811 Router. I can't seem to ping the interface of a router if it is in a different subnet. I did the ping from a PC that is connected directly to one of the interfaces. Setting this up in packet tracer was very simple since all I had to do was assign IP addresses and make sure that interfaces are not down. There was also no need to assign routes because the router already assigns local and connected routes.
I tried to troubleshoot the the problem by checking on the active config but I can't seem to identify the issue. Its like there's an issue with the Routing Protocols because it feels as though it isn't routing properly. Any guidance is appreciated. Thanks!
I have also attached the "show version" of the real router below as well as the packet tracer simulation.
Here is the "show startup-config" from the real router:
Current configuration : 1695 bytes
!
! Last configuration change at 20:43:31 PH_Time Mon Jan 2 2006 by admin
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname XXXXX
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$CvZp$qVLI5x0az6zoaIeG7y2Ou1
enable password XXXXX
!
aaa new-model
!
!
!
!
!
!
!
aaa session-id common
!
clock timezone PH_Time 8 0
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2811 sn FTX0953C1SH
username admin password 0 XXXXX
username root password 0 XXXXX
!
redundancy
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 100.0.0.1 255.255.255.0
!
interface FastEthernet0/0
description Port_to_internet
ip address 10.11.1.254 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.10.10.254 255.255.255.0
duplex auto
speed auto
ntp broadcast
!
router rip
network 100.0.0.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.254.254
!
nls resp-timeout 1
cpd cr-id 1
!
!
!
!
!
!
!
!
control-plane
!
!
!
!
mgcp profile default
!
!
!
!
!
gatekeeper
shutdown
!
!
banner login ^C ##See note on Router for details## ^C
banner motd ^C AIRNAV woot woot! ^C
!
line con 0
logging synchronous
line aux 0
logging synchronous
line vty 0 4
logging synchronous
transport input all
!
scheduler allocate 20000 1000
ntp source FastEthernet0/0
ntp master
ntp server 216.239.35.4 prefer
end
07-07-2024 08:35 PM
Does your PC have a gateway IP defined as the router interface's IP (on the connected interface)?
07-07-2024 11:22 PM
Yes, I can ping the interface that it is connected to, but the ping fails when I try to ping the other interface, which is in a different subnet.
07-08-2024 04:32 AM
Okay, but does PC have its, same subnet, router interface defined as its gateway?
Or, try, from/on PC, traceroute to both router IPs.
07-08-2024 05:00 AM
Okay, but does PC have its, same subnet, router interface defined as its gateway?
Yes it does.
Or, try, from/on PC, traceroute to both router IPs.
Traceroute is normal for the interface of the same subnet. However, for the interface with the different subnet, Traceroute just shows a timeout response with asterisks.
07-08-2024 06:20 AM
"Traceroute is normal for the interface of the same subnet. However, for the interface with the different subnet, Traceroute just shows a timeout response with asterisks."
In the latter/second case, traceroute doesn't show gateway IP as 1st hop?
07-08-2024 03:16 PM
Two points here
1- add command
Ip routing
2- make sure each PC have correct GW'
This GW must router IP of router in same subnet of PC' I see ypu dont use DHCP so PC is get IP manually so make double check IP match between PC IP and GW IP
MHM
07-08-2024 06:19 PM
"add command
Ip routing"
BTW, on an ISR like a 2811, routing should be enabled by default, and don't recall if it can actually be disabled.
07-08-2024 10:49 PM
as other poster mentioned, there is no obvious reason why this was not working.
what i can suggest to try is, default the interface and configure again simple IP address on each interface, try ping locally is this works ? then try from PC
still issue post below output :
show ip interface brief
show ip arp
Not that i believe you are hitting any bugs - but trying different IOS code can also help here.
07-10-2024 10:37 AM
My first comment is that show startup might be interesting but does not necessarily reflect the operating environment. show running config would be more accurate to understand the operating environment. In addition to the output of show run it would be helpful to have the output of these commands from the router:
show ip interface brief
show ip route
show arp
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