01-06-2016 03:44 AM - edited 03-08-2019 03:18 AM
I'm having a problem. I'm currently on my first year of an IT education and was messing around with packet tracer.
I ran into the problem of being unable to ping across a router.
I have several subnets, one on each side of the router, so I'd like to know what i'm doing wrong, since this is really bugging me.
Using the router, I can ping both sides, however, i can't ping from one side of the router to the other.
I've included the PT file below.
I apologize for my english and any mistakes made, this is my first post.
Edit:
I'ev included a screenshot of the scenario. Each bubble represents its own subnet.
While on Router0, I can ping both PC3 and PC1, but they cannot ping each other.
01-06-2016 04:34 AM
Hey you may want to just post the configs basic screenshot of topology we can take a look a lot of people here may not use packet tracer that will be able to help answer this for you
01-06-2016 05:00 AM
Thanks, will do.
01-06-2016 05:07 AM
Router0's config:
Current configuration : 630 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 195.54.32.114 255.255.255.248
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 195.54.32.62 255.255.255.192
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
!
ip default-gateway 195.54.32.113
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
01-06-2016 05:34 AM
ok so no need for a default-gateway as its a router , layer 2 devices like switches use default gateways while routers use either IGP routing (RIP/EIGRP/OSPF etc) or a default route as an example, a device connected directly to the internet through modem i.e ip route 0.0.0.0 0.0.0.0 x.x.x.x this says all traffic that's is not specifically known by some interface route it outbound towards the default address setup
where exactly can you not ping between what's the source and destination ip ,is it the 2 interfaces provided above or is it to another router
You should be able to ping between interfaces on the same layer 3 device as they will show in your routing table as connected interfaces
01-06-2016 05:51 AM
I can ping between the intefaces while in the CLI, but i cannot send traffic from, for example, PC1 (IP: 195.54.32.40 SM: 255.255.255.192) to PC3 (IP: 195.54.32.118 SM: 255.255.255.248)
So in short, I can ping from one interface to another, but not between clients on either end.
01-06-2016 06:13 AM
You will need an IGP to be able to route between subnets , the interfaces can speak to each other as there directly connected but it wont allow host - host communication without an IGP like rip or eigrp to form the route table
router eigrp 1
network 195.54.32.0 0.0.0.63
network 195.54.32.112 0.0.0.7
01-06-2016 07:33 AM
Alright, I didn't know that, thanks.
However, I have done as you said, but still nothing.
I'll try to reconstruct it from scratch, perhaps I've messed something up along the way.
01-06-2016 07:56 AM
Looking at your topology are you trying to connect from pc1 to pc3 through the switches , if so can you ping your interface gateway ip address from each of the pcs , this should be the default gateway set on the pc locally, is there anything configured on those switches
can you post your
show ip route
show ip arp
show mac address-table
01-06-2016 11:43 PM
The switches are not configured.
PC1 can ping both interfaces on Router0, BUT!
PC3 can only ping interface 0/0 (195.54.32.114)
__________________________________________________
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
195.54.32.0/24 is variably subnetted, 2 subnets, 2 masks
C 195.54.32.0/26 is directly connected, FastEthernet0/1
C 195.54.32.112/29 is directly connected, FastEthernet0/0
_____________________________________________________
Router#show ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 195.54.32.40 8 0030.F224.4C24 ARPA FastEthernet0/1
Internet 195.54.32.62 - 000B.BE81.2202 ARPA FastEthernet0/1
Internet 195.54.32.114 - 000B.BE81.2201 ARPA FastEthernet0/0
Internet 195.54.32.115 3 0060.5CA0.7B01 ARPA FastEthernet0/0
Internet 195.54.32.118 7 00D0.9711.47C0 ARPA FastEthernet0/0
__________________________________________________
Router#show mac-address-table
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
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